OPEN-SOURCE SCRIPT
Updated Optimal Weighted Moving Average

The Optimal Weighted Moving Average was created by Thomas Hutchinson and Peter G. Zhang, Ph.D. (Stocks & Commodities V. 11:12 (500-505)) and it is very similar to a classic weighted moving average but it uses the correlation between the input and the optimal weighted moving average output to use as the weights. Buy when the line turns green and sell when it turns red.
Let me know if you would like to see me publish any other scripts or if you want something custom done!
Let me know if you would like to see me publish any other scripts or if you want something custom done!
Release Notes
updated to make it consistent with my other indicatorsRelease Notes
fixed issue with default resolutionOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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
github.com/ooples/
Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7
Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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
github.com/ooples/
Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7
Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.