Hai I done Script for SMA cross over for Buy and Sell Signals. But i have to set Buy Target (0.3% from SMA Crossover Candle High Price) and Buy Stoploss (SMA Crossover Candle Low Price) and simillarly for Sell side.Is it possible?
Hi @anto008,
Its possible. Use the simple mathematical calculations to calculate stoploss and takeprofit points. It’s as easy as we do for manual trading.
use kite.place_order to place your orders when you are using algo to place your orders. in that you will get various parameters to pass like stoploss , takeprofit, order type etc
Please Experiment with small quantities while you will get everything understood.
Thanks