OPEN-SOURCE SCRIPT

LH → Close Above Alert

24
Detects swing highs using ta.pivothigh().

Compares the last two swing highs → if the newest one is lower than the previous one → we store it as a Lower High.

Then, if a candle closes above that stored Lower High, it triggers the alert.

Resets the level after alert to avoid duplicates.

免責聲明

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