Comment on Code your Technical Analysis strategy

Shri commented on 05 May 2013, 04:30 AM


Thank you for previous code.

I have another query.
I use MACD crossover system to buy and sell on 5 min chart of Nifty call/put Options.

When I get a signal I confirm and order is executed. In preferences I have put stoploss of 0.5.
Now how to modify the stoploss once trade is in profit .
And since this is Options trade once I get sell signal as per system will it execute the order if I confirm.

Earlier before algoZ when I traded , for options after buying I could place only either SL order or sell order and not both.
If tried to place both it gave RMS limits error for not sufficient margin.
So in algoZ should I cancel SL first for options and then confirm sell or how does it work.
Sorry for long question.
Thank you.

View the full comment thread »