I have a pine script where I am using AlertCondition and not strategy
This is how long entry works alertcondition(BUY, title='Only Buy Signal', message='SYMBOL:{{ticker}} :TYPE:LE')
Now I am trying to set Target and SL but this don't work, certainly I am missing something. strategy.entry and strategy.exit works but , I want to set Target and SL using AlertCondition.
Your guidance is much appreciated alertcondition(SELL, title='Buy Exit Signal', message='SYMBOL:{{ticker}} :TYPE:LX :TGT:4')