Library "TypeMovingAverages" This library function returns a moving average. ma_fast ma_slow MA_selector() Example // This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org // © hapharmonic //@version=5 indicator("Test MATYPE", overlay=true) import hapharmonic/TypeMovingAverages/1 as MAType xprd1 =...
Library "multiMa" Provides function that returns the type of moving average requested. ma(type, src, len) Returns the moving average requested. Parameters: type : The type of moving average (choose one of "EMA", "SMA", "DEMA", "TEMA", "WMA", "VWMA", "SMMA", "HMA") src : The source len : The length Returns: The moving average requested or `na`