3LineBreak Indicator For MT4

3LineBreak Indicator For MT4

The 3LineBreak Indicator For MT4 paints the candlestick in the price charts so that the traders know where to execute the trades. If the candle is colored in red, you should never buy the pair. On the contrary, when the candles are colored in blue, stop looking for the short trade setups. But use the knowledge of support and resistance level to improve your win rate.

FREE 3LineBreak Indicator

Download the FREE 3LineBreak 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 3LineBreak 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 3LineBreak.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 3LineBreak Indicator For MT4

The 3LineBreak Indicator For MT4 has 1 parameters to configure.

extern int Lines_Break = 3;

Buffers of the 3LineBreak Indicator For MT4

The 3LineBreak Indicator For MT4 provides 2 buffers.

SetIndexBuffer(0, HighBuffer);
SetIndexBuffer(1, LowBuffer);

Main Parts Of The Code

int start()
  {
    int counted_bars = IndicatorCounted(), i, shift;
    //---- TODO: add your code here
    if(counted_bars == 0) 
        counted_bars = Lines_Break + 1;
    i = (Bars - counted_bars);
    //----
    for(shift = i; shift  gt = 0; shift--)
      {
        OLDSwing = Swing;
        VALUE1 = High[Highest(NULL, 0, MODE_HIGH, Lines_Break, shift + 1)];
        VALUE2 = Low[Lowest(NULL, 0, MODE_LOW, Lines_Break, shift + 1)];
        if(OLDSwing == 1 &&  Low[shift]  lt  VALUE2) 
            Swing = -1;
        if(OLDSwing == -1 && High[shift]  gt  VALUE1 ) 
            Swing = 1;
        if(Swing == 1) 
          { 
            HighBuffer[shift] = High[shift]; 
            LowBuffer[shift] = Low[shift]; 
          }
        if(Swing == -1)
          { 
            LowBuffer[shift] = High[shift]; 
            HighBuffer[shift] = Low[shift]; 
          }
        //----
      }
    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!