Simple Support and Registance Lines Indicator For MT4

Simple Support and Registance Lines Indicator For MT4

The Simple Support and Registance Lines Indicator For MT4 draw the support and resistance line in your trading charts. The naïve traders often lose money since they don’t know the perfect way to find the critical support and resistance level. But this indicator will help you to find the best possible trading zone in the currency pairs.

FREE Simple Support and Registance Lines Indicator

Download the FREE Simple Support and Registance Lines 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 Simple Support and Registance Lines 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 Simple_SR.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 Simple Support and Registance Lines Indicator For MT4

The Simple Support and Registance Lines Indicator For MT4 has 3 parameters to configure.

extern int Per=1;
extern int    Rwid = 2,
extern color  Rcol = DodgerBlue,

Buffers of the Simple Support and Registance Lines Indicator For MT4

The Simple Support and Registance Lines Indicator For MT4 provides 2 buffers.

SetIndexBuffer(0, Registance);
SetIndexBuffer(1, Support);

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-=1+1;
   
   for(int i=limit; i gt =0; i--)
   {double H = High[iHighest(NULL,0,MODE_HIGH,Per,i+1)],
           L = Low[iLowest(NULL,0,MODE_LOW,Per,i+1)];
      Registance[i]=H*2-L;
      Support[i]=L*2-H;
   }
       if(ObjectFind("Registance") != 0) 
        {ObjectCreate("Registance",OBJ_HLINE,0,Time[0],Registance[0]);
         ObjectSet("Registance",OBJPROP_BACK,true);
         ObjectSet("Registance",OBJPROP_COLOR,Rcol);
         ObjectSet("Registance",OBJPROP_WIDTH,Rwid);
         ObjectSet("Registance",OBJPROP_STYLE,Rstyl);}
         else{ObjectMove("Registance", 0,Time[0],Registance[0]);}
         
       if(ObjectFind("Support") != 0) 
        {ObjectCreate("Support",OBJ_HLINE,0,Time[0],Support[0]);
         ObjectSet("Support",OBJPROP_BACK,true);
         ObjectSet("Support",OBJPROP_COLOR,Scol);
         ObjectSet("Support",OBJPROP_WIDTH,Swid);
         ObjectSet("Support",OBJPROP_STYLE,Sstyl);}
         else{ObjectMove("Support", 0,Time[0],Support[0]);}

   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:  

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

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.