Reply

Accessing the max data counts in Custom Indicator

3 replies

Fred

Subscriber, bbp_participant, 3 replies.

Visit profile

1 month ago #287938

Hi,

 

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.

 

Best,

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 weeks ago #288093

You can contract our developers directly for help. Send a request to this email [email protected]

0

clonex / Ivan Hudec

Customer, bbp_participant, community, sq-ultimate, contributor, author, editor, 274 replies.

Visit profile

2 weeks ago #288094

int calculatedBars = Chart.getCurrentBar();

0

clonex / Ivan Hudec

Customer, bbp_participant, community, sq-ultimate, contributor, author, editor, 274 replies.

Visit profile

2 weeks ago #288096

Viewing 3 replies - 1 through 3 (of 3 total)