Is ther a way to name/tagg different exits inside one stratergy?
I have a stratergy i been working on for a few months and it now have 4-5 different exits for longs and the same for shorts, so when i backtesting its getting hard to find out what exit sold at what point.
I know about LongTriggered/ShortTriggered and use them alot, but it would be amazing with a StopTriggered and TraillingStopTriggered too.
Also a way to be abel to see if exit1, exit2 or exit3 was triggered.
Think i was trying with the Print function some time ago, but cant make it work.
If cSell1 then
Sell x1 Shares at Market // Or just Sell at Market.
GraphOnPrice Close as "Exit 1" Coloured("green")
endif
If cSell2 then
Sell x2 Shares at Market // Or just Sell at Market.
GraphOnPrice Close as "Exit 2" Coloured("yellow")
endif
If cSell3 then
Sell x3 Shares at Market // Or just Sell at Market.
GraphOnPrice Close as "Exit 1" Coloured("orange")
endif
That should do it. Watch for any of the coloured lines to change (vertical) position.
Have fun !
Peter