I am writing a custom indicator based on the Hull Moving Average. I have the calculation of the moving average done and it displays nicely. The one thing I'm having a problem with is making the line color change depending on whether the line is going up or down. Any help on this will be highly appreciated.
- Need help indentifying indicator
- change the color of a candlestick bar based on an moving average indicator
- Multi Timeframe Indicators
There are many samples in the Code Base.See, for example https://www.mql5.com/en/code/mt4
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