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
TMA Overlay draws smoothed moving averages at 21, 50, 100 and 200 bars, fills between a 2-period EMA and the 200 line in green or red to show trend, and marks bullish and bearish three line strike patterns and large engulfing candles. It also shades a trading session box, with a labeled CME open time in the Chicago timezone, using adjustable start and end times and weekday choices. Each part has its own toggle.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show 100 Line
bool
true
h100
Show Trend Fill
bool
true
trendFill
Show Bearish 3 Line Strike
bool
true
bearS
Show Bullish 3 Line Strike
bool
true
bullS
Show Bearish Big A$$ Candles
bool
true
bearE
Show Bullish Big A$$ Candles
bool
true
bullE
Show Trade Session
bool
true
ts
Timezone
string
America/Chicago
tz
Label
string
CME Open
label
analysis Start hour
int
7
startHour
analysis Start minute
int
00
startMinute
Session Start hour
int
8
startHour2
Show all 23 settings
Setting
Type
Default
Variable
Session Start minute
int
30
startMinute2
Session End hour
int
12
endHour2
Session End minute
int
0
endMinute2
Color
color
#1976d21f
rangeColor
Monday
bool
true
showMon
Tuesday
bool
true
showTue
Wednesday
bool
true
showWed
Thursday
bool
true
showThu
Friday
bool
true
showFri
Saturday
bool
false
showSat
Sunday
bool
false
showSun
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 plots price action tools directly on the main price chart. It shades candles according to Internal Bar Strength (IBS) and optional wick-length thresholds to differentiate trend bars from trading ranges. The script tracks session bar counts durin
TradeKit is an all-in-one technical analysis indicator that consolidates multiple chart overlays into a single script on the price chart. It plots up to four customizable moving averages (SMA, EMA, SMMA, WMA, or VWMA), Bollinger Bands, VWAP, and reference leve
Hercules Indicator 1.7 is a multi-filter trade signal generator designed to overlay entry conditions directly on the price chart. It evaluates engulfing candle patterns alongside multiple configurable filters, including trading session windows (Sydney, Tokyo,
This indicator colors chart bars based on a Triple Exponential Moving Average (TEMA) applied to candle body volume (candle body multiplied by volume). It categorizes market flow into trending bullish, trending bearish, or non-trending messy conditions based on
A Pine v4 indicator that draws four smoothed moving averages (21, 50, 100 and 200), a trend fill between a short EMA and the 200 average, and three line strike candle markers for bullish and bearish cases. It also shades a time-zone trading session and holds i
TMA Overlay plots four smoothed moving averages of close, with lengths 21, 50, 100 and 200, on the price chart. The 100-period line can be hidden. It fills the area between a two-period EMA and the 200-period smoothed average green or red according to which is