Hi,

Really simple question guys lol.

I've designed a gap fading system that works reasonably well.
The entry is just very simple (one condition only to buy opening gap downs) and 
I enter at the open and exit at the close.

I've found that by examining the MFE on my losing trades, most of them were in 
profit (some significantly) during the trade but then got sold off during the 
rest of the day and ultimately was closed at a loss.

So Im thinking that with some sort of profit target, maybe 0.5-1%, the results 
would be enhanced nicely.

So my initial exit code was just.

Sell = C;
SellPrice = C;

And now I've changed it to;

Sell = 0;
ApplyStop(1,3,1,1,0);

But this produces trades that are held for ages, so can somebody please help me 
specify to exit as soon as the Profit target is reached OR exit at the close, 
whichever comes first. Some sort of If ot IIF function maybe?

Thanks.

Nizar.

Reply via email to