• Overview
  • Reviews (1)
  • Comments (4)

MA Distance X

This is a simple EA works with the MA indicator. Every time a new candle is created on the chart, the EA will check the distance from the current price against the MA values then it will open a position.

Caution: This EA should be used for testing, statistical and analytical purposes. It is not recommended to use it as a true trading robot, unless you have an effective plan with it.

BUY Conditions:

When Bid price - Distance >= MA value at the #1 candle (previous candle).

In Reverse mode, a Sell order will be executed instead of a Buy order.


SELL Conditions:

When Ask price + Distance <= MA value at the #1 candle (previous candle).

In Reverse mode, a Buy order will be executed instead of the Sell order.


Features included:

  • Automatically perform trailing stop
  • Choose to manage capital by risk percentage or trading volume
  • Manage the number of trading positions
  • Flexible slippage configuration
  • Range of trading time configuration

Parameters:

  • Timestart: Start trading on time
  • Timestop: Stop trading on time
  • Money management: LOT or RISK:
  • In case you choose LOT: The value for money management: is volume (Example: 0.01)
  • In case you choose RISK:The value for money management: is percent (Example: 1)
  • For example: If your account is currently 1000 USD, and leverage you're using the is 1:100 on EURUSD pair. At the moment, 1% is equivalent to a trade of 0.01 standard lot.
  • Stop Loss, in pips: Stop loss
  • Take Profit, in pips: Take profit
  • Auto trailing stop: true = on, false = off
  • Trailing Stop: Trailing stop, in pips. 
  • Trailing Step: Trailing step, in pips
  • Price distance to MA: Input distance in points
  • MA timeframe: Time frame
  • MA averaging period: MA period
  • MA horizontal shift: MA Shift
  • MA smoothing type: MA type
  • MA type of price: MA type of price
  • Only one position: If you select false, an order will be opened each time you switch to a new candle.
  • Reverse: Reverse trade mode. Along with a condition C, but will choose to open BUY orders instead of SELL orders or vice versa.
  • Close composite: Close all orders in the opposite direction with the next new one, effective when Only one position = false mode.
  • Print log: Print logs during back-test
  • Slippage, in points: Slippage
  • Magic number: The ID of the EA, choose any number from 8-10 digits.


Good luck and Happy trading.


Reviews 1
alearrais
36
alearrais 2020.03.31 13:52 
 

Hello, I can't change StopLoss and Profit. Is it necessary to have the source code to change?

Recommended products
Buyers of this product also purchase
Filter:
alearrais
36
alearrais 2020.03.31 13:52 
 

Hello, I can't change StopLoss and Profit. Is it necessary to have the source code to change?