如何获得蜡烛ID号码?
-
How to get the candle ID number? When this number is a variable, for example, I ordered an order at 8:30 yesterday, I need to know the candle ID of the order. There may be 10 candles from the time the order is placed to the present, and there may be 15 candles or 20 candles. The candle ID may be 10 or 15 or 20. Please help me, thank you very much.
Start hour is equal to order transaction time
End hour equals current time
What should I do?


-
Candle ID is not fix. It is changed as more bars are created. You need a counter in order to identify the initial and final ones
-
I understand, thank you very much