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
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.