I'm trying to find the moment an range bound indicator (between 0 - 100) value crossed above a previous peak made by that indicator. I can find the most recent without issue, but I'm having a difficult time finding a previous instance.
if(indicator_value[1] < indicator_high && indicator_value[0] > indicator_high){ do something }
How does one make those past peaks unique? I did create a DataSeries for each peak.
In addition how might one mark each those conditions in a unique way without using a variety of variables? Thanks.
Comment