DRAW_FILLING type indicator buffers mixed up?
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.
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.