I Robot Merchant
The Expert Advisor uses "Resistance Breakthrough" strategy waiting for the most profitable and less risky moment on the market, like a prudent merchant. The trading robot opens 1-2 trades per day on the average waiting for the breakthrough trend confirmation. I Robot-Merchant trades on Н1 setting mid-term targets depending on TakeFulls value (automatically modified by the number of open trades).
If you enable martingale system, the deals are opened by Step_Orders step. In that case, TakeFulls is decreased by Step_changes_Take_Fulls step to quickly exit the drawdown if it occurs. The martingale is used by the trading robot only to gradually increase the deposit load and provide efficient product operation.
It is recommended that you enable several currency pairs considering the deposit of 2 000 units per one currency pair (Lots=0.1 and leverage 500:1). You can enable initial stop loss (by setting ProfitTrailing to false) and set "TrailingStop = 300". Its value can be changed from 100 to 1 000 points (all settings are 5-digit ones).
- The Expert Advisor automatically re-invests (adds to the initial lot), while the deposit is increasing.
- Use different currency pairs optimizing positions by volatility and spread size.
- Martingale = true - enable martingale trading.
- Deposit = 2000 - initial trading deposit.
- Trade_in_fri = true - trading on Friday.
- CurSymbolOnly = true - only the deals of the selected currency pair are averaged.
- Loss_Orders = 9000 - total loss averaging value.
- Take_Fulls = 150 - total profit averaging value.
- Step_changes_Take_Fulls = 30 - averaging value decreasing step, while the amount of trades is increasing.
- AllPositions = true - trail all positions in the terminal.
- ProfitTrailing = true - trail only when a certain profit level is reached.
- TrailingStop = 100 - profit value, at which trailing enables breakeven.
- TrailingStep = 50 - trailing step.
- UseSound = false - trailing sound.
- NameFileSound = "expert.wav" - sound file name.
- Multiplicftion_Lots = 2 - lot multiplier for martingale.
- Lots = 0.1 - initial lot.
- Turbo_Lots = 0 - addition to the amount of lots.
- MaximalLot = 3 - maximum possible lot in trading.
- TakeProfit = 200.0 - order's target profit.
- Peroid_smoothing_prices = 2 - price smoothing period.
- Period_breakthrough = 22 - МА (Moving Average) breakthrough period.
- Quality_breakthrough = 4 - МА breakthrough quality. From 3 to 20. The lesser the value, the higher the signal's quality.
- Level_Stop_Martingale = 50 - the level, at which martingale is disabled. It can be changed from 5 to 100.
- Step_Orders = 50.0 - trade open step for martingale.
- Quantity_Orders = 10 - maximum possible amount of trades in case of martingale.
- Equity_Stopping = false - closing trades when the equity level is exceeded.
- Total_Equity_Risk = 20.0 - equity level, at which all trades are closed.
- Magic = 2014 - order's ID.
Strategy Tester Results
The tests were performed from 2013.08.01 to 2014.07.03 on EURUSD. The Expert Advisor earned over $10 000 starting with $2 000.
2. Stop Loss has been added.
3. Take Profit modifier has been added. When on, take profit is placed on one level for all deals.
4. Averaging logics modified: when a certain level of total profit is reached, losing orders are closed and winning orders are kept open.
5. The series of martingale orders will appear under certain conditions depending on the trend.