next candle
Created at 25 Sep 2020, 11:03
LU
next candle
25 Sep 2020, 11:03
i have my program running on ontick (). but i want the program to open the position when a new candle forms. how can I do?
thank you
PanagiotisCharalampous
25 Sep 2020, 11:07
Hi Luca,
You can use the OnBar() method. Else you can check if the Bars.OpenTimes.LastValue has changed.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous