Dear Coders
May I ask a question about indicators in general.
Is there a generic piece of code that tells any indicator how many "bars worth" of information to SHOW on the chart, regardless of how far back it calculates.
For example, an indicator that calculates its information on, let's say over the last 60 bars of data, but only shows on screen the last 2.
Your hints on this would be very much appreciated.
Many thanks and kind regards
Robert
May I ask a question about indicators in general.
Is there a generic piece of code that tells any indicator how many "bars worth" of information to SHOW on the chart, regardless of how far back it calculates.
For example, an indicator that calculates its information on, let's say over the last 60 bars of data, but only shows on screen the last 2.
Your hints on this would be very much appreciated.
Many thanks and kind regards
Robert