Options360

MACDV

Options360 Telah dikemas kini   
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
Nota Keluaran:
add cross options:
bullish macdLine crossover signalLine = green tiny circle
bearish macdLine crossunder signalLine = red tiny circle
Nota Keluaran:
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.
Nota Keluaran:
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

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?