if L_basic_condt
strategy.entry ("L", strategy.long , alert_message=l_buy )
if S_basic_condt
strategy.entry ("S", strategy.short, alert_message=s_buy)
strategy.close("L", when = S_basic_condt, alert_message=l_sell)
strategy.close("S", when = L_basic_condt, alert_message=s_sell)
//-------------------------------------------------------------------------------------------
When the long condition is met, i enter the market with the alert "l_buy" pop up However, when is short condition is met, only the alert "s_buy" pop up without the "l_sell" alert. I want to make it a autotrading strategy with these alerts. How to pop up the alert "s_buy" and "l_sell" at the same time.
P.S. I have already separated the long condition and short condition for alert making.