How to execute: Enter when Indicator closes above (Yesterday's High + 100p)
-
Enter when the candle closes and the Indicator (eg 5MA) is above Yesterday's (DayHigh + 100p) - please show how this is done
-
@ksingh please upload a picture
-
Yes, more detailed info would be appreciated.
-
Thank you for replying. I have just started building an EA to test this Software. The concept is simple, just like a line crossover.
In this case, its only when the 5MA crosses and 'locks' will it be a valid entry. If you put the 5MA on your chart and look at your DataWindow icon on MT4 (Ctrl D) it will show where the MA is on each candle. Meaning of 'lock':- when the candle closes, the MA will either lock above or below the trigger price. In this case the 'trigger price' will be (Yest H + 100p).Example, if Yesterday's high is 1684.00, add 100pips = 1685.00
So, trigger is 1685.00
Wait for candle to close, then check 5MA - is it above 1685?
If YES, enter a BuyThis should be easily programmed, I think. I am not sure how to do it. Thank you and let me know if you need further information.
-
@ksingh Try this and let me know

-
@ambrogio Thank you for your thoughts.Please have a look here and see how to change your program. i am trading a 1Hr candles.

!
-
@ambrogio completes the picture if that makes sense:

-
@ksingh Like this?

-
@ambrogio Thank you, that seems to work on a rudimentary level. I will have to build on that. Cheers