MultiCharts - Function for Normalizing Indicator Values
futures io

Categories Help    

MultiCharts Downloads / MultiCharts Indicators

Share MultiCharts indicators, EasyLanguage indicators.

Function for Normalizing Indicator Values 5 *
What follows is a function that normalizes an indicator value between a max and min value of +50/-50. This is a derivation of the normalization function as described in the section "Historical Adjustment to Improve Stationarity" within the book Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments by David Aronson and Timothy Masters.

The goal of normalization is to retain any predictive value of an indicator that gains its importance from its current value relative to recent values. This normalization process imparts stationarity on the indicator. From the text, "In most case, stationarity improves the accuracy of predictive models. (Recall that, roughly speaking, stationarity means that the statistical properties of an indicator do not change over time.)".

The attached function is in easylanguage syntax. It should be able to take any raw indicator value and normalize it by both centering and scaling it within a range of +50/-50.

Attached is a text file of the easy language code.

I hope you find this useful.

08/15/2021 v001 - corrected the function name return value to the name of the text file


Category MultiCharts 
Suggest other entries I might like
Details: Function for Normalizing Indicator Values
Category: MultiCharts 

August 14th, 2021
Size: 2.77 KB
Downloaded: 34 times


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.