capam

Ehlers Trend Vigor

This approach is from Dr. John Ehlers:
The trend vigor indicator is not the same as the Relative Vigor Index (RVI). Trend Vigor measures the strength of the trend relative to the cycle. The larger the value of the Trend Vigor, the more powerful the trend is relative to the cycle.

The trend vigor is the slope of the close (or any other price input) over one full dominant cycle divided by the amplitude of the dominant cycle.
Typical Approach:
offset = measured dominant cycle

close - close/amplitude

The amplitude is more complicated. It is defined as:
sqrt( (InPhase * Inphase) + (Quadrature * Quadrature) )

The Inphase and Quadrature are components derived when calculating the dominant cycle. Detailed discussion of the InPhase and Quadrature components can be found in Ehler's book, "Rocket Science for Traders" in the chapter discussing the Homodyne Discriminator dominant cycle calculation.
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?