Is Above vs Cross Above
-
Hello all, I'm having a little bit of trouble;
I'd like to create a pending position once candle id 0 has crossed these lines and moved back into them (some might call these a false breakout)

using x> doesn't seem to do the trick and > gets half of the trades.How would I make this logic out in fxdreema? Would I have to try a conditions such as (condtion (x>) - condition (x<)?
Thank you in advance for the help
-
You need to set some rules, something like x< set a flag true - if flag is true and price has moved enough pips set another flag true - if both flags are true and price has moved back (something like x>) - complete the action
-
@jstap something like this? I gave it a go but it didnt seem to work
-
I was thinking more like this: https://fxdreema.com/shared/ZBunaa4Mc
-
Hmm. Thank you for this It's very helpful. I'm not exactly getting my desired result. How would I modify this variable to have an arrow set on the candle Id that closes has broken that high/low?
-
Something like this maybe?
https://fxdreema.com/shared/Sd1Iv4shc

-
I'm sorry that's not what I'm going for. I'll keep at it and maybe try and define my logic a bit better !
-
@jstap can we use boolean from condition&formula istead of flags? What's the diffrence between flags and condition&formula will one of them it function more properly?
-
There is no difference, except you can view bool in a comment.
-
@jstap can view bool in comments?
-
Yes, in a commend block select value and bool
-
@jstap, I am a beginner but I have been able to build a simple moving average cross over EA. please how do I copy the link from fxdreema so that I can share it for your review?
-
@capebo
the 4th one from the projets -
project screen - projects - create a shared link - open in web page - copy address bar and paste here
-
@CAVINCENT thank you for your assistance.
@jstap and others please check for me. https://fxdreema.com/shared/5KxyKs8ie
It gives good results in all the backtesting I have done so far. I am yet to try it on a demo account. -
There appears to be nothing wrong with that, now test and see if it's doing as you want.
-
@jstap thank you.
may I know if the EA will continue to work even if I close the laptop or the laptop has to be on all the time? -
No, you will need a VPS to do that
-
oh okay. thank you very much for your help.
-
@jstap can you plz check my stratergy too after putting the condition&formula as ANTI TRENDING still not working can you points out any wrong there? https://fxdreema.com/shared/hmHiwnjfc