I created an EA for the daily timeframe. It’s based on an indicator’s crossover.
I would like it to go long or short if the crossover has during the prior candle.
Will it work with the daily timeframe, considering there is a short break between each trading day?
Would it open a trade on the open of a new daily candle? I don’t want it to place trades when the spread is high.
Anyone have any ideas?
Looking forward to your replies.
- This topic was modified 10 months, 2 weeks ago by ggiang.
you can check spread using the Spread in pips function. Check the screenshot attached
It is not possible to simply delay the order. You would have to add 1 additional code line into the final strategy code to postpone order sending for 60 secs
Find the line in the final EA code that says: // Rule: Long entry
Place the Sleep function between // Action #1 and _ticket lines
Attachments:You must be logged in to view attached files.
You must be logged in to reply to this topic.