VA Indicator For MT5

VA Indicator For MT5

The VA Indicator For MT5 is a momentum oscillator that displays the Velocity/Acceleration in the price of an underlying instrument. It is made up of two colored curves, both of which get plotted in the same indicator pane. The Velocity curve is painted Green, while the Acceleration curve is colored Red.

The VA indicator may be used to detect the directional bias of a market. If the Velocity and Acceleration curves are both rising, bulls are likely in control. Contrarily, when the Velocity and Acceleration curves are both falling, price weakness has likely set in, resulting in a situation whereby short trades potentially offer the better odds of profiting.

FREE VA Indicator

Download the FREE VA Indicator for MT5.

To receive my email 100% sure: 
Put my email on your whitelist!


Partially Automated Trading Besides Your Day Job

Alerts In Real-Time When Divergences Occur

My Recommended MT4/MT5 Broker


Installing the VA Indicator For MT5

After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file VA.mq5 into the folder MQL5\Indicators of your MT5 installation. After that please restart MT5 and then you will be able to see the indicator in the list of indicators.

Parameters of the VA Indicator For MT5

The VA Indicator For MT5 has 3 parameters to configure.

input uint                 InpPeriodV        =  14;            // Velocity period
input uint                 InpPeriodA        =  10;            // Acceleration period
input ENUM_APPLIED_PRICE   InpAppliedPrice   =  PRICE_CLOSE;   // Applied price

Buffers of the VA Indicator For MT5

The VA Indicator For MT5 provides 3 buffers.


Main Parts Of The Code

int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
//--- @ gt 25@:0 =0  lt 8=8 lt 0;L= gt 5 : gt ;85AB2 gt  10@ gt 2 4;O @0AGQB0
   int max=fmax(period_a,period_v);
   if(rates_total lt max) return 0;
//--- @ gt 25@:0 8 @0AGQB : gt ;8G5AB20 ?@ gt AG8BK205 lt KE 10@ gt 2
   int limit=rates_total-prev_calculated;
   if(limit gt 1)
//---  gt 43 gt B gt 2:0 40==KE
   int copied=0,count=(limit==0 ? 1 : rates_total);
   if(copied!=count) return 0;
//---  0AGQB 8=48:0B gt @0
   for(int i=limit; i gt =0 && !IsStopped(); i--)
      double v=BufferMA[i+period_v];
      double a=BufferV[i+period_a];
      BufferV[i]=(100*BufferMA[i]/(v!=0 ? v : DBL_MIN));
      BufferA[i]=100*BufferV[i]/(a!=0 ? a : DBL_MIN);

//--- return value of prev_calculated for next call


About Me

I'm Mike Semlitsch the owner of My trading career started in 2007. Since 2013 I have helped thousands of traders to take their trading to the next level. Many of them are now constantly profitable traders. 

The following performance was achieved by me while trading live in front of hundreds of my clients:

Connect With Me:  

This FREE Indicator Can Transform
Your Trading!

FREE Indicator + Telegram Group

Request the Ultimate Double Top/Bottom Indicator which is used by 10,000+ traders.

Results From 5 Months!
This service starts soon! Be the first who get's notified when it begins!