How to execute auto trade in Pi based on nifty spot value in nifty future?

We can code tradescript based on OHLC of the charts according to condition and we can apply for the scripts like nifty if pattern matches it generates the alerts / signals

1 Like

Went through complete document but it does not give me any clue of doing it. If u can help me with code that would be really great.

same Q by me. Can anyone help

Can you plz give code for this. My requirement is very simple. I will pass nifty spot value manually, whenver if that price crosses from above/below corresponding Sell/Buy should be triggered in NIFTY FUTURE.

you can check tradescript doc from help -> tradescript help