cheatcountry

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!
Release Notes: updated to make it consistent with my other indicators
Release Notes: fixed issue with default resolution
Remove from Favorite Scripts Add to Favorite Scripts

Comments

nice one very useful
Reply
@pacpern, thank you!
Reply
Very interesting! Does it repaint?
Reply
@victobio, by default it doesn't repaint but I have added an option that allows you to change that. please let me know what you think!
Reply
Thanks a lot for posting this,
need your help,
i want to plot weighted close indicator, but its not available, can you please share the code for this indicator.
and this needs to be calculated for 14 period
please help
Thanks
Reply
cheatcountry sakaragarwal
@sakaragarwal, send me a message and I can help you out
Reply
sakaragarwal cheatcountry
@cheatcountry,
i want to plot weighted close indicator, i mean i want the code for plotting weighted close line on the chart
The Weighted Close indicator is calculated by multiplying the close by two, adding the high and the low to this product, and dividing by four. The result is the average price with extra weight given to the closing price.
/ 4
please help me with this
Thanks
Reply
cheatcountry sakaragarwal
@sakaragarwal, I will make this one of my next indicators for you
Reply
interesting, good work!
Reply
@dilace, thank you!
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out