Unlock Trading Success with AntS Expert Advisor for MetaTrader 5

Mike 2012.12.12 00:05 26 0 0
Attachments

If you're looking to enhance your trading game, check out the AntS Expert Advisor, now revamped for MetaTrader 5! You can find the source code here.

How It Works

Here’s the scoop: when prices go up, it’s a buy signal, and when they dip, it’s a sell signal. If you hit a loss, the lot size is increased to help recover. This EA determines price movements using two bars with t1 and t2 shifts based on their opening prices. If the price difference exceeds Delta_L for a buy or Delta_S for a sell, a position opens up.

Check out the performance of the EA in visual mode in the strategy tester. Figure 1 showcases the deals executed in the tester.


Fig. 1. Deals in the Expert Advisor tester.

 
Fig. 2. Results of the Expert Advisor for the last month (09.2012) on EURUSD M15.

Parameters

  • t1 - First bar shift.
  • t2 - Second bar shift.
  • Delta_L - Price difference between the first and second bars for a long position (buy).
  • Delta_S - Price difference between the first and second bars for a short position (sell).
  • TakeProfit_L - Take Profit in points for a long position.
  • StopLoss_L - Stop Loss in points for a long position.
  • TakeProfit_S - Take Profit in points for a short position.
  • StopLoss_S - Stop Loss in points for a short position.
  • Lots - Initial position volume when AutoLot is set to false.
  • AutoLot - Proportional lot input.
  • BigLotSize - Multiplier for increasing the lot size after a loss.
  • OneMult - Determines if the lot is multiplied after a loss. If false, each new position uses the multiplied lot size for profit.
  • TradeTime - Hour to enter the trading market.
  • MaxOpenTime - Maximum lifespan of the position (in hours).
List
Comments 0