Cup with Handle formation calculations using Pine.
First of all, ignore all other lines in the example chart except the two FAT lines. The two fat lines are the ones that define the Cup With handle or in the example chart: a Reversed Cup With Handle.
Note: Handle does not always develop and sometimes the final target price is reached without forming any...
This is your traditional RSI chart but with a few modifications
I added an extra zone parameter that you can specify with its own color and line customization.
There is an EMA that tracks the RSI as well.
i dont know pine script but here i used some free ones and merged them and modified some
especially smoothed stoch rsi is Good to decide when buy coz i modified it and when fast K value is over D value it changes color
visually better this way
also rsi is shown as area o histogram but if u dont like u can change to line
for stoch rsi i unclick xtrigger (d value)...