OPEN-SOURCE SCRIPT

Adaptive Fisherized Stochastic Center of Gravity

Cập nhật
Introduction

I modified the script "Fisher Stochastic Center of Gravity" of DasanC for this indicator.
I added inverse Fisher transform, cycle period adaptiveness mode (Ehlers) and smoothing to it.
Moreover, I added buy and sell and beautified some stuff.
Lastly, it is also non-repainting!

Usage

This indicator can be used like a normal stochastic, but I don't recommend divergence analysis on it.
That fisherization stuff seems to make the graphs unuseable for that because it tries.

It works well on every timeframe I would say, but lower timeframes are recommended, because of the fast nature of stochastic.
Usually it does a good job on entry confirmation for reversals and trend continuation trades.

Recommended indicator to combine with this indicator is RSI cyclic smoothed v2.
This is the best RSI version I know. In trending market it is recommended to look more on the inner bands and in flat market it is recommended to look more on the outer bands.

When RSI shows oversold and this indicator shows a crossover of the Center of Gravity plot through the bottom line -> Long entry is confirmed
When RSI shows overbought and this indicator shows a crossunder of the Center of Gravity plot through the top line -> Short entry is confirmed

Settings

The adaptive mode is enabled by default to give you straight the whole indicator experience.
The default settings are optimized, but should be changed depending on the market.

An example:
Market has a low volatility and a high momentum -> I want a slower/higher length to catch the slower new highs and lows.
Market has higher volatility and a low momentum, -> I want a faster/lower length to catch the faster new highs and lows

Signals

Crossover
Buy -> cog crossover signalLine
Sell -> cog crossunder signalLine

Overbought/Oversold Crossover
Buy -> cog crossover lowerBand
Sell -> cog crossunder lowerBand

I use this indicator a lot, because I don't know a better stochastic on this community here.
DasanC did an awesome work with his version I used as base for this script.
Enjoy this indicator and let the profit roll! 🔥
Phát hành các Ghi chú
Added alerts
Phát hành các Ghi chú
Updated buy and sell lebel position
Phát hành các Ghi chú
Added inverse Fisher transformation (thought I already added it sry haha)
Fixed adaptive mode bug
Changed default values
Added normal stoch option
Added plots for adaptive lengths
Phát hành các Ghi chú
Added new signal mode
Separated CG and stoch plot
Added "Enable Plot" input options
Restructured inputs
Removed ehlers lib and added the calculation functions manually
Added Kalman filter

Phát hành các Ghi chú
Removed manual normalization and plot options from the inputs.
Updated the signal logic
Added min val for NET smoothing
Optimized plots
Phát hành các Ghi chú
Moved fisherization to first input group
Added "Homodyne Discriminator" as adaptive mode
Added timeframe selection
Changed stoch plot color from yellow to purple
Fixed signal mode bug
Phát hành các Ghi chú
Renamed "Cycle Period" to "Median" (adaptive mode)
Fixed wrong length plot name
Phát hành các Ghi chú
Fixed wrong Hilbert Transform calculation
Phát hành các Ghi chú
Renamed getCyberCycle() to getMedianDc()
Phát hành các Ghi chú
Fixed wrong Inphase-Quadrature Transform calculation
Phát hành các Ghi chú
Decreased Hann Window smoothing lag by smoothing price instead of the indicator
Added gradient
Phát hành các Ghi chú
Removed wrong Kalman Filter
Added T3 smoothing
Turned T3 smoothing by default on
Phát hành các Ghi chú
Made NET enableable as own option
Added tooltips
Added T3 input parameters
Optimized adaptive length algorithms
Phát hành các Ghi chú
Fixed bug where you couldn't select the other T3 type
adaptiveCOGehlerehlerscogehlerssmoothedstochasticnon-repaintnon-repaintingno-repaintStochastic Oscillatorstochasticoscillator

Mã nguồn mở

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

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

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