TradingView
capissimo
٥ تشرين الأول أكتوبر ٢٠٢٠ ٠٣:٥٤

WMA Dynamic 

Euro Fx/U.S. DollarFXCM

الوصف

Demonstration of a new feature that allows to change lookback period dynamically, used with WMAs. Rather than WMA any one can be used here (SMA, Alma,...) as long as its second argument supports dynamic change. If not, you have to use your own implementation of MA.
التعليقات
Docop1
Interesting function indeed. But what do you mean about the 'to use your own implementation of MA.' do you have another example perhaps ? thanks
capissimo
@Docop1, ple look up the docs (ex. here tradingview.com/pine-script-reference/v4/ and search for moving average, and you'll see at least a dozen of implementations in Pine.
المزيد