Indicators: iSpread

 

iSpread:

The indicator shows the spread for each bar, the current spread and the minimum spread for a period.

Author: Sergey Chalyshev

 

The #property indicator_chart_window directive should be removed.

Besides, there is a warning in the description:

Due to the peculiarities of storing historical data, the maximum spread per bar (candle) time is shown.

In fact, the minimum spread per bar is stored and displayed.

 

If you want the indicator to work as expected, within a subwindow, you need to comment out this line:

//#property indicator_chart_window <-------------------------------- THIS ONE

and keep only this one:

//---- indicator settings
#property indicator_separate_window


Anyway, thank you for the indicator!
Giorgio.