Tradescript help required

Hi

I am trying to back test my trading strategy in Pi and i need help on its execution.

I follow supertrend analysis. Which i think is similar to your three white solders and three crows.

Buy Script mentioned on your website is

REF (CLOSE, 1) > REF (CLOSE, 2) AND REF(CLOSE, 2) > REF(CLOSE, 3) AND REF(CLOSE,3) > REF(LOW,3) AND CLOSE > REF (CLOSE, 1)

Sell scrip is

REF (CLOSE, 1) < REF (CLOSE, 2) AND REF(CLOSE, 2) < REF(CLOSE, 3) AND REF(CLOSE,3) < REF(HIGH,3) AND CLOSE < REF (CLOSE, 1)

I am backtesting in on Banknifty futures.

I want to add target price of +15 points and stop loss of -10 point to these scrips.

Could help me in writing code for that


Thanks and regards

Vishal Trehan
9810566122

It is not possible to add the points/ price on buy and sell scripts as targets