DasanC

Bandpass Cycle Indicator [Ehlers]

DasanC Telah dikemas kini   
This indicator is NOT used for entry and exit conditions when trading. Instead, it's purpose is to tell you what the state of the market is: trending or cyclical.

>WHO IS THIS FOR?
This is especially useful for strategies that use scalping or martingale betting to turn a profit. You don't want to be caught in a bullish trend with several open short orders. Algo traders welcome.

>HOW DOES IT WORK?
I'm glad you asked. It's based on Ehlers' work regarding signal filtering. Essentially, it uses a bandpass filter to reduce noise that is inherent in the market and display the underlying frequency.

First, we get rid of the high-frequency noise - think jitters, long wicks, etc... price action that usually effects EMAs and other MAs. We don't want any of that.

Next, we get rid of low-frequency noise - this is a little more difficult to picture, but we're essentially ignoring cycles (Elliot waves) from other longer time frames. We don't care if the Daily bars are just about to reverse if it doesn't affect our scalping strategy.

Finally, we find the root mean square (RMS) of the high and low points of our newly created signal (red) and plot them (black). These will act as triggers to tell us if a market is in cycle or trending.

>HOW DO YOU READ IT?
Background colors:
-Blue is cycle - you're safe.
-Red is trending down
-Green is trending up

Crossovers:
-Red above Upper Black: Uptrend
-Red below Lower Black: Downtrend
-Red in the middle: Cycle

>IS IT PREDICTIVE?
Momentum tends to pick up quickly and decline quickly, so if you'll often see a small Red or Green strip before a large price movement.
After long periods of cyclic movement (or consolidation), there isn't much momentum in the system, so any small price action will be considered a trend -> these small movements are picked up by other human traders and bots. Trading volume increases more and more until you have a swing in one direction.

So yes, it can be predictive due to the nature of signals and oscillation. Maybe not necessarily predictive of which direction price will go, but when volatility is about to increase.
Nota Keluaran:
Updated default settings.
Nota Keluaran:
Much faster execution and simpler inputs.
Also you have the option of showing crosses as trigger points.

Need Indicators/Strategies for TradingView? -> t.me/pinescripters_jobs
General questions about Pinescript? -> t.me/pinescripters
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?