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
MACD-X Overlay More Than MACD supports four MACD calculation modes—Traditional, AS Histogram, Leader, and Source—with customizable fast, slow, and signal moving average lengths. Users can adjust the overlay's placement, height, and vertical alignment to fit below or above price action. Note that pattern detection modules may repaint historical lines and shapes as price updates.
Overlaid MACD oscillator directly on the price chart
Four MACD calculation methods including Leader and Histogram
Customizable vertical height and placement alignment
Multi-depth Zigzag inputs for chart pattern tracking
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
MACD Calculation Method
string
MACD-SOURCE
macdType
Fast Length
int
12
fast_length
Slow Length
int
26
slow_length
Source
source
close
source
Signal Smoothing
int
9
signal_length
Oscillator MA Type
string
EMA
sma_source
Signal Line MA Type
string
EMA
sma_signal
Display MACD/Signal Corsses
bool
false
macdSigCross
Highlight MACD/Signal Area
bool
false
highlight
Overlay Indicator Display Length
int
200
lookbackLength
Placement
string
Bottom
oscPlacement
Hight
int
7
Hight
Show all 40 settings
Setting
Type
Default
Variable
Vertical Indicator Position
int
3
verticalAdj
Trend Length
int
10
length
Set Targets
int
0
target
openSource
source
open
openSource
highSource
source
high
highSource
lowSource
source
low
lowSource
closeSource
source
close
closeSource
useZigzag1
bool
true
useZigzag1
zigzagLength1
int
8
zigzagLength1
depth1
int
55
depth1
useZigzag2
bool
false
useZigzag2
zigzagLength2
int
13
zigzagLength2
depth2
int
34
depth2
useZigzag3
bool
false
useZigzag3
zigzagLength3
int
21
zigzagLength3
depth3
int
21
depth3
useZigzag4
bool
false
useZigzag4
zigzagLength4
int
34
zigzagLength4
depth4
int
13
depth4
Number of Pivots
int
5
numberOfPivots
Error Threshold
float
20.0
errorThresold
Flat Threshold
float
20.0
flatThreshold
Last Pivot Direction
string
both
lastPivotDirection
Verify Bar Ratio
bool
true
checkBarRatio
barRatioLimit
float
0.382
barRatioLimit
Avoid Overlap
bool
true
avoidOverlap
Repaint
bool
false
repaint
Channels
bool
true
allowChannels
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 calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
This indicator collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period
This overlay indicator marks CALLS and PUTS labels on the price chart when a strict boolean gate of price structure, momentum, volatility, breadth, and candle confirmation all pass. It plots an EMA ribbon with cloud fill, session-anchored VWAP and standard-dev
This script provides an indicator-based backtesting engine framework that simulates trade entries, exits, and filtering directly on the price chart. It evaluates selected entry rules and multi-layered filters, including moving average trends, volume increases,
This indicator combines pivot-based support and resistance levels with multi-timeframe MACD crossovers and a higher-timeframe exponential moving average trend filter. It identifies support and resistance touches using pivot highs and lows within a user-defined