Candle close AFL

iTrade

Well-Known Member
#1
Hi - I need some help with a AFL.
I want to close an open position as soon as the current candle closes? How do I know that the current candle has closed using AFL?
I am not sure how do I do this in AFL.
Appreciate some help on this.