READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Accessing the max data counts in Custom Indicator

3 replies

Fred

Subscriber, bbp_participant, 3 replies.

Visit profile

2 years 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

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year 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, 268 replies.

Visit profile

1 year ago #288094

int calculatedBars = Chart.getCurrentBar();

0

clonex / Ivan Hudec

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

Visit profile

1 year ago #288096

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