1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
EMA ATR Confluence Alert By Pankaj plots three Exponential Moving Averages: 9-period fast, 20-period slow, and 200-period trend filter. Signals trigger on EMA 9 crossing above 20 for long or below for short, confirmed when the absolute EMA difference exceeds ATR 14 times 0.25 within up to three bars after the crossover. Only active during 6 AM to midnight IST on allowed timeframes; dead periods shade the background with no signals or plots. The 200 EMA provides longer-term trend context.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Dead Period Start Hour (IST)
int
0
deadStartHour
Dead Period Start Minute (IST)
int
0
deadStartMinute
Dead Period End Hour (IST)
int
6
deadEndHour
Dead Period End Minute (IST)
int
0
deadEndMinute
EMA 9 Length
int
9
len9
EMA 20 Length
int
20
len20
EMA 200 Length
int
200
len200
EMA Source
source
close
emaSource
ATR Period
int
14
atrPeriod
ATR Multiplier
float
0.25
atrMultiplier
Max Bars to Wait After Cross
int
3
maxBarsAfterCross
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator estimates gamma exposure levels and intraday context for index instruments like SPY and ES. It calculates VWAP with standard deviation bands as a gamma flip proxy, highlighting market regimes through background colors. It plots prior day high, l
An institutional order block and EMA pullback indicator designed for GBPUSD on the 1-hour timeframe. It filters trading signals based on specific London and New York session kill zones, ATR volatility thresholds, signal quality metrics, and day or hour multipl
This indicator calculates a session-resetting Volume Weighted Average Price (VWAP) along with inner and outer standard deviation bands plotted directly on the price chart. It provides bar-close confirmed visual signals for VWAP crossovers, pullback reclaims fo
The Hampel Filter indicator identifies and filters out price outliers to smooth price data directly on the main chart. It calculates the rolling median and Median Absolute Deviation (MAD) of the chosen source series over a specified length. When a data point e
This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre