alexgrover

Karobein Oscillator

Developed by Emily Karobein, the Karobein oscillator is an oscillator that aim to rescale smoothed values with more reactivity in a range of (0,1)

Calculation

The scaling method is similar to the one used in a kalman filter for the kalman gain.

We first average the up/downs x, those calculations are similar to the ones used for calculating the average gain/loss in the relative strength index.

a = ema(src < src ? x : 0,length)
b = ema(src > src ? x : 0,length)

where src is a exponential moving average of length period and x is src/src in the standard calculations, but anything else can be used as long as x > 0.

Then we rescale the results.

c = x/(x + b)
d = 2*(x/(x + c*a)) - 1

How To Use

It is better to use centerline-cross/breakouts/signal line.

In general when we use something smooth as input in oscillators, breakouts are better than reversals, you can see this with the stochastic and rsi.

So a simple approach could be buying when crossing over 0.8 and selling when crossing under 0.2.

Here is the balance of a strategy using those conditions, length = 50.


20 trades have been mades since the 29 oct we made 341 pips with eur/usd, of course this backtest was made during good trends period,
this result is not representative of how the strategy work with other conditions/markets.


For any questions/suggestions feel free to contact me

Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?