Options360

MACDV

Options360 已更新   
MACDV = Moving Average Convergence Divergence Volume

The MACDV indicator uses stochastic accumulation / distribution volume inflow and outflow formulas to visualize it in a standard MACD type of appearance.

To be able to merge these formulas I had to normalize the math.
Accumulation / distribution volume is a unique scale.
Stochastic is a 0-100 scale.
MACD is a unique scale.

The normalized output scale range for MACDV is -100 to 100.
100 = overbought
-100 = oversold

Everything in between is either bullish or bearish.
Rising = bullish
Falling = bearish
crossover = bullish
crossunder = bearish
convergence = direction change
divergence = momentum

The default input settings are:
7 = K length, Stochastic accumulation / distribution length

3 = D smoothing, smoothing stochastic accumulation / distribution volume weighted moving average

6 = MACDV fast, MACDV fast length line
color = blue

13 = MACDV slow, MACDV slow length line
color = white

4 = MACDV signal, MACDV histogram length
color rising above 0 = bright green
color falling above 0 = dark green
color falling below 0 = bright red
color rising below 0 = dark red

2 = Stretch, Output multiplier for MACDV visual expansion

Horizontal lines:
100
75
50
25
0
-25
-50
-75
-100
版本注释:
add cross options:
bullish macdLine crossover signalLine = green tiny circle
bearish macdLine crossunder signalLine = red tiny circle
版本注释:
10/7/23 update:
Fine tune default input lengths.
Add a total line option.
Add a PVT or AD option.
Add a bullish or bearish tiny dot option.
版本注释:
10/14/23 update:
Add 6 volume source options:
Accumulation Distribution
Price Volume Trend
Positive Volume Index
On Balance Volume
Money Flow Index
Average of all 5

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?