# PhiMACD

Dilihat 4040
Here is a modified moving average which uses phi as the scaling interval between moving average periods. Each MACD line is derived by determining EMAs for 8 period frames, each of which is related to the other proportionally by phi, and calculating each line by comparing it against its immediate predecessor. Actual period values are 9 15 24 39 63 102 165 and 267
Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?
```study(title="Fibonacci Moving Average", shorttitle="FibMA", overlay=false)
ema1 = close, len = input(9, minval=1, title="Length")
out1 = ema(ema1, len)
ema2 = close, len2 = input(15, minval=1, title="Length")
out2 = ema(ema2, len2)
ema3 = close, len3 = input(24, minval=1, title="Length")
out3 = ema(ema3, len3)
ema4 = close, len4 = input(39, minval=1, title="Length")
out4 = ema(ema4, len4)
ema5 = close, len5 = input(63, minval=1, title="Length")
out5 = ema(ema5, len5)
ema6 = close, len6 = input(102, minval=1, title="Length")
out6 = ema(ema6, len6)
ema7 = close, len7 = input(165, minval=1, title="Length")
out7 = ema(ema7, len7)
ema8 = close, len8 = input(267, minval=1, title="Length")
out8 = ema(ema8, len8)

plot((out7-out8)/2, title="EMA", color=#6DE807, style=line, linewidth=2,transp=65)
plot((out6-out7)/2, title="EMA", color=#33FFFB, style=line, linewidth=2,transp=65)
plot((out5-out6)/2, title="EMA", color=#20C1FF, style=line, linewidth=2,transp=65)
plot((out4-out5)/2, title="EMA", color=#640CE8, style=line, linewidth=2,transp=65)
plot((out3-out4)/2, title="EMA", color=#FF0000, style=line, linewidth=2,transp=65)
plot((out2-out3)/2, title="EMA", color=#E8910C, style=line, linewidth=2,transp=65)
plot((out1-out2)/2, title="EMA", color=#E87470, style=line, linewidth=2, transp=65)
//
//
// E87470
// AF8BFF```

## Komentar

Excellent work good sir.

One question though:
I used the "Make your chart mine" method to save your chart because I wanted to see what the other scripts were, but most of them resulted in an error "Study not authorized", could you please explain?
Jawab
study not auth?
Jawab
Thanks man!
Jawab