I'm new to NT though I have some expirence in proggraming. I have a problem with CalculateMode.Price mode. When I have a certain condition filled I assign Variable0 to Upper and Variable1 to Lower line of Keltner Channel. Then I use SetProfitTarget(CalculateMode.Price, Variable0) and SetStopLoss (CalculateMode.Price, Variable1). However when I backtest the strategy it ignores all sl and tp.
What can be an issue here?
Thank you for help
Comment