I use in my strategy the 60 minutes timeframe
The EXIT is defined as follows:
//2.4 Short profit:
if (Position.MarketPosition == MarketPosition.Short
&& GetCurrentBid() <= Position.AvgPrice - Gain3 * TickSize)
{
ExitShort("PT-ShortTA3", "Short3");
}
The (bid-) price touches the defined exit price, but nothing happens.
The position is closed at the opening price of the next candle.
What I need to change that closing of this position within the current candle is carried out?
Comment