OPEN-SOURCE SCRIPT

Near New High Screener

35
A simple indicator intended to be used in a pinescript scanner to find stocks that are re reaching highs after a pullback or base formation. To use add it as a favourite indicator so it can be selected in a pinescript scanner.

In the settings you can select whether to use the highest high or highest close for the previous high (defaults to close) and whether to use the all time high or the high from the last X days (defaults to 252 days).

Once opened in a pine scanner apply to a watchlist and scan. Stocks with a positive % have broken out from a previous high today, those with a negative % are that % away from the previous high.
You can sort by the “Pct from Prev High%” column or use the scanner filter to filter for stocks between two values, for example between 0 and -5% to find stocks near a new high, or >0 to find stocks that have broken out today.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。