octalide

[OCT] Moving Average Sigmoid Variance

Uses a weighted sigmoid function to gauge the difference between two moving averages. Useful as an additional confirmation source for following trends.

The signal line hovers between -1 and 1, -1 being a negative delta and 1 being a positive delta.
Using a minimum and maximum threshold, a trend can be identified based on how far the signal line crosses the thresholds.

The signal is optionally (enabled by default) adjusted by a "momentum", which is calculated as a moving average of the *change* of a value over time. It's a bit finicky to describe, so please take a look at how it's calculated in code if you wish to use it.

The signal, by default, is green when the value is above the threshold, red when it's below the threshold, and yellow when inside the threshold.

NOTE:
This study is extremely untuned and should not be used as the sole inspiration for taking or exiting a position out of the box.
Please play around with the many available configuration options to fine tune the output to fit your personal strategy.

Configurable options:
- All colors
- All moving average algorithms
- All moving average sources
- All moving average lengths
- Threshold values
- Signal and momentum multipliers
- Whether or not to use the momentum
- Whether or not to plot the momentum
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?