OPEN-SOURCE SCRIPT
GreenPen 1.2

GreenPen MTF Confirmation
Multi-timeframe price action indicator for M1 scalping (XAUUSD)
How It Works
Draws a range box based on 7AM (GMT+7) candle open ± offset
Detects Bullish/Bearish Engulfing with wick rejection at range edges
Optional Higher TF trend filter (EMA on H2/H4)
Optional M5 confirmation — requires both M1 and M5 PA to align
Signals
🟢🔴 Circle — Raw Engulf + Wick (unfiltered, for reference)
🔺 B / S Triangle — Filtered entry at range edge
🚀 Rocket — MTF BUY Confirmed (M1 + M5 bullish PA aligned)
🔨 Hammer — MTF SELL Confirmed (M1 + M5 bearish PA aligned)
SL / TP
SL placed beyond range edge + ATR buffer
TP calculated using Risk:Reward ratio (default 1:2)
Settings
Range offset — distance from 7AM open to draw upper/lower box
Edge zone % — how much of the range counts as "edge" for entries
Trend filter — toggle higher TF EMA trend filter on/off
MTF confirm — toggle M5 confirmation on/off
Lookback — how many M1 bars to check for M5 PA alignment
Recommended
Timeframe: M1
Symbol: XAUUSD
Trend TF: H2 or H4
Multi-timeframe price action indicator for M1 scalping (XAUUSD)
How It Works
Draws a range box based on 7AM (GMT+7) candle open ± offset
Detects Bullish/Bearish Engulfing with wick rejection at range edges
Optional Higher TF trend filter (EMA on H2/H4)
Optional M5 confirmation — requires both M1 and M5 PA to align
Signals
🟢🔴 Circle — Raw Engulf + Wick (unfiltered, for reference)
🔺 B / S Triangle — Filtered entry at range edge
🚀 Rocket — MTF BUY Confirmed (M1 + M5 bullish PA aligned)
🔨 Hammer — MTF SELL Confirmed (M1 + M5 bearish PA aligned)
SL / TP
SL placed beyond range edge + ATR buffer
TP calculated using Risk:Reward ratio (default 1:2)
Settings
Range offset — distance from 7AM open to draw upper/lower box
Edge zone % — how much of the range counts as "edge" for entries
Trend filter — toggle higher TF EMA trend filter on/off
MTF confirm — toggle M5 confirmation on/off
Lookback — how many M1 bars to check for M5 PA alignment
Recommended
Timeframe: M1
Symbol: XAUUSD
Trend TF: H2 or H4
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.