Accessing the max data counts in Custom Indicator
3 respuestas
Fred
hace 2 meses #287938
Hola,
I need to have the price’s data max length in OnBarUpdate() function of Custom Indicator. I cannot use Input.size() or Chart.Size() (Chart is an intance of ChartData) because they are the data up to the current candle. For example if we are in the 10th candle (CurrentBar = 10), these values are equal to 10. But, I need the length of the whole candle numbers.
Lo mejor,
tomas262
hace 1 mes #288093
You can contract our developers directly for help. Send a request to this email [email protected]
clonex / Ivan Hudec
hace 1 mes #288094
int calculatedBars = Chart.getCurrentBar();
clonex / Ivan Hudec
hace 1 mes #288096
Also check also:
https://strategyquant.com/sqxapi/com/strategyquant/datalib/DataSeries.html
methods: size, specialSize
https://strategyquant.com/sqxapi/com/strategyquant/tradinglib/ChartData.html
or possibly look here https://strategyquant.com/sqxapi/com/strategyquant/datalib/InstrumentInfo.html
Viendo 3 respuestas - de la 1 a la 3 (de un total de 3)