i am having trouble with EnterShortLimit() on Renko charts (or any chart maybe).
I used this line of code
//when something happens
{
EnterShortLimit(Close[0] - 2 * 2 * TickSize, "Short1");
SetStopLoss("Short1",CalculationMode.Price, Close[0] + 1 * 2 * TickSize, false);
SetProfitTarget("Short1", CalculationMode.Price, Close[0] - 6 * 2 * TickSize);
}
and EnterShortLimit() enters before it even came to correct price and then of course my stoploss is already triggered, because of price moving back. (see attachment)
The thing is, that Short is already triggered when condition happens, but it should enter when price is "Close[0] - 2 * 2 * TickSize".
Please tell me what i am doing wrong,
Thank you and
BR Uros

Comment