Hi luminaryfi, Fantastic work!!, would it be more efficient to use global arrays, to push much of the processing into static functions. Secondly, although the line indicator advantages those looking for historical data, is there a version which uses a label overlay, or would this be problematic with the bar_lookahead?
@luminaryfi, Hello I hope you are well. As you offered me here I have a project for you. Investing based on angles and slopes is a disruptive concept but I think it is going to be a very effective technique. Here I present this script based on that model to identify trends from mild to extreme but only downward. I wonder if you can program it, I think, in an inverse way so that it can give the same signals towards the upside, although the two indicators that are consigned in a single script. I look forward to your kind comments, thank you.