Put stop orders after immediately closed candle's high/low
-
Hello,
I have a simple flow but I couldn't find a way to establish it. I cannot see the 'condition' part in this. please clarify this for me.Steps;
- Find a specific candle using time (ex: 0200h candle)
- After closing this candle immediately put 2 pending stop orders in 1 pip distance to the high and low of that closed candle.
- Close one, after another executed.
-
https://fxdreema.com/shared/7AnscAEkd
section on Trade and on Tick are used

timeframes are set to H1, you can change it to "current" or what you will ... but be careful because if you select time 02:00 and use H4 or D1 candle, trades are not opened (because of logic) ... just do changes for your purposes ...
-
Thank you bro for the effort. that's do the job nicely

-
@miro1360
I have another question. If I want to cancel the pending orders if not executed after 5 mins from order placed time how to do it.
Please refer the attachment it shows what I did, but it doesn't work. Please rectify me.

I also tried Days and Hours keeping empty , but the result is same.
-
I think expiration time can not be less than 11 minutes ... so if you give time less than 11 minutes, your order will be created with expiration time 11 minutes
this is working for me:

-
but for less than 11 minutes you can cancel it using counter
...
counter I have refered few times in my previous posts, just try to search for some -
this is counter
https://fxdreema.com/shared/QbbfT918b -
Thanks bro