OPEN-SOURCE SCRIPT

Moving Average Gap Analyzer

Telah dikemas kini
Extremely simple algorithm in order to calculate the gap between 2 simple moving averages. Analyzing perspective defines the line of color as white, green or red. This is done by checking sources of both moving averages and evaluate their past values with the mutual length respectively. Analysis is done by scoring the movements of sources.

What to expect?
- Higher the gap, higher the volatility.
- If the analysis line is green sources have been raising (most likely bull market), if the analysis line is white the market is mostly likely close to horizontal, if the analysis line is red, sources have been decreasing gradually (most likely bear market).

ps. Genuine indicator idea of me. This indicator is not a product or an idea of any group I work with. Completely clear of all types of IP.
Nota Keluaran
- Option for selecting MA type added.
Nota Keluaran
  • Script updated from Pine Script v4 to Pine Script v5
  • Dynamic moving average function moved to a library (Tools)
  • Strict variable types implemented & applied
gapmoving_averageMoving AveragesTrend AnalysisVolatilityvolatilityindicator

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian