Accessing the max data counts in Custom Indicator
3件の返信
こんにちは、,
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.
よろしくお願いいたします。,
0
You can contract our developers directly for help. Send a request to this email [email protected]
0
クローネックス / イヴァン・フーデツ
1年前 #288094
int calculatedBars = Chart.getCurrentBar();
0
クローネックス / イヴァン・フーデツ
1年前 #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
0
3件の返信を表示中 - 1 - 3件目 (全3件中)