Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Experts

Plan X - expert for MetaTrader 5

Scriptor | English Русский Español

Published by:
Vladimir Karputov
Views:
257
Rating:
votes: 12
Published:
2019.02.07 09:01
Plan X.mq5 (72.62 KB)view

Idea by: Scriptor

mq5 code by: barabashkakvn

ATTENTION: The EA is designed to work on hedge accounts only!

The EA compares the difference between the Close price of bar #1 and the Close price of bar #Candle shift. If the value exceeds Channel height, a position will be opened. At the same time, the reverse of signals (Reverse) is considered:

   if(rates[1].close>rates[InpCandleShift].close+ExtChannelHeight)
     {
      if(!InpReverse)
         m_need_open_buy=true;
      else
         m_need_open_sell=true;
     }
   if(rates[1].close<rates[InpCandleShift].close-ExtChannelHeight)
     {
      if(!InpReverse)
         m_need_open_sell=true;
      else
         m_need_open_buy=true;
     }

If time control (Use time control) is enabled, then trading signals will only be checked within the the predefined time interval (between Start hour and End hour). By the way, if the End hour value is set below the Start hour value, the time interval will go beyond the day.

EURUSD, H1:

Plan X

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/23542

Ilan iMA Ilan iMA

Ilan based on indicator iMA (Moving Average, MA)

RSI_Rendiment RSI_Rendiment

Indicator RSI Rendiment

XXDPO_Candle_Alerts XXDPO_Candle_Alerts

Indicator XXDPO_Candle can provide alerts and send email and push notifications when trading signals occur. Possible signal options

XXDPO_Candle_HTF XXDPO_Candle_HTF

Indicator XXDPO_Candle with the timeframe selection option in its input parameters