How to Reset Buffers

 

In a custom indicator, I am creating I am analyzing an indicator array multiple times for certain criteria using different settings.

For each test of the different settings, I need to reset the buffers and the indicatorcounted() function back to zero.

How do I reset the buffers and the indicatorcounted() function back to 0?

ThankYou

ThemBonez

 
ThemBonez:
In a custom indicator, I am creating I am analyzing an indicator array multiple times for certain criteria using different settings.

For each test of the different settings, I need to reset the buffers and the indicatorcounted() function back to zero.

How do I reset the buffers and the indicatorcounted() function back to 0?

ThankYou

ThemBonez

ThemBonez

You can reset the buffers using ArrayIntitialize()

But you can not reset the IndicatorCounted()