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
Giorgio.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
iSpread:
The indicator shows the spread for each bar, the current spread and the minimum spread for a period.
Author: Sergey Chalyshev