New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Scanning for a particular Stock's all time high indicator
Scanning for a particular Stock's all time high RSI for the entire history of that stock.
https://support.stockcharts.com/doku.php?id=scans:advanced_scan_syntax:min_max_scans#:~:text=The Min() and Max,a set period of time.
Note that alerts do look for data for a specified symbol, but alerts look at incoming data, not historical data.
You could run multiple scans looking for say a monthly max RSI over some level over say a year. But it would probably be faster to just review a monthly chart. You may need a pro level subscription to go back far enough to see AAPL's whole history.
But to get the current value is max value in a scan:
[group is sp500]
and [monthly RSI(14) = monthly max(12, monthly RSI(14))]
That says, the current monthly RSI is the highest in twelve months.