VarMovAvg Indicator Moves to MT5
VarMovAvg is the 4th indicator that I’ve converted from MT4 to MT5. It was quite easy and the resulting code is now much simpler and faster than it was in MQL4. This indicator is great for trend detection and I recommend you downloading it to try in MT5 beta testing. While converting VarMovAvg I discovered multi-colored indicator type in MetaTrader 5, which allows coder to reduce the amount of indicator buffers and increase the speed of calculation. So, VarMovAvg for MT5 has 1 indicator buffer less than the same indicator in MT4 (I’ve also made the same changes to Fisher indicator, reducing the number of buffers from 3 to 1). Another new feature I used, while converting this indicator, was the ”#property description” instructor that allows setting an indicator’s description, which is then visible to traders when they add the indicator to a chart.
You can get the code of MT5 version or read more info about the indicator.
If you find some bugs in this VarMovAvg MT5 indicator or want to make a suggestion regarding its functionality or what should be my next MT4->MT5 conversion, please, use the commentary form below.
Tags: indicators, MT5
This entry was posted
on Friday, November 6th, 2009 at 5:10 pm.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
December 17th, 2009 at 2:16 pm
Need some help. The VarMovAvg is not updating on my platform. What can I do?
Regards
[Reply]
Andrei Reply:
December 17th, 2009 at 3:41 pm
Do you mean MT4 or MT5?
[Reply]
December 18th, 2009 at 5:05 pm
in MT5 this indi works if alone on chart, but has udpadting problems when together with other indicators, at least on my platform.
[Reply]
Andrei Reply:
December 18th, 2009 at 5:25 pm
That’s probably a bug of MT5 platform. It’s recommended that you submit it to http://www.mql5.com/en/forum. But on my platform it continued to refresh even with 2 other indicators on the same chart.
[Reply]