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 have a simple question, but I cannot find a simple answer. I am creating two moving averages in my code using the trend indicators class CiMA and putting them in my chart. The question I have is how do I change the color of the moving average lines after they are placed in the chart. Currently both the 8 and 21 MA's are red.
BOOL bResult;
bResult = ChartIndicatorAdd(0, 0, cMA8.Handle());
bResult = ChartIndicatorAdd(0, 0, cMA21.Handle());