fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. renatojjs
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by renatojjs

    • RE: Candles don't touch ema after cross

      @l-andorrà thank you for the help, that is what I have right now (7 consecutive blocks with the rules that you mentioned) but as it is it doesn't start to count the 7 candles after cross of the emas 50 and 200, it starts the counting right when the first candle don't touch the 50 ema (like in the example image)

      Can you help please?

      Thank you for all the support

      posted in Questions & Answers
      R
      renatojjs
    • Candles don't touch ema after cross

      Hello,

      Right now my EA got a variable saying that the 50ema needs to be above the 200ema. Also got a variable saying that for 7 candles in a row, they cannot touch the 50 ema. Only then look for another condition.

      What i need is the EA to start to count this "7candle without touch the ema50" rule only after the 50ema is above the 200 ema.

      Right now as it is, if the ema50 is below the ema200 and "7candle without touch the ema50" rule is already met, the EA will enter a trade right away as soon as the ema50 crosses above the ema200 and I need it to wait this 7 candles after the ema50 is above the 200

      I attach an image bellow for better understanding
      Thank you in advance for any help
      0_1616001093480_Captura de ecrã 2021-03-17, às 16.48.02.png

      0_1616000926284_Captura de ecrã 2021-03-17, às 17.02.59.png

      posted in Questions & Answers
      R
      renatojjs
    • RE: Minimum SL pips

      @l-andorrà thank you!

      Now I'm with another problem. I got two blocks for the "For Each Trade": One that changes the SL to a minimum of 9pips and another one telling that when the price reaches 1R it move the SL to breakeven plus 1.5pips

      The problem now is when I run it of mt4 its it's making a loop between this 2 conditions: When price reaches 1R it move the SL to breakeven but then the other block spots that and make the SL 9pips again.

      Is there a way to change the SL to 9pip one time only to not be in this loop?

      Thank you for all the help
      0_1615378181979_Captura de ecrã 2021-03-10, às 12.04.14.png

      0_1615378330881_Captura de ecrã 2021-03-10, às 12.11.02.png

      posted in Questions & Answers
      R
      renatojjs
    • RE: Minimum SL pips

      @l-andorrà thank you!

      Do you know if there's a way to open the trade right away with 10pip SL rather than open the trade and only then change the SL value?

      posted in Questions & Answers
      R
      renatojjs
    • "Array out of range" with Tickstory data

      Hello,

      I keep getting this error "array out of range" when I try to backtest strategies with Tickstory data. If I backtest it normally on the broker server everything is fine.
      I found that this is related to the "once per bar" block.

      Do you know a way to fix this?

      Thank you very much for any help
      0_1615130310913_Captura de ecrã 2021-03-07, às 15.16.45.png
      0_1615130316552_Captura de ecrã 2021-03-07, às 15.18.13.png

      posted in Questions & Answers
      R
      renatojjs
    • Minimum SL pips

      Hello,

      Is it possible to make the Stop Loss to be at least 10 pips?

      My EA is tunned in a way that to find the stop loss it must scan the last 6 candles and then add +3pips to the lowest/highest price (image below). But in some cases the SL gets very tight (only 3, 4 or 5 pips). What I need is to tell the EA that, when the SL is lower than 10pips, it must adjust to be 10pips minimum.

      Thank you for any help

      0_1614936366297_Captura de ecrã 2021-03-05, às 09.21.49.png

      posted in Questions & Answers
      R
      renatojjs
    • RE: after a condition is true, wait for another condition and only then enter a position

      @l-andorrà I will try to dig a little more and do it 🙂

      Thank you for your time and patience

      posted in Questions & Answers
      R
      renatojjs
    • RE: after a condition is true, wait for another condition and only then enter a position

      @l-andorrà ok, but I don't understand the logic of the stochastic above the 80. We are in a buy scenario and I only stop looking for an entry when the K&D lines of the stochastic cross to the downside, like the last image that i uploaded 🙂

      Maybe i'm not explaining myself correctly but right now i'm completely lost and confused with all of this variables and conditions. I feel that i do one step forward and two steps back

      Sorry for bothering you brother and thank you once again for the patience

      posted in Questions & Answers
      R
      renatojjs
    • RE: after a condition is true, wait for another condition and only then enter a position

      @l-andorrà thank you, but this way when I test it on mt4, it is taking trades in all the crosses up of the stochastic0_1614615194554_Captura de ecrã 2021-03-01, às 16.01.54 2.png

      And what I want is this:
      0_1614615371163_Captura de ecrã 2021-03-01, às 16.01.54.png

      posted in Questions & Answers
      R
      renatojjs
    • RE: after a condition is true, wait for another condition and only then enter a position

      @l-andorrà I'm so confused right now.. I should include a variable 2 inside block 8? I didn't understood what variable 'crossing up' you refer for me to add.
      Is there any possibility for you to explain in a graphical way?

      Sorry for bother you with all this questions, I'm really trying to make this work but it seems a lot easier than it actually is

      Thank you for the help!!

      posted in Questions & Answers
      R
      renatojjs
    • RE: after a condition is true, wait for another condition and only then enter a position

      @l-andorrà thank you! I feel I'm getting more close to what I need.

      The problem now is that I don't have any idea where to put the variable to be reinitialized. I've been in trial & error for hours and cant get it right. Can you tell where to put it please?

      Also if I want to add more rules for the strategy, for example if:

      • after the stochastic is below the 20 line
      • stoch lines K&D crossed up - (at this point these lines can go above the 20 line and this is no longer valid only when the KD lines crossed down again, no matter where)

      Until here everything is fine, it's the main question of the topic and I'm only in doubt how to reset the variable

      • then I want to add, let's say for example, that the Macd have to go below the zero and;
      • Macd Fast&Slow lines cross to the upside (like the stochastic. The macd went above the zero and crossed the FS lines up but after this he can break the zero line to the upside again and continue the search for the next condition. Macd only become invalid only when Fast&Slow lines cross down again)
      • And only then add another rule, like a candle close above the ema10

      Also to add many variables, I simply put them on the left tree behind the current one? Like:

      • Stochastic<20
      • Modify variables
      • New condition here
      • Modify variable here ?
      • etc etc

      Thank you very much for the help 🙏🙏

      posted in Questions & Answers
      R
      renatojjs
    • RE: after a condition is true, wait for another condition and only then enter a position

      @l-andorrà something like this? https://fxdreema.com/shared/REQErtGAc

      As it is right now when I run it on mt4 it buys only when the crossover of the KD lines occurs at the same time the candle close above the ema10, and its not taking in consideration the cross up of the KD lines only below the 20 of the stochastic.

      Also I think I need more than one variable,
      I need to say that the stocahstic must be below the 20 and another one to say that the KD lines already crossed up but we have to wait for a candle close above the ema10 and only then enter. And how do I say that after the cross of the KD lines happens, these line can now go above the 20 line and I only stop looking for a trade when these lines cross down again?

      0_1614345466099_Captura de ecrã 2021-02-26, às 13.11.28.png

      Maybe this is really just a simple thing and Im overcomplicating it but I'm really lost in this one
      Can you please explain in a graphical way for better understanding?
      Thank you for the help

      posted in Questions & Answers
      R
      renatojjs
    • RE: Macd cross line below 0

      @l-andorrà sorry I'm mixing topics, my mistake!
      So if you can help me on the other one wich I think it's a little more complex I'd appreciate it 🙏 I'll send the link bellow with all the explanations of my doubts:

      https://fxdreema.com/forum/topic/11945/after-a-condition-is-true-wait-for-another-condition-and-only-then-enter-a-position

      Thank you once again for the support!!

      posted in Questions & Answers
      R
      renatojjs
    • RE: Macd cross line below 0

      @l-andorrà thank you for the help!
      After searching in the forum I found one topic with an answer of yours that talked about using the boolean variables and i've been trying to implement it but it seem's I cannot make it work 😞

      I'm also trying to make an EA of another strategy using stochastic but the main concept is the same as this one (KD lines of the stoch crossed up and are above the 20 line and after this I need to fulfill other conditions before enter a trade, so i think I need more than 1 variable) and I can't figure out how to do this.
      I made another topic for this strategy with a clear explanation of what I would like to do (https://fxdreema.com/forum/topic/11945/after-a-condition-is-true-wait-for-another-condition-and-only-then-enter-a-position)

      If you can explain how to proper use these boolean variables and how to make them work I would be very grateful

      Once again thank you very much for all the help

      posted in Questions & Answers
      R
      renatojjs
    • after a condition is true, wait for another condition and only then enter a position

      Hello,
      I'm with a problem that already tried to research but didn't find any actual solution.
      So I want to say to fxdreema that, for a buy:
      -If a cross up on the stochastic KD lines occurs bellow the 20 line, then;
      -Look for a candle close above the EMA 10 and only enter the trade at this point.

      Right now when I test this on mt4 what is happening is that the EA will only enter a trade when the two rules mentioned above occurs at the exact same time.
      What I need is:

      • The stochastic lines KD are below the 20 line (oversold) ->CHECK
      • KD lines of the stochastic crossed up ->CHECK
      • OK let's wait and see if we got a candle close above the ema10;
      • At this point, the stochastic KD can go above the 20 line and I only stop looking for a buy wen the KD crosses down again (image bellow)
      • We got a candle close above the ema10 ->CHECK
      • Perfect let's enter the trade

      I think I need to use Boolean variables but i'm not sure how to do it properly

      This is what's happening:
      0_1614339665566_Captura de ecrã 2021-02-26, às 11.11.55.png

      This is what I want to do:
      0_1614339718791_Captura de ecrã 2021-02-26, às 11.13.55.png

      I'll link what I have:
      https://fxdreema.com/shared/gKfWpy1Rc

      If somebody can help me solve this please it would be very very appreciated as I've done hours of research and cant solve it
      Thank you very much!!

      posted in Questions & Answers
      R
      renatojjs
    • RE: Macd cross line below 0

      @l-andorrà thank you for the fast response!

      Maybe I'm not explaining in the best way, I'll send an image bellow for better understanding.
      0_1614189817328_Captura de ecrã 2021-02-24, às 18.01.43.png

      Thank you very much for the help

      posted in Questions & Answers
      R
      renatojjs
    • Macd cross line below 0

      Hello,
      I'm coding a strategy that consists in buy when the MACD lines are below the 0 and they cross up (main&signal). After the cross they can go above the 0 but what matters is that, at the time of crossing up, they are below the 0.

      Right now on my fxdreema, as soon as the lines of the macd go above the 0 line, the EA stops looking for the trade and that's not what I want.
      The EA should stop looking for the trade only when the macd lines crosses down again. Doesnt matter if it is above the 0 line or not.

      How can I put this in my fxdreema in order to the EA still look for a trade even if the macd is now above the 0 line?

      I'll attach an image for better understanding
      Any help would be much appreciated!!
      Thank you very much!!
      0_1614110405421_Captura de ecrã 2021-02-23, às 19.58.10.png

      posted in Questions & Answers
      R
      renatojjs
    • 1 / 1