I made corrections. It should work now.
the latest version is heavy.
I can't find the following scripts
> int counted_bars = IndicatorCounted();
> if (counted_bars>0) counted bars--;
> int pos = Bars - counted_bars--;
I'm not a programer. I can't edit it. But I think many bars are counted again and again, so the latest version is too heavy.
You are right.
The solution is here, but the solution is also "heavy" - on you.
Multiple Null Bar Re-Count in Some Indicators - MQL4 Articles
VQ MTF is useless!
Scenario: 15m Chart + 60m VQ
If VQ gives a new signal (buy), you buy the past, because VQ does not validate the close of the 60m bar (4x15m bars).
No idea why this problem was not mentioned in more than 350 posts and 120480 views in more than 2 years, even the author itself hasn't noticed it.
MTF indicators are "continuing painting" H1 timeframe when M15 is already closed. It was discussed in this thread https://www.mql5.com/en/forum/173574
As to me so I am always using this indicator with TimeFrame =0 settings (0 is current chart timeframe).
As I know it is deault settings.
For the traders that are interested by this indicator, the only expert advisor based on it, and that works well is available here :
Volatility Quality EA - MQL4 Code Base
You can discuss about the EA and gives your best parameters here :
Have you heard Damiani Volameter?
How about it?
This VQI indicator is really good!
It cannot be your only indicator, though. At least you need to consider which way price is moving, such as a couple MAs, or maybe directly.
For use in an EA it has to be revised to work well and efficiently.
I am still waiting for someone to explain the MTF aspect and how to use it?
convert indi to ea
anyone can help me to convert this indicator to EA?
what i need is when the arrow/alert on..the ea will open the new post/trade for sell/buy and close the existing trade.