BTC top bottom weekly oscillator

This version uses an "oscillator" presentation, it fluctuates around the value zero.
The indicator plots 0 when the close price is near the 20 weekly moving average.
If it's below 0 it reflects the price being below the 20 weekly moving average, and opposite for above.
IT's possible to see how many times the price has hit the 0.5 coef support. In one case it hit 0.6 showing that the 0.5 support can be broken.
The indicator is calculated as Log(close / sma(close))
Instructions:
- Use with the symbol INDEX:BTCUSD so you can see the price since 2010
- Set the timeframe to weekly
Optionals:
- change the coef to 0.6 for a more conservative bottom
- change the coef to 0.4 for a more conservative top
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
thetradingparrot.com
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
thetradingparrot.com