A SuperTrend-style indicator built on ATR and RMA bands that prints buy and sell signals when the direction flips, optionally filtered by a 9 and 21 EMA cross.
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
Mac Buy/Sell Indicator draws two ATR-based take profit levels, background colour and a stats table that scores past signals. A smart money layer adds support and resistance zones, break of structure and change of character labels, market structure labels, fair value gaps, a premium and discount midline, order blocks and liquidity sweeps, with a legend. All drawing is on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Max Labels to Keep
int
500
max_labels_count
ATR Length
int
14
atrLen
ATR Multiplier
float
1.5
atrMult
MA Length (Teal)
int
24
maLen
TP1 x ATR
float
1.5
tpMult1
TP2 x ATR
float
3.0
tpMult2
Show TP Levels
bool
true
showTPs
Show Background Color
bool
true
showBG
Use EMA Cross Filter
bool
true
useFilter
EMA Fast Length
int
9
emaFastLen
EMA Slow Length
int
21
emaSlowLen
Commission %
float
0.0
commPct
Show all 32 settings
Setting
Type
Default
Variable
Slippage (ticks)
int
0
slipTicks
Show Win-Rate Stats
bool
true
showStats
Show On-Chart Legend
bool
true
showLegend
Show Support / Resistance Zones
bool
true
showSR
Show BOS / CHoCH
bool
true
showBOS
Show Market Structure (HH/HL/LH/LL)
bool
true
showMS
Show Fair Value Gaps
bool
true
showFVG
Show Premium / Discount midline
bool
true
showPD
Pivot Lookback
int
5
pivotLen
Max S/R Zones
int
5
maxZones
Zone Width (ATR mult)
float
0.5
zoneWidthA
Min FVG Size (ATR mult)
float
0.5
fvgMinA
Max FVG Zones
int
3
maxFVGs
BOS Lookback Bars
int
10
bosLookback
Show Order Blocks
bool
true
showOB
Max Order Blocks (per side)
int
3
maxOBs
OB Extend Bars (right)
int
50
obExtend
Delete OB on Mitigation (close-through)
bool
true
obMitigate
Show Liquidity Sweeps
bool
true
showSweeps
Sweep Lookback Bars
int
10
sweepLookback
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 detects market accumulation phases and bottom formations over time rather than generating single-point buy signals. It evaluates five scoring components: trend loss, range formation, volatility compression, liquidity behavior, and early bullish
Imagegpt Test 1 is a comprehensive chart overlay indicator that plots buy, sell, and reversal signals along with supply and demand zones. It calculates key levels using volume pivots and features integrated Bollinger Bands alongside entry, exit, stop-loss, and
Market Dominance + Liquidity Sweep + OB is an overlay indicator that identifies Smart Money Concepts market structure elements directly on the price chart. It detects market dominance shifts, order blocks, order block touches, and liquidity sweeps based on con
This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult
This indicator plots Donchian Channel boundary lines along with dynamic fan projections directly on the price chart. It calculates the highest high, lowest low, and median price over a customizable lookback period. Whenever price establishes a new channel high
Dynamic Linear Regression calculates and plots linear regression trendlines and standard deviation channels directly on the price chart over a user-selected time period. Traders can configure static channels locked at the end time, dynamic channels that contin