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!
הערות שחרור: updated to make it consistent with my other indicators
הערות שחרור: fixed issue with default resolution
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

תגובות

nice one very useful
השב
@pacpern, thank you!
השב
Very interesting! Does it repaint?
השב
@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!
השב
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
השב
cheatcountry SCALPER_PRO_TRADING
@SCALPER_PRO_TRADING, send me a message and I can help you out
השב
@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
השב
cheatcountry SCALPER_PRO_TRADING
@SCALPER_PRO_TRADING, I will make this one of my next indicators for you
השב
interesting, good work!
השב
@dilace, thank you!
השב