In order to have an indicator which changes colour depending on its position requires that you have a separate buffer for each colour you want. I'd like to see a feature added which makes it possible to change the colour of a single buffer depending on whether it's either above or below the price.
example:
#property indicator_aboveclose_color1 Red
#property indicator_belowclose_color1 Green
#property indicator_abovehigh_color2 Brown
#property indicator_belowlow_color2 Blue
This would be a great help and thus would free up more buffers. I would really like to see this added.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
In order to have an indicator which changes colour depending on its position requires that you have a separate buffer for each colour you want. I'd like to see a feature added which makes it possible to change the colour of a single buffer depending on whether it's either above or below the price.
example:
#property indicator_aboveclose_color1 Red
#property indicator_belowclose_color1 Green
#property indicator_abovehigh_color2 Brown
#property indicator_belowlow_color2 Blue
This would be a great help and thus would free up more buffers. I would really like to see this added.
Thank you.