5 day Breakout Indicator For MT4

5 day Breakout Indicator For MT4

5 day Breakout Indicator For MT45 day Breakout Indicator For MT4在前5天高价和5天低价附近绘制水平线。高价用绿线标出,低价用红线标出。使用MT4的5天突破指标进行交易几乎可以自我说明:1.当资产价格超过5天高位线(绿色)时,就会产生买入信号。 2.当价格突破并在5天低线(红色)以下收盘时触发卖出信号。默认突破期定义为5。但是,交易者可以在指标输入选项卡中对其进行更改。

FREE 5 day Breakout Indicator

Download the FREE 5 day Breakout 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

 

安装5 day Breakout Indicator For MT4

通过上面的表格下载指标后,您需要解压缩zip文件。然后,您需要将文件5_day_breakout.mq4复制到MT4安装的文件夹MQL4Indicators中。之后,请重启MT4,然后您将能够在指标列表中看到该指标。

5 day Breakout Indicator For MT4参数

5 day Breakout Indicator For MT4具有要配置的1 参数。

extern int       DAYS=5;

5 day Breakout Indicator For MT4缓冲区

5 day Breakout Indicator For MT4提供0 缓冲区。

守则主要部分

int start()
  {
   double daily_high[20];
   double daily_low[20];
   double yesterday_close;
   double phigh,plow;
   int i=1;
//---- TODO: add your code here
   ArrayResize(daily_high,DAYS);
   ArrayResize(daily_low,DAYS);
   ArrayInitialize(daily_high,0);
   ArrayInitialize(daily_low,0);
   ArrayCopySeries(daily_low, MODE_LOW, Symbol(), PERIOD_D1);
   ArrayCopySeries(daily_high, MODE_HIGH, Symbol(), PERIOD_D1);
/* initialise */
   plow=daily_low[1];
   phigh=daily_high[1];
//----
   for(i=1;i lt DAYS;i++)
     {
      if(plow gt daily_low[i])
        {
         plow =daily_low[i];
        }
     }
   for(i=1;i lt DAYS;i++)
     {
      if(phigh lt daily_high[i])
        {
         phigh =daily_high[i];
        }
     }
   Comment("
5dayH ",phigh,"
5dayL ",plow);
   //----
   ObjectDelete("5dayHigh");
   ObjectDelete("5dayLow");
   ObjectCreate("5dayHigh", OBJ_HLINE,0, CurTime(),phigh);
   ObjectSet("5dayHigh",OBJPROP_COLOR,SpringGreen);
   ObjectSet("5dayHigh",OBJPROP_STYLE,STYLE_SOLID);
   ObjectCreate("5dayLow", OBJ_HLINE,0, CurTime(),plow);
   ObjectSet("5dayLow",OBJPROP_COLOR,Red);
   ObjectSet("5dayLow",OBJPROP_STYLE,STYLE_SOLID);
   //----
   ObjectsRedraw();
   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.