whitebloodcell:
Updated the post after fixing the code that sets the values, the only issue should be something to do with the buffer assignments now.
I am trying to get my indicator, to, among other things, display the next likely support and resistance levels as a coloured band. The buffers placed above the DRAW_FILL declarations behave as expected, and the support levels display, but not the resistance levels. The values are correctly set in the buffers as seen in the data window. Can anyone see what is wrong? Extracts from the top of the code and OnInit() are below.
Anyone?

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
I am trying to get my indicator, to, among other things, display the next likely support and resistance levels as a coloured band. The buffers placed above the DRAW_FILL declarations behave as expected, and the support levels display, but not the resistance levels. The values are correctly set in the buffers as seen in the data window. Can anyone see what is wrong? Extracts from the top of the code and OnInit() are below.