OPEN-SOURCE SCRIPT

Custom Extreme Support & Resistance (ORB Framework)

39
//version=5
indicator("A+ ORB VWAP EMA Master Alerts", overlay=true)

// === USER INPUTS ===
orbHigh = input.float(na, "ORB High (from LuxAlgo)")
orbLow = input.float(na, "ORB Low (from LuxAlgo)")

emaFastLen = 9
emaSlowLen = 21

// === INDICATORS ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
vwapVal = ta.vwap(hlc3)

// === CONDITIONS ===
// LONG
longCond =
close > orbHigh and
close > vwapVal and
emaFast > emaSlow

// SHORT
shortCond =
close < orbLow and
close < vwapVal and
emaFast < emaSlow

// === ALERTS ===
alertcondition(
longCond,
title="A+ LONG SETUP – ORB + VWAP + EMA",
message="A+ LONG SETUP CONFIRMED (5m close): ORB High accepted, price above VWAP, EMA 9 > EMA 21. Wait for pullback/continuation."
)

alertcondition(
shortCond,
title="A+ SHORT SETUP – ORB + VWAP + EMA",
message="A+ SHORT SETUP CONFIRMED (5m close): ORB Low accepted, price below VWAP, EMA 9 < EMA 21. Wait for rejection/continuation."
)

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。