Advisor’s Strategy:

The Expert Advisor spreads a network of all types of orders. Above MA, we open only buystop, below only sellstop. Signals can also be filtered by the Stohastic indicator. For each order, we set a stop loss, take profit and a trail.
Pending orders are pulled for the price at a given distance before triggering.

Adviser Settings:

  • ———- we allow certain types of orders —————
  • BuyStop = true;
  • BuyLimit = true;
  • SellStop = true;
  • SellLimit = true;
  • ———– MA settings ————–
  • FilterMA = true; – enabling the MA filter
  • timeframe = 0; – Timeframe MA
  • period = 34; – period MA
  • ma_shift = 0; – shift MA
  • ma_method = 0; – method MA 1
  • appliced_price = PRICE_CLOSE; – Used price MA 1
  • ———— Stochastic Settings —————
  • FilterStochastic = false; – Enable the Stochastic filter
  • KPeriod = 5;
  • DPeriod = 3;
  • Slowing = 3;
  • ————- Stop and Trawl settings
  • Stoploss = 0, – stoploss
  • Takeprofit = 0; – takeprofit
  • TrailingStop = 50, – trailing stop, if 0, then there is no trailing
  • TrailingStart = 10, – start of trailing
  • TrailingStep = 10; – the step of the trawl
  • TrailingLimitOrder = 50; – distance to limit order
  • railingStopOrder = 50; – distance to stop order
  • TrailingStepOrder = 10; – the step of moving the stop order
  • Lot = 0.1; – the volume of the Adviser’s orders
  • K_Lot = 2.0; – coefficient of change in the lot of stop orders
  • Magic = 1000; – unique order number of this Expert Advisor
  • ProfitClose = 10.0; – profit at which we close everything (Measured in the deposit currency)
  • CloseBy = true; -allow overlap (counter closing of positions)
  • IncreaseEquity = 2.0;-equity gain (the EA closes all positions when equity increases by a given level (Measured in the deposit currency)
  • Time Start = 1, – the start time of trading
  • timeEnd = 16; – trading end time

The adviser is conditionally free. About its acquisition, write to me

You can download the Expert Advisor itself here:

Cm Ea Spider
Cm Ea Spider
cm-ea-spider_2.ex4
35.2 KiB
138 Downloads
Details