In this code and how it is coded I will not do more.....
Re: Moving Average indicators for MT4
2112I am thankful to you. My wish has come true. I will share the back test results for you. If there are good results, I will share on tpl.
- These users thanked the author zuzu for the post (total 2):
- kvak, RomanUkraine
Re: Moving Average indicators for MT4
2113twap works fine. The time period shown in MT5 is supported. It would be nice if ADXvma also supported MT5 multi-period. ADXvma is probably the strangest moving average, interesting.Jimmy wrote: Sat Jun 15, 2019 9:52 pm This is an interesting one from our archives which I thought should be in here - the TWAP (Time Weighted Average Price) by Mladen.
As explained by Mladen:
This would be the time weighted average price (a kind of a moving average).
The description used is the following :
The Time-Weighted Average Price (TWAP) is defined as the average price of a security over the course of a specified period of time. The TWAP is traditionally calculated by first averaging the open, high, low, and close prices for each bar and then calculating the average of those averages as time progresses.
It depends on the time frame used, but it is not a multi time frame indicator. What it does is the following
- It checks if a new period begins
- If it does, then it resets the calculation period to 1.
- After that with each bar passed, the calculating period is increased by 1 until a new reset is found
So, if you use current time frame, that is simply drawing the price line on the chart. To have some effective calculation, any higher time frame must be used. Usually daily time frame is used for this indicator.
Also, this indicator can calculate all the time frames supported by Metatrader 5 (this is Metatrader 4 indicator), so time frame like 2,3,6 hours and so on are supported too.
Re: Moving Average indicators for MT4 - What is the ADXvma?
2114
ADXvma
It is strange! I really like it as a filter on certain subwindow indicators because it removes fluctuations.
Many analysts argue (especially in Futures) that ADXvma is just an "Exponential Moving Average" or a "Modified VIDYA (VMA)" because there is no direct link to the ADX formula. I disagree, as the VIDYA is considered "the nephew of the ADX" and there's also a bit more to it.
The ADXvma has the SMA in Chande's CMO replaced with an EMA, it then uses a few more layers of EMA smoothing before the "Volatility Index" is calculated.
A side effect is, those additional layers slow down the ADXvma when you compare it to the actual VIDYA (VMA).
However, the good thing about it is once there's consolidation detected, the ADXvma stays flat for longer. When it eventually signals to the upside or downside, the entries are much stronger and more accurate than any traditional EMA or VIDYA (VMA).
This is why many indicators really do "look" good with the ADXvma filter applied to them.
Here are a few indicators that you may look at that have been referenced above:
The official description of the ADXvma by Linnsoft:
It is strange! I really like it as a filter on certain subwindow indicators because it removes fluctuations.
Many analysts argue (especially in Futures) that ADXvma is just an "Exponential Moving Average" or a "Modified VIDYA (VMA)" because there is no direct link to the ADX formula. I disagree, as the VIDYA is considered "the nephew of the ADX" and there's also a bit more to it.
The ADXvma has the SMA in Chande's CMO replaced with an EMA, it then uses a few more layers of EMA smoothing before the "Volatility Index" is calculated.
A side effect is, those additional layers slow down the ADXvma when you compare it to the actual VIDYA (VMA).
However, the good thing about it is once there's consolidation detected, the ADXvma stays flat for longer. When it eventually signals to the upside or downside, the entries are much stronger and more accurate than any traditional EMA or VIDYA (VMA).
This is why many indicators really do "look" good with the ADXvma filter applied to them.
Here are a few indicators that you may look at that have been referenced above:
- ADXvma by Mladen: ADXvma
- Chande's VIDYA CMO by Mladen: VIDYA (VMA)
- Chande's CMO Oscillator by Mrtools: Chande's CMO Oscillator

The official description of the ADXvma by Linnsoft:
Re: Moving Average indicators for MT4
2115OK, I think I understand: that's it.
I just want you to know:
The dotted lines (filter-MAs above/below HL-MA) cannot be altered in line-variable input and width.)
Re: Moving Average indicators for MT4
2116I don't see anything from your picture and I don't even understand the post ???josi wrote: Sat Feb 26, 2022 1:45 am OK, I think I understand: that's it.
I just want you to know:
The dotted lines (filter-MAs above/below HL-MA) cannot be altered in line-variable input and width (but - as you can see - in colour)
Re: Moving Average indicators for MT4
2117Hi MrTools,
is it possible to add all the various options to mcginley dynamic filtered such as averages, price options, atr bands, alerts, arrows and an option to change the line width like you did with the EVWMA back in post #2059.
kind regards
Daz.
is it possible to add all the various options to mcginley dynamic filtered such as averages, price options, atr bands, alerts, arrows and an option to change the line width like you did with the EVWMA back in post #2059.
kind regards
Daz.
Re: Moving Average indicators for MT4
2119Added prices, atr bands, alerts and arrows.razzledazzle wrote: Wed Mar 02, 2022 9:25 pm Hi MrTools,
is it possible to add all the various options to mcginley dynamic filtered such as averages, price options, atr bands, alerts, arrows and an option to change the line width like you did with the EVWMA back in post #2059.
kind regards
Daz.
Re: Moving Average indicators for MT4
2120thank you MrTools, much appreciated, is it not possible to add averages to this indicator?
- These users thanked the author razzledazzle for the post:
- Davoud.D