Veera
1
Dear Team,
I need Zerodha PI code for Sell… when Stochastic crossed below 80 …
Buy… when stochastic crossed above 20…
…
rjazz
2
SOPK(14, 3, 14, SIMPLE) > 80 OR SOPD(14, 3, 14, SIMPLE) > 80 (…this is for overbought region)
SOPK(14, 3, 14, SIMPLE) < 20 OR SOPD(14, 3, 14, SIMPLE) < 20 (…this is for oversold region)
- entry may be made taking into consideration the general trend and also if the price continues to remain in overbought or oversold region.
- exit may be made using PSAR
- also for general trend sma or ema of a longer period say 50,100,200 may be used.
- 14 is the no of days generally used while trading using stochastic indicator but you may suit yourself
- 3 is for smoothening so as to avoid jittery zig zags which may create false signals
- instead of different averaging as in exponential, time series etc maybe used
- also adx maybe used for ascertaining the strength of the trend thus avoiding the danger of going against trend
hope it helps Veera
In zerodha PI , how i can code for LengthRSI, LengthStoch, SmoothK and SmoothD values