Stop-loss script needed for back-testing

i am back testing a strategy long & short scripts are complete.

however , i wish to code THE FOLLOWING :-

  1. “EXIT LONG” (stoploss when i take long position ) :-

exit if market is 3 tick-sizes ,below my buy point .

  1. “EXIT SHORT” (stoploss when i take short position ) :-

exit if market is 3 ticks above by sell point .

thank you

“3 tick sizes below buy/sell point” is not possible to code in tradescript language

what is other alternate option ?
should i simply go with a cover order for commodities & bracket order for stocks , currency etc ?

Any answer to the query on alternate solution ?

its limitation of tradescript, you can check documentation here
alternately you should go with advanced programming languages like python etc,