Re: Convert MT4 indicators to MT5
Posted: Fri Jan 26, 2024 7:43 am
One potential problem is that MQL5 doesn't seem to support Wingdings via OBJ_LABEL, but only via OBJ_ARROW. 

Chart pic.JohnnyRy wrote: Fri Jan 26, 2024 10:37 am Will someone please post a chart pic of the GG-TrendBar.mq4 indicator? (I don't have an MT4 platform.)
The Hodrick Prescott MA indicator in the subwindow - what settings does it have? And does it repaint?
Using default settings from here . Careful with it though far as I know it repaints.TransparentTrader wrote: Fri Jan 26, 2024 11:47 am The Hodrick Prescott MA indicator in the subwindow - what settings does it have? And does it repaint?
Looks like an awesome double confirmation of any extreme overbought/oversold zone breaches by the augmented/ultimate RSI!
Forget not the watson estimator recently published also works wellTransparentTrader wrote: Fri Jan 26, 2024 11:47 am The Hodrick Prescott MA indicator in the subwindow - what settings does it have? And does it repaint?
Looks like an awesome double confirmation of any extreme overbought/oversold zone breaches by the augmented/ultimate RSI!
Thank you. Really appreciate this. Too bad I am poor in coding.JohnnyRy wrote: Fri Jan 26, 2024 5:12 am I had a go at it but I can't seem to get it fully operating. My code compiled without errors but shows a small jumbled up yellow mess in the upper left corner of the chart. The BROKEN source code is attached in case you want to try and build off it--instead of me trashing it and staying silent.
GG-TrendBar_BROKEN.mq5
You're welcome. I resumed work on it... Trying to replace the Wingdings with something else and recoding the multiple loops properly.Sutatong wrote: Fri Jan 26, 2024 6:56 pm Thank you. Really appreciate this. Too bad I am poor in coding.
The GG_TrendBar indicator below is mostly coded anew. For the first time ever, I received a loading warning while working on it from MT5... "Your code is too long. Please consider shortening." Ironically, I subsequently replaced several loops with longer form lines of code and that warning disappeared.