Hi Geevar, you need to write the below code for your logic:
Symbol: NIFTYCALL TYPE: LX
Symbol: NIFTYPUT TYPE: LE
For more info, plz check the below link:- https://mycoder.pro/apibridge/how-to-set-powerful-algo-alerts-in-tradingview/180
For your references, going forward you can drop a mail to "firstname.lastname@example.org" or can visit our Support portal for such queries.