today I wanted to share a exit strategy with you that has greatly improved overall performance for almost any system I am using. My recommendation is: add it to your existing trading-strategy and then use the Genetic Optimizer to find optimal values for both optimizable inputs for improving your Net Profit.
The strategy is pretty simply, but has boosted Net Profit for almost any of my strategies. It´s as simple as it can get, it exits a open position after X-Bars, but based on if the open position is in Profit or No Profit. This makes a huge difference compared to just existing after X-Bars and not taking into account if the position is in profit or not.
Give it a try and hope it improves your automatic trading as well:
Code: Select all
input: BarToExitOnProfit(240);
input: BarToExitOnNoProfit(240);
if positionprofit > 0 and BarsSinceEntry >= BarToExitOnProfit then begin
if MarketPosition = 1 Then Sell ( "TimeBarsProfitLX" ) next bar at market;
if MarketPosition = -1 Then Buy To Cover ( "TimeBarsProfitSX" ) next bar at market;
End;
if positionprofit < 0 and BarsSinceEntry >= BarToExitOnNoProfit then begin
if MarketPosition = 1 Then Sell ( "TimeBarsNoProfitLX" ) next bar at market;
if MarketPosition = -1 Then Buy To Cover ( "TimeBarsNoProfitSX" ) next bar at market;
End;