ShowTrades Indicator For MT4

ShowTrades Indicator For MT4

The ShowTrades Indicator For MT4 is a simple indicator that draws two important moving average in the price charts. When the orange color line cross below the sky blue line, you should expect a bullish rally. On the other hand, if the orange color line crosses above the sky blue color line get prepare for the bearish rally. Use the retracement tools like a Fibonacci retracement, to find the endpoint of the corrective movement. Once you learn its use properly you can expect to make some big profits from this market.

FREE ShowTrades Indicator

Download the FREE ShowTrades 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 ShowTrades 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 qShowTrades.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 ShowTrades Indicator For MT4

The ShowTrades Indicator For MT4 has 0 parameters to configure.

Buffers of the ShowTrades Indicator For MT4

The ShowTrades Indicator For MT4 provides 0 buffers.

Main Parts Of The Code

int start()
  {
//----
   int cnt;
   int i,typ;
   /*if(gTimeDemo)
     {
      int t,m,y;
      t = TimeDay(Time[0]);
      m = TimeMonth(Time[0]);
      y = TimeYear(Time[0]);
      if(y gt =gDemoYear && 
         m  gt = gDemoMonth &&
         t  gt = gDemoDate)
         return(0);
     }*/

   cnt=OrdersHistoryTotal();
   if(cnt!=gOldCnt)
     {
      gOldCnt=cnt;
      Print("ShowTraces start");

      string name;
      datetime ostart,oend;
      double   open,close;

      Print("cnt = "+cnt);
      for(i=0;i lt 15000;i++)
        {

         ObjectDelete("trades_"+i);
        }

      for(i=0;i lt cnt;i++)
        {
         Print("Order 1 = "+OrderSymbol());
         if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==false) break;
         if(OrderSymbol()==Symbol())
           {
            typ=OrderType();
            if(typ==OP_BUY || typ==OP_SELL)
              {
               ostart = OrderOpenTime();
               oend   = OrderCloseTime();
               open   = OrderOpenPrice();
               close  = OrderClosePrice();
               Print("o=",ostart," ",open," ",oend," ",close);
               ObjectCreate("trades_"+i,OBJ_TREND,0,ostart,open,oend,close);
               ObjectSet("trades_"+i,OBJPROP_RAY,false);
               if(OrderProfit() gt 0)
                  ObjectSet("trades_"+i,OBJPROP_COLOR,Green);
               else
                  ObjectSet("trades_"+i,OBJPROP_COLOR,Red);

               name="";

               switch(typ)
                 {
                  case OP_BUY: name="buy"; break;
                  case OP_SELL: name="sell"; break;
                  case OP_BUYSTOP: name="buystop"; break;
                  case OP_SELLSTOP: name="sellstop"; break;
                 }
               name=name+" "+open;
               ObjectSetText("trades_"+i,name,10,"Times New Roman",Green);
               if(typ==OP_SELL)
                  ObjectSet("trades_"+i,OBJPROP_STYLE,STYLE_DASH);
               ObjectSet("trades_"+i,OBJPROP_WIDTH,2);
              }
           }
        }
     }
//----
   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.