LazyBear

Indicator: Forecast Oscillator & a BB extrapolation experiment

689
FOSC (Forecast Oscillator, %F) is implemented as explained by Kaufman (there are lot of representations out there, using linregs, this one is not.).

This indicator plots a 3-period smoothing of %F. When %F = 0, the trend line and prices are moving parallel to one another; when %F is above 0 the market is accelerating away from the trend line; when %F is below 0 prices are slowing down and the two series are converging.

Now on to the BB extrapolation: As you can see above, a 21-period BB on 1W shows 2 volatile areas of same length. Simple projection using the same time periods gives us a similar volatile area in another 105d. FOSC is forming a similar pattern now as of the first area. More information in the chart markings.

Interesting thing for me was how my other chart (www.tradingview.com/v/HeSyTev8/) aligned with this. Lets see how far these timelines are respected.

In the mean time, feel free to "Make mine" this and use FOSC in your charts. Appreciate any feedback / comments.

List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
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?
//
// @author LazyBear
// 
study(title = "Forecast Oscillator [LazyBear]", shorttitle="ForecastOsc_LB")
pf=100*((close[0]-close[1])/close[0])
//plot(pf, color=green)
plot(sma(pf,3), color=orange)
hline(0)