Hi,
i’m running a system that defines X with each new candle and i use the command: “set target pprofit X” . Watching my system live, I can see the stops changing with every candle.
But the Backtest defines X only at the last candle before the “buy” command (in other words: When the System is not onmarket). That means “Set target pprofit x” is not changing anymore when onmarket – in opposite running that live.
Next i tried this one (only in the Backtest):
“if onmarket then
set target pprofit X
endif”
That doesn’t work in the backtest. No target is defined.
How can I change that?
Thanks for your ideas / answers…