Execute 1 second before candle close.
-
I'm using ATR values on current candle to set TP, SL and ATR so I need to do it just before candle close to get good ATR values.
Candle 1 ATR values throws calculations out.
Is there some way to do the calculations just before candle 0 close?Update - Perhaps [DELAY] block ?
-
@johann-0 . you need an indicator on when the candle will close ... then write a variable to save the time .. then use the timer indicator variable as condition for when to insert your order
Here is an indicator for candle time close
0_1619540805851_candle-closing-time-remaining-cctr-v3.mq5 -
Downloaded a few but gives no buffer readings.
PS. Using MT4 -
@johann-0
I did not checked it because I do not have mt4 ... You can also use miro1360 tutorial 07 I think.. find objects on chart just to get the time..
0_1619547590407_candle-closing-time-remaining-cctr-v3.ex4 -
Thank you @AlphaOmega
Will try tomorrow. Have been playing with blocks the whole day and am pretty tired now.
Built the Boss trading system with NNFX TP,SL,TS and ATR Limits.
The ATR bit i'm working on with this candle close info.