18_28Cross Indicator For MT4

18_28Cross Indicator For MT4

The 18_28Cross Indicator For MT4 prints the buying and selling arrow in the price charts. When you spot a red arrow at the critical resistance, you need to short the pair. On the contrary, when the pair hits a critical support level and a bullish blue arrow is formed, look for the long trade setup. Use it higher time frame to improve your trade accuracy.

FREE 18_28Cross Indicator

Download the FREE 18_28Cross 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 18_28Cross 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 18_28Cross.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 18_28Cross Indicator For MT4

The 18_28Cross Indicator For MT4 has 5 parameters to configure.

extern int FasterMode=1; //0=sma, 1=ema, 2=smma, 3=lwma
extern int FasterMA  =18;
extern int SlowerMode=1; //0=sma, 1=ema, 2=smma, 3=lwma
extern int SlowerMA  =28;
extern int SoundAlert=1; // 0 = disabled

Buffers of the 18_28Cross Indicator For MT4

The 18_28Cross Indicator For MT4 provides 2 buffers.

SetIndexBuffer(0,CrossUp);
SetIndexBuffer(1,CrossDown);

Main Parts Of The Code

int start()
  {
   int limit,i,counter;
   double fasterMAnow,slowerMAnow,fasterMAprevious,slowerMAprevious,fasterMAafter,slowerMAafter;
   double Range,AvgRange;
   int counted_bars=IndicatorCounted();
   if(counted_bars lt 0) return(-1);
   if(counted_bars gt 0) counted_bars--;
   limit=Bars-counted_bars;
   if(counted_bars==0) limit-=1+MathMax(9,MathMax(FasterMA,SlowerMA));
//----
   for(i=0; i lt =limit; i++)
     {
      counter=i;
      Range=0;
      AvgRange=0;
      for(counter=i;counter lt =i+9;counter++)
        {
         AvgRange=AvgRange+MathAbs(High[counter]-Low[counter]);
        }
      Range=AvgRange/10;
      fasterMAnow=iMA(NULL,0,FasterMA,0,FasterMode,PRICE_CLOSE,i);
      fasterMAprevious=iMA(NULL,0,FasterMA,0,FasterMode,PRICE_CLOSE,i+1);
      fasterMAafter=iMA(NULL,0,FasterMA,0,FasterMode,PRICE_CLOSE,i-1);
      slowerMAnow=iMA(NULL,0,SlowerMA,0,SlowerMode,PRICE_CLOSE,i);
      slowerMAprevious=iMA(NULL,0,SlowerMA,0,SlowerMode,PRICE_CLOSE,i+1);
      slowerMAafter=iMA(NULL,0,SlowerMA,0,SlowerMode,PRICE_CLOSE,i-1);
      //----
      if((fasterMAnow gt slowerMAnow) && (fasterMAprevious lt slowerMAprevious) && (fasterMAafter gt slowerMAafter))
        {
         CrossUp[i]=Low[i]-Range*0.5;
        }
      else if((fasterMAnow lt slowerMAnow) && (fasterMAprevious gt slowerMAprevious) && (fasterMAafter lt slowerMAafter))
        {
         CrossDown[i]=High[i]+Range*0.5;
        }
     }
//----     
   return(0);
  }
//+------------------------------------------------------------------+

 

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!