• Overview
  • Reviews (2)
  • Comments (61)
  • What's new

Traffic

The Traffic grid Expert Advisor works in two directions at the same time, opening orders with a specified step and lot multiplier. The EA works on any timeframe and any currency pair. It features an integrated system of lot increase based on the account equity, as well as the ability to cover the unprofitable orders by profitable ones.

Recommended timeframes: М1, M5, М15.


Inputs

  • MagicId - unique number of the EA.
  • GlobalSL - the minimum allowed equity level, at which the EA operation is stopped.
  • MaxSpread - maximum spread of the symbol for opening/closing orders.
  • MaxNumber - maximum number of orders in each direction.
  • OnBar - open the orders at the opening of candles (true) or when reaching the specified Grid level (false).
  • OrderSignal - enable/disable (true/false) the indicator for opening the first order in the series.
  • Direction - direction for opening orders:
    • Both - buy and sell.
    • Buy - only buy.
    • Sell - only sell.
  • MaxLot - the maximum lot size of each order.
  • Mode - calculation mode of the lot size for the first order of the series:
    • ManualLot - the lot size of the first order in each new series corresponds to the MainLot value.
    • AutoLot - the lot size of the first order is increased in multiples, based on the ratio of the account equity and AutoLotSize.
  • AutoLotSize - account equity per each MainLot.
  • MaxLot - the maximum lot size of each order.
  • MainLot - lot size of the first order.
  • Progress - switch the lot increase progression type:
    • Arith - arithmetic.
    • Geo - geometric.
  • FactorArith (Mode == Arith) - lot increase value per ArithNumber orders.
  • ArithNumber (Mode == Arith) - the number of orders with the same lot size.
  • Factor1 (Mode == Geo) - coefficient for changing the lot size before opening the order with the serial number FactorNumber.
  • Factor2 (Mode == Geo) - coefficient for changing the lot size starting from the order with the serial number FactorNumber.
  • FactorNumber (Mode == Geo) - serial number of the order, starting from which Factor1 is changed to Factor2.
  • Grid1 (in points) - the distance between orders before the order with the serial number GridNumber.
  • Grid2 (in points) - the distance between orders starting from the order with the serial number GridNumber.
  • GridNumber - serial number of the order, starting from which Grid1 is changed to Grid2.
  • Takeprofit1 (in points) - take profit level for the orders less than TPNumber.
  • Takeprofit2 (in points) - take profit level for the orders starting from TPNumber.
  • TPNumber - the number of the order, starting from which the take profit value changes.
  • Overlap - enable/disable (true/false) covering the first unprofitable order by the last profitable order in the amount of OverlapPercent percent.
  • OverlapNumber - serial number of the order, starting from which covering of orders is allowed.
  • OverlapPercent - amount of profit of the last order when using it to cover the loss of the first order.
  • SymbolOverlap - enable/disable (true/false) closing all orders on the current symbol when the total profit reaches SymbolOverlapCurrency.
  • SymbolOverlapCurrency - total profit.
  • SymbolOverlapNumber - minimum number of open orders for executing SymbolOverlap.
  • DDStop - mode of closing all orders on the current symbol when the specified DDStopValue drawdown level is reached:
    • None - disabled;
    • Currency - drawdown in deposit currency;
    • Percent - drawdown in % of the balance.
  • DDStopValue - currency units (DDStop=Currency), % of the balance (DDStop=Percent).
  • NewCycle - enable/disable (true/false) starting a new series after reaching take profit.
  • ShowInfo - enable/disable (true/false) the information panel and breakeven/take profit levels.
  • UpColor - level color of a buy series.
  • DnColor - level color of a sell series.
  • CloseBuy button - closes all open buy orders.
  • CloseSell button - closes all open sell orders.
denby2
204
2017.06.25 23:58 
 

Ottimo EA, lavora perfettamente, grande aiuto e sostegno da parte di Aleksei. Un sincero grazie all'autore

Aleksandr Lepeshov
473
2017.06.23 11:40 
 

Отличный советник, гибкие настройки. При правильной настройке стабильная прибыль. Спасибо автору!

Version 2.0 - 2017.06.14
v. 2.0
Optimized the EA operation.
Added the inputs:
- MaxNumber - maximum number of orders in each direction
- SymbolOverlap - enable/disable (true/false) closing all orders on the current symbol when the total profit reaches SymbolOverlapCurrency
- SymbolOverlapCurrency - total profit
- SymbolOverlapNumber - minimum number of open orders for executing SymbolOverlap

- DDStop - mode of closing all orders on the current symbol when the specified DDStopValue drawdown level is reached
None - disabled
Currency - drawdown in deposit currency
Percent - drawdown in % of the balance
- DDStopValue - currency units (DDStop=Currency), % of the balance (DDStop=Percent)