I am trying to calculate local extreme of price chart as well as RSI indicator.
What would be most acurate way to do so?
Taking mv avg value over small intervals and seeing where slope goes from negative to positive value? A kind of thing we learned in Calculus class a while back))
Another method would be to interate in a loop over a chart bars seeing where local mins/max are achieved...This seems mor prone to errors.
Any suggestions would be greatly appreciated.
Thanks
Comment