5 _34_5 Indicator For MT4

5 _34_5 Indicator For MT4

The 5 _34_5 Indicator For MT4 acts more like an oscillator. However, it can show the perfect overbought and oversold condition of the market even in the lower time frame. If the indicator curve stay above the reference line zero, look for the short trade setup. On the contrary, when it stays below the reference line zero, look for buying opportunity.

FREE 5 _34_5 Indicator

Download the FREE 5 _34_5 Indicator for MT4.

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 5 _34_5 Indicator For MT4

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

Parameters of the 5 _34_5 Indicator For MT4

The 5 _34_5 Indicator For MT4 has 0 parameters to configure.

Buffers of the 5 _34_5 Indicator For MT4

The 5 _34_5 Indicator For MT4 provides 2 buffers.

SetIndexBuffer(0,TrendBuffer);
SetIndexBuffer(1,LoBuffer);

Main Parts Of The Code

int start()
  {
   int counted_bars = IndicatorCounted();
   if(counted_bars  lt  0)  return(-1);
   if(counted_bars  gt  0)   counted_bars--;
   int limit = Bars - counted_bars;
   if(counted_bars==0) limit--;
      
   for(CB=limit;CB gt =0; CB--)
     {
      // iMA(NULL,0,55,0,MODE_EMA,PRICE_CLOSE,0)
      Ma534=iMA(NULL,0,5,0,MODE_SMA, PRICE_MEDIAN,CB)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,CB);
      //if CB gt =1 then 
      Ma534_1=iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,CB)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,CB);
      //if CB gt =2 then 
      Ma534_2=iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,CB-1)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,CB-1);
      //if CB gt =3 then 
      Ma534_3=iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,CB-2)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,CB-2);
      //if CB gt =4 then 
      Ma534_4=iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,CB-3)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,CB-3);
      //if CB gt =5 then 
      Ma534_5=iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,CB-4)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,CB-4);
      //SetIndexValue(CB,Ma534);
      //if CB gt 5 then
      //SetIndexValue2(CB,(Ma534_1+Ma534_3+Ma534_2+Ma534_4+Ma534_5)/5);
      //Ma5345=iMA(0,MODE_SMA,CB);
      //SetIndexValue2(CB,Ma5345);
      TrendBuffer[CB]=Ma534;
      LoBuffer[CB]=((Ma534_1+Ma534_3+Ma534_2+Ma534_4+Ma534_5)/5);
     }
   return(0);
  }
       // prevent to previous bars recounting
//+------------------------------------------------------------------+a534_3+Ma534_2+Ma534_4+Ma534_5)/5);
      //Ma5345=iMA(0,MODE_SMA,CB);
      //SetIndexValue2(CB,Ma5345);
      TrendBuffer[CB]=Ma534;
      LoBuffer[CB]=((Ma534_1+Ma534_3+Ma534_2+Ma534_4+Ma534_5)/5);
      //loopbegin = loopbegin-1; // prevent to previous bars recounting
     }
  return(0);
  }
   
       // prevent to previous bars recounting
//+------------------------------------------------------------------+

 

About Me

I'm Mike Semlitsch the owner of PerfectTrendSystem.com. 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!