Can this simple condition be coded for pi please

Scrip ABC is trading at 500

When stock touches 501, Place a bracket order with price 501.5 stoploss at 2 points and target at 10 points with trailing stoploss of 100 ticks/5 points.


hElLO tRaDeR,

Not Possible with Tradescript on Pi.

Tradescript has no inbuilt function to place orders , it generates only trade alerts based on candlestick conditions and the Pi software processes such alerts to bring up its own order placing mechanism. 

You can however use tradescript to generate an alert when the price crosses 500.

CLOSE > 501