Breakout Swiss Knife

Breakout Swiss Knife

21 March 2017, 19:33
Besarion Turmanauli
2
280

This is an EA for trading breakouts, there are many similar Expert Advisors out there but this one is free and has a variety of options. 

Please make sure to test it on a live account with minimum lotsizes. It uses a smart virtual order engine to save all orders

and "revive" them at a right time, for example ( among other similar situations ) pending orders aren't deleted forever 

before weekend, they are just saved and when market reopens, they'll be resent. 


Input parameters: 


 monthsToTrade: Months To Trade ( 1 - 12 = January - February )

 daysToTrade: Days To Trade ( 1 - 5 = Monday - Friday )

 tradingHours: Hours To Trade ( 0 - 23 )

 tradeNFP: whether trade NonFarm Payrolls or not

 fridayCloseHour;

 fridayCleanArea: area of X pips to clean from orders 


 

 fastBackTest: disable all non-critical functions

 pendingExpirationPeriods: pendingExpirationPeriods ( expire POs by candle quantity )

 stopLoss;

 takeProfit;

 positionExpirationSeconds;

 minProfit: minimum profit for closing orders after expiration

 positionImminentExpSeconds:  imminent expiration in seconds


 magic;

 comment;

 trailingStop;

 trailingStep;


 adjustLong: adjust BUYSTOP entry point

 adjustShort: adjust SELLSTOP entry point

 buffer: minimum initial distance from each level to current price


Here you can see a backtest with 0.01 lots on EURUSD H1 ( 2011-2017 ) with real variable spreads and real ticks / commissions / swaps:



Please, note that on a live account slippage (which is not used in backtests) could make a substantial negative difference.

Thank you!

Besso

NOTE: in powerTrader 2 there's an additional function to only manage EA's own orders.

P.S. For safety, please test it on a separate account. 


Files:
Share it with friends: