OPEN-SOURCE SCRIPT

Feature scaler

Feature scaler | Pine Utilities series, ready to be used in "study-on-study" fashion |

Includes min-max, normalization, standardization and unit length scaling.
One and only source: en.wikipedia.org/wiki/Feature_scaling
Endpoint inputs allow to set an interval of interest for min-max scaler.

Can be (and should be) applied to other studies, or to the chart itself. In this example, I applied min-max scaling to weighted linear regression's slope values.

Unfortunately, "All data" is still "experimental" and works only on charts where less than 5000 bars are available. max_bars_back() didn't help.

Sup TV
featurelengthminmaxnormalizationPine utilitiesscalerscalingstandardizationstatisticsUNIT

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明