//you may do simple coding in tv to make an effective indicator with alerts using CPR.
//I feel Simple strategy or indicator is the best.
//As per me Indicator's are not good or bad. Its the Risk reward where most of the traders fail. Position sizing and Risk reward can make an indicator effective or ineffective upto an extent.
//Below is a simple code in "version 5" which can be coded.
//Condition (Amend conditions as per your requirement of Breakout/Breakdown trade or Support/Resistance based trades).
Buy= ta.crossover(close,PP)//BO trade, you need to define TC properly if want to use BO trade with TC.
Sell= ta.crossunder(close,PP)//BD trade, you need to define BC properly if want to use BD trade with BC.
//Plot
plotshape(Buy,title='Buy',text='Buy',location=location.belowbar,style=shape.labelup,size=size.tiny,color=color.rgb(27, 130, 1),textcolor=color.new(color.white,0))
plotshape(Sell,title='Sell',text='Sell',location=location.abovebar,style=shape.labeldown,size=size.tiny,color=color.rgb(233, 7, 7),textcolor=color.new(color.white,0))
//Alerts
alertcondition(Buy,"Buy","Buy")
alertcondition(Sell,"Sell","Sell")
//For NonRepaint :
//you may use previous candle closing. So that indication appears on next candle. for eg. may use close[1].
//Soon will be posting strategies on Bollinger bands, Supertrend, Envelope etc. which are simple and easy to code.
//Tc Happy Trading and Happy Coding.