How can I change the color of an indicator dynamically based on price or volume data or the values of other indicators

 
I'm writing a custom indicator that calculates buffer values based on the values of price, volume, and other indicators. Depending on the value of this custom indicator, I want to change the color of its plot point for each bar without changing the color of the entire line. In effect, I want a variably colored line.

How can I do this?
 

Don't double post! You already had another thread open.

          General rules and best pratices of the Forum. - General - MQL5 programming forum 2017.07.19
How can I change the color of an indicator dynamically based on price or volume data or the values of other indicators
How can I change the color of an indicator dynamically based on price or volume data or the values of other indicators
  • 2021.01.29
  • www.mql5.com
I'm writing a custom indicator that calculates buffer values based on the values of price, volume, and other indicators...
 
skeptic23:

I have deleted your duplicated topic.