Greetings fellow traders and / or programmers. There is a technical issue. Is there a technical possibility to do the following when creating an Expert Advisor? When a buy/sell signal occurs, the adviser makes a deal (buy/sell) and closes the position with the closing of the candle following the candle on which the signal appeared. I.e., suppose a working TF M15, the buy/sell signal appeared (and accordingly the adviser entered the position), say, 4.35 minutes before the closing of the 15-minute candle. The EA closes this position in 19.35 minutes (i.e. 4.35 minutes is the time until the candle closes on which the signal originated + 15 minutes is the time until the next candle closes). And let’s say if the working TF H1 and the signal appeared 39 minutes before the candle closes, then the adviser closes this position in 39 + 60 = 99 minutes.
Share
vdev
Where is the question? So far only a set of thoughts
sergei75
Everything is possible.