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
All Candlestick Patterns determines underlying market trends using configurable moving averages, including a 50-period SMA, a dual SMA 50/200 setup, or no trend filter. The indicator draws labels above or below qualifying candles based on an ATR offset, color-coded by bullish, bearish, or neutral sentiment. Users can toggle individual formations on or off and filter displays to show bullish, bearish, or both pattern types.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Detect Trend Based On
string
trendRule1
trendRule
Label Color Bullish
color
color.blue
label_color_bullish
Label Color Bearish
color
color.red
label_color_bearish
Label Color Neutral
color
color.gray
label_color_neutral
Pattern Type
string
Both
CandleType
Abandoned Baby
bool
true
AbandonedBabyInput
Dark Cloud Cover
bool
false
DarkCloudCoverInput
Doji
bool
true
DojiInput
Doji Star
bool
false
DojiStarInput
Downside Tasuki Gap
bool
false
DownsideTasukiGapInput
Dragonfly Doji
bool
true
DragonflyDojiInput
Engulfing
bool
true
EngulfingInput
Show all 40 settings
Setting
Type
Default
Variable
Evening Doji Star
bool
false
EveningDojiStarInput
Evening Star
bool
false
EveningStarInput
Falling Three Methods
bool
false
FallingThreeMethodsInput
Falling Window
bool
false
FallingWindowInput
Gravestone Doji
bool
false
GravestoneDojiInput
Hammer
bool
true
HammerInput
Hanging Man
bool
false
HangingManInput
Harami Cross
bool
false
HaramiCrossInput
Harami
bool
false
HaramiInput
Inverted Hammer
bool
false
InvertedHammerInput
Kicking
bool
false
KickingInput
Long Lower Shadow
bool
false
LongLowerShadowInput
Long Upper Shadow
bool
false
LongUpperShadowInput
Marubozu Black
bool
false
MarubozuBlackInput
Marubozu White
bool
false
MarubozuWhiteInput
Morning Doji Star
bool
false
MorningDojiStarInput
Morning Star
bool
false
MorningStarInput
On Neck
bool
false
OnNeckInput
Piercing
bool
false
PiercingInput
Rising Three Methods
bool
false
RisingThreeMethodsInput
Rising Window
bool
false
RisingWindowInput
Shooting Star
bool
false
ShootingStarInput
Spinning Top Black
bool
false
SpinningTopBlackInput
Spinning Top White
bool
false
SpinningTopWhiteInput
Three Black Crows
bool
false
ThreeBlackCrowsInput
Three White Soldiers
bool
false
ThreeWhiteSoldiersInput
Tri-Star
bool
false
TriStarInput
Tweezer Bottom
bool
false
TweezerBottomInput
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 identifies candlestick patterns on the price chart by combining price action with momentum factors and trend filters. It calculates one of four selectable oscillators: Karobein Oscillator, Money Flow Index, RSI, or Stochastic, alongside trend ru
This indicator overlays on the price chart and provides trend and momentum analysis. It calculates and plots three exponential moving averages with fixed periods of 20, 50, and 200 using yellow, orange, and blue colors respectively. The script also computes th
This overlay indicator marks a bearish hanging man candlestick on the price chart. It looks for a small real body sitting in the upper part of the range, a lower shadow at least twice the body, and no upper shadow, and only while an uptrend filter is active. T
Zen EMA Pullback Patterns identifies pullback formations relative to an Exponential Moving Average on the price chart. It detects 3-bar pullbacks consisting of three consecutive bearish bars above the EMA or bullish bars below it, as well as 4-bar micro channe
This indicator plots Bollinger Bands and smoothed HAMA candles on the price chart. It builds each candle from separate moving averages of open, high, low and close, using selectable EMA, SMA or WMA lengths. A simple moving average forms the band basis, and an
Calculates adaptive arithmetic candles by blending price data with Kaufman Efficiency Ratio smoothing and a linear regression anchor. It measures trend health using a zero-to-hundred Quality Score derived from market efficiency, regression slope, and normalize