1Copy the scriptPress Copy script above, or the copy button on the code below.
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
180 lines of Pine Script v6 from examples/3D_MACD_Bar_Plot_LuxAlgo.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.
3D MACD Bar Plot [LuxAlgo] calculates exponential moving averages across ranges of fast and slow periods defined by user-selected minimum, maximum, and step parameters. The script then builds a grid of points using continuous polyline paths to render a 3D visual mesh. Inputs allow full control over EMA length ranges, baseline price offsets, spatial spacing, height scaling, and bullish/bearish color schemes.
3D surface visualization of multiple MACD configurations
Configurable fast and slow EMA length ranges with step parameters
Customizable 3D projection settings for X spacing and Z height
Dynamic color styling for bullish and bearish surface values
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast Min Length
int
5
fastMinInput
Fast Max Length
int
25
fastMaxInput
Fast Step
int
5
fastStepInput
Slow Min Length
int
10
slowMinInput
Slow Max Length
int
50
slowMaxInput
Slow Step
int
10
slowStepInput
Y Baseline Price
float
0.0
yOffsetInput
X Spacing (bars)
float
3.0
scaleXInput
Z Height (Relative to Y Spacing)
float
5.0
scaleZInput
Bullish Color
color
#089981
bullColorInput
Bearish Color
color
#f23645
bearColorInput
Grid Color
color
#808080
gridColorInput
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 Derivative Oscillator calculates a double-exponentially smoothed Relative Strength Index (RSI) and subtracts its Simple Moving Average (SMA) to form the main oscillator line. A secondary signal line is plotted using an SMA of the main oscillator values. Th
This indicator calculates a modified MACD oscillator and signal line alongside a trend EMA filter, plotting the output as a stylized column histogram in a separate pane. Instead of plotting true MACD distance, it quantifies positive and negative histogram mome
This indicator calculates and plots the standard Moving Average Convergence Divergence oscillator in a separate pane. It computes the difference between a fast and slow moving average, derives a signal line through smoothing, and plots a histogram representing
MACD-V is a volatility-normalized momentum indicator based on research by Alex Spiroglou. It calculates the standard MACD histogram and normalizes it by dividing by the Average True Range (ATR). Plotted in a separate pane as a colored histogram, it includes us
Multi-Timeframe Analysis Suite calculates trend direction and momentum conditions across five user-selected timeframes using moving averages, RSI, and Stochastic oscillators. It evaluates moving average slope and oscillator levels to compute trend alignment, m
KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev