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
Candlestick Structure [LuxAlgo] evaluates patterns such as hammers, engulfing candles, stars, haramis, tweezers, and three-method formations against minor and major trend filters using Supertrend, moving average crosses, or Donchian Channels. The indicator plots pattern labels and gradient fills directly on the price chart, colors candles according to trend conditions, and displays a summary dashboard. Users can enable or disable individual patterns and adjust trend detection lengths.
Detection of 16 classic candlestick patterns
Major trend filtering via Supertrend, EMA, or Donchian Channels
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Hammer
bool
true
hammerTog
Inverted Hammer
bool
true
ihammerTog
Bullish Engulfing
bool
true
bulleTog
Rising 3
bool
true
r3Tog
3 White Soldiers
bool
true
twsTog
Morning Star
bool
true
mstarTog
Bullish Harami
bool
true
bullhTog
Tweezer Bottom
bool
true
btmTweezTog
Hanging Man
bool
true
hmanTog
Shooting Star
bool
true
sstarTog
Bearish Engulfing
bool
true
beareTog
Falling 3
bool
true
f3Tog
Show all 32 settings
Setting
Type
Default
Variable
3 Black Crows
bool
true
tbcTog
Evening Star
bool
true
estarTog
Bearish Harami
bool
true
bearhTog
Tweezer Top
bool
true
topTweezTog
Minor Trend Length
int
10
minorDCLength
Major Trend Method
string
SuperTrend
majorTrendType
Swing Length
int
20
majorSwingLength
Short EMA Length
int
50
majorEma1Length
Long EMA Length
int
200
majorEma2Length
Super Trend Factor
float
4
majorSTFactor
Length
int
20
majorSTLength
Donchian Channel Length
int
40
majorDCLength
Color Candles
bool
false
bcTog
Bull Color
color
#089981
bullColor
Bear Color
color
#f23645
bearColor
Show Gradient
bool
true
showFill
Label Size
string
tiny
txtSize
Show Dashboard
bool
true
showDash
Location
string
Bottom Right
dashLoc
Size
string
Tiny
Size
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.
The Confluence Suite indicator draws multiple trading signals and tools directly on the price chart. It generates entry and exit signals based on selected modes and filters, with an AI signal classifier rating quality from 1-4. Additional features include smar
Ghost Channels fits dynamic parallel trend channels over a configurable lookback window using linear regression or pivot swing methods. It layers confirmation signals onto the channel geometry, detecting candlestick pattern reactions at the rails, volume-confi
This overlay indicator marks bullish and bearish chart patterns on the price chart and can hide either side. Optional filters require agreement from fast and slow EMAs, Supertrend, and ADX, plus volume, RSI, nearby pivot support or resistance, and a user-defin
This indicator segments recent price bars into defined groups and visual boxes to serve as a visual chart ruler. It includes automated trend detection with configurable angle thresholds to plot uptrend, downtrend, and range segments directly on the price chart
This indicator implements Rob Smith's TheStrat price action methodology across up to six configurable timeframes. It classifies candles into inside, directional, and outside bars, identifies patterns like hammers, shooters, and failed 2s, and calculates magnit
Price-Action Candles classifies swing structure from pivot highs and lows and colors chart candles bullish, bearish, or neutral. It marks higher highs, lower highs, higher lows, and lower lows, with a label mode that either offsets labels by the pivot length o