Mastering JS-MA-Day: Your Go-To EA for MetaTrader 5

Mike 2018.07.09 19:29 22 0 0
Attachments

Created by: JS_Sergey.

Code by: Vladimir Karputov.

The JS-MA-Day Expert Advisor (EA) is built on the iMA indicator (Moving Average, MA) using a D1 timeframe.

If you're looking to ramp up your trading, you can enable position increases by setting the parameter Increase positions to true. Just a heads up, be cautious with the Close hour and Increase timeframe settings. For instance, if you set Close hour to 23 and Increase timeframe to PERIOD_H4, your positions won't close at 23:00 because H4 candlesticks open at 16:00, 20:00, and 00:00. So, if you enable Close hour (must be more than -1), it’s best to choose H1 or a lower timeframe. Remember, when increasing positions, you can also limit the number of open trades by using the Max positions setting for your current symbol and magic number.

You can also disable the stop loss, take profit, and trailing features by simply setting the corresponding inputs to zero.

As for position sizing, you have a couple of options: you can trade with a fixed lot size (make sure the Lots parameter is above zero and Risk is zero), or you can dynamically calculate the lot size based on risk percentage per trade (set Risk to a value above zero while keeping Lots at zero).


Input Parameters

  • Increase positions
  • Increase timeframe
  • Max positions
  • Reverse signals
  • Close hour (set to -1 to disable)

Indicator Inputs

  • MA PERIOD_D1: averaging period
  • MA PERIOD_D1: horizontal shift
  • MA PERIOD_D1: smoothing type
  • MA PERIOD_D1: price type or handle

Trade Management Settings

  • Stop Loss (in pips)
  • Take Profit (in pips)
  • Trailing Stop (in pips)
  • Trailing Step (in pips)
  • Lots (either Lots > 0 and Risk = 0, or Lots = 0 and Risk > 0)
  • Risk (either Lots > 0 and Risk = 0, or Lots = 0 and Risk > 0)
  • Magic number
List
Comments 0