Buy when stochastic is between 0-5 with target of 15% and sell when it is between 95-100 with target of 15%
No stop loss.
Thanks,
Aparna
Buy when stochastic is between 0-5 with target of 15% and sell when it is between 95-100 with target of 15%
No stop loss.
Thanks,
Aparna
Stoch cannot be below 0, neither above 100. So the below code [w.r.t. AlgoZ]-
Buy-
SOPK(9, 3, 9, SIMPLE) <= 5 OR SOPD(9, 3, 9, SIMPLE) <= 5
Buy Exit-
0.
Sell-
SOPK(9, 3, 9, SIMPLE) >= 95 OR SOPD(9, 3, 9, SIMPLE) >= 95
Sell Exit-
0.
Specifying fixed target not possible in AlgoZ.
Hello can give more details on your condition. What is target 15%?
15% movement from where the buy or sell signal is generated will be the traget
Thank you. Now how do i use this code to back test and how can i implement this on zerodha terminal?
i guess u need to contact zerodha on this
You can backtext in algo-z but need to contact Zerodha for placing orders I guess.
apps, you can backtest/ go live on upcoming platform Pi, check this: http://zerodha.com/z-connect/zerodha/bulletin-latest-at-zerodha/pi-overview-and-feedback
I TRiED TP BACKTEST THIS STRATAGY IT IS GIVING ERROR ANY REASON