I am testing incorporating 3 things in my exits (and reverse for profit targets)...was wondering if you could help...
#1 I am wanting to put in the following "profit lock" exits...that is just what I call it:
***On a short trade,Looking for if the current bar's price rises above the open of the 3 bars back, then I am looking for it to exit the short position and vice versa on long positions (then, maybe the reverse for target or something similar). Do you see a better way to do this or anything wrong with this?
// TESTING Lock in profits if current trend down changes...
else if (GetCurrentBid() > Open[3])
{
ExitShort(); // OFF Need to test and see wicks etc
}
// TESTING Lock in profits if current trend down changes...
else if (GetCurrentAsk() < Open[3])
{
ExitLong(); // OFF Need to test and see wicks etc
}
// TESTING Unrealized PnL Emergency Exit Long or Short for individual instruments (not account wide) in case stop loss gets skipped, removed, or missed.
else if (Position.GetProfitLoss(Close[0], PerformanceUnit.Currency) < -300)
{
ExitLong("UnP Emr Exit Long", "");
ExitShort("UnP Emr Exit Short", "");
Disable(); // OFF
}



Comment