PROTECTED SOURCE SCRIPT
已更新 DJ 2H Morning/Evening Star Confluence

This Pine Script is a 2H Morning Star / Evening Star confluence indicator for Forex and other markets.
It scans the 2-hour chart for high-probability reversal patterns (Morning Star bullish, Evening Star bearish) and only signals when multiple filters align:
Higher-timeframe trend bias from the 4H EMA and optional Daily candle direction
Significant liquidity sweep before reversal
RSI overbought/oversold or divergence
London/New York session timing filter
It plots clear buy/sell markers, suggested entry/stop levels, optional risk-reward guides, and includes alert conditions so you can be notified instantly when a setup forms.
It scans the 2-hour chart for high-probability reversal patterns (Morning Star bullish, Evening Star bearish) and only signals when multiple filters align:
Higher-timeframe trend bias from the 4H EMA and optional Daily candle direction
Significant liquidity sweep before reversal
RSI overbought/oversold or divergence
London/New York session timing filter
It plots clear buy/sell markers, suggested entry/stop levels, optional risk-reward guides, and includes alert conditions so you can be notified instantly when a setup forms.
發行說明
added a toggle that highlights the previous 5 bars each time a valid setup triggers. It draws a translucent box spanning the highest-to-lowest range of those 5 bars, color coded for bullish or bearish signals.發行說明
How to pinpoint your missed sell:Keep showRejected = ON.
If you see ES×, the label above the bar tells you the first failing gate:
no sweep → candle-1 didn’t take out a prior high within lbSweep.
HTF trend → 4H EMA slope or price vs EMA wasn’t bearish.
RSI → RSI filter blocked it.
session → outside your set hours.
If there’s no ES× either, then it wasn’t a valid raw Evening Star per rules — most commonly candle-2 body too big or candle-3 didn’t close below candle-1 midpoint.
Tweak quickly:
For crypto, keep session OFF and Daily bias OFF.
If your style doesn’t require a sweep, set Require liquidity sweep = OFF.
To allow more signals, set minBodyATR = 0.3 and smallBodyATR = 0.3.
Run this on the bar you circled. The reason label will tell you exactly why it didn’t trigger.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。