OPEN-SOURCE SCRIPT

Fractal-Dimension-Adaptive SMA (FDASMA) w/ DSL [Loxx]

Fractal-Dimension-Adaptive SMA (FDASMA) w/ DSL [Loxx] is a fractal-dimension-index-adaptive SMA. The SMA is accelerated during a trend and slowed down during a sideways market, so as to avoid false signals. This indicator uses the fractal dimension to compute an ingest period length into the SMA to output the FDASMA.

What is the Fractal Dimension Index?
The goal of the fractal dimension index is to determine whether the market is trending or in a trading range. It does not measure the direction of the trend. A value less than 1.5 indicates that the price series is persistent or that the market is trending. Lower values of the FDI indicate a stronger trend. A value greater than 1.5 indicates that the market is in a trading range and is acting in a more random fashion.

What are DSL Discontinued Signal Line?
A lot of indicators are using signal lines in order to determine the trend (or some desired state of the indicator) easier. The idea of the signal line is easy : comparing the value to it's smoothed (slightly lagging) state, the idea of current momentum/state is made.

Discontinued signal line is inheriting that simple signal line idea and it is extending it : instead of having one signal line, more lines depending on the current value of the indicator.

"Signal" line is calculated the following way :

When a certain level is crossed into the desired direction, the EMA of that value is calculated for the desired signal line
When that level is crossed into the opposite direction, the previous "signal" line value is simply "inherited" and it becomes a kind of a level

This way it becomes a combination of signal lines and levels that are trying to combine both the good from both methods.

In simple terms, DSL uses the concept of a signal line and betters it by inheriting the previous signal line's value & makes it a level.

Included
  • 2 Signal types
  • Alerts
  • Loxx's Expanded Source Types
  • Bar coloring
adaptiveFDIFractalfractaldimensionfractaldimensionindexMoving AveragesSimple Moving Average (SMA)sma

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Aynı zamanda::

Feragatname