Target and Stoploss Box are not visible


#1

Hi

I am unable to see the target and stoploss box along with long and short strategy. Please let me know how to resolve it


#2

Hi Mohit,
The target and stoploss can be activated by selecting the Bracket order from the Settings menu present on right top of the Create Strategy Page
There are 2 methods of setting the target and stoploss.
Method 1: Fixed percentage wise
This is the default option for Bracket Order. You can set percentages like 1%, 1.5% 2% etc in the Target and Stoploss boxes.

Method 2: Dynamic Formula Based
This can be done by selecting YES in the DYNAMIC TARGET/STOPLOSS through Settings menu present on top right page of Create Strategy.
An example of dynamic formulas are:

  1. For Targets in Long positions: buy_price+ 5*trading_cost + sma(close,5)/sma(close,10)
    This expression will first calculate the trading costs associated and the simple moving averages for past 5 and 10 time periods, and then sum all the individual mathematical formulas to give a number as an output that is automatically set as the Target.
    2.For Stoploss in Long positions:buy_price- 5*trading_cost - sma(close,10)/sma(close,5)
    Similarly, this expression will first calculate the trading costs associated and the simple moving averages for past 5 and 10 time periods, and then substract the trading costs and the output of division of sma(close,10)/sma(close,5) from the buy_price to give a number as an output that is automatically set as the Stoploss.