Mastering BreakOut15: Your Go-To EA for MetaTrader 5

Mike 2018.07.09 19:29 18 0 0
Attachments

Idea by: Scriptor.

MQL5 code by: Vladimir Karputov.

This EA operates exclusively when a new bar forms on the Working Timeframe. All indicators are also sourced from this timeframe. Remember, it's designed to work best on the M1 timeframe!

Once a trading signal triggers a BUY or SELL, the EA sets a price level. A new position is opened as soon as the price crosses this threshold.

  • Signal to open BUY: MA Fast on bar #0 > MA Slow on bar #0;
  • Signal to open SELL: MA Fast on bar #0 < MA Slow on bar #0.

When assessing signals, the EA double-checks the working time range (unless the Start Hour and Stop Hour are set to "-1").

Positions get closed based on the opposite signal. If the Friday Close Hour isn't set to "-1", your positions will automatically close at this hour on Fridays.


Inputs

  • Working Timeframe - the timeframe for indicator calculations;
  • Stop Loss - sets stop loss ("0" disables this feature);
  • Take Profit - sets take profit ("0" disables this feature);
  • Trailing Stop - activates trailing ("0" disables this feature);
  • Trailing Step - defines the trailing step.
  • Start Hour - the beginning of the time range (hours); "-1" disables both Start Hour and Stop Hour;
  • Stop Hour - the end of the time range (hours); "-1" disables both Start Hour and Stop Hour;
  • Friday Close Hour - sets the closing time on Friday (hours); "-1" disables this feature;
  • BreakOut Level - the breakout level;
  • Lots - fixed lot size, requires Risk to be "0";
  • Risk - dynamic lot size based on risk percentage per trade, requires Lots to be "0";
  • Magic Number - a unique identifier for your EA.
List
Comments 0