I want to add a marker function to the Bollinger Bands indicator to compare the difference between the upper and lower channels with ATR20:
Draw a green vertical line when the difference value is <= 3;
Draw a red vertical line when the difference is >= 10.
As shown below:
The source code for the Bollinger Bands indicator is attached:
Draw a green vertical line when the difference value is <= 3;
Draw a red vertical line when the difference is >= 10.
As shown below:
The source code for the Bollinger Bands indicator is attached:
Attached File(s)