I was trying to create an indicator which takes input from the file and display output on MT5. I have following sort of array:
I got success in display single row. But sometimes the other program gives two rows as mentioned above, But I did not find anything, which could draw the lines for the dynamic changes in the input file. As you see above I have to set the property for displaying 2 buffers as I am separately drawing lines for the both columns. But once I set the property to 1 buffer I could automate the plotting.
#property indicator_buffers 8
#property indicator_plots 1
Now I can pot only 1 buffer what if I want to display different buffers automatically without making much changes to my code. Is there any way out for this please let me know.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.