OPEN-SOURCE SCRIPT

Variable Length Moving Average

By cheatcountry
Updated
The Variable Length Moving Average was created by George R. Arrington Ph.D. (Stocks & Commodities V. 9:6 (219-223)) and I'm really loving this indicator. It is a great moving average that hugs the price very closely and it is fully adjustable to your needs. It detects signals extremely well and I have color coded the moving average line to make it very easy to interpret.

This is not to be confused with the Variable Moving Average created by Tushar S. Chande and as of now I haven't seen any other script for this moving average out there yet.

Please let me know if you would like me to write any other scripts for indicators you would like to see!
Release Notes
Changed the default max length
Release Notes
updated to match my other indicators
Release Notes
fixed issue with default resolution
Release Notes
Fixed a mistake that was pointed out to me by RedKTrader
Release Notes
Updated to v5
Exponential Moving Average (EMA)lengthMoving AveragesmovingaveragecrossoverSimple Moving Average (SMA)smastddevStandard Deviation (Volatility)variable
cheatcountry
I created the largest stock indicator library:
github.com/ooples/

Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7

Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer