Library "LIB_TradeAssist" This library is a collection of assistence tools saving me the need to copy same code again and again in my various indicators and strategies.
Slop_Magnitude(val_now, val_older, mult_factor) Calculate the slop magnetude betwen current price and an older price. Since the change is usually minimal, we multiply it by def value of 3000 to make it usable.You can optionally pass other multiply factor Parameters: val_now (float) val_older (float) mult_factor (float) Returns: : Slop angle magnetude
版本注释
v2
Added: moving_avg(ma_type, price, length) - calculate moving average using one of the above - SMA, EMA, WMA, ALMA, RMA, VWMA, Parameters: ma_type (simple string) price (simple float) length (simple int) Returns: : - Moving average value
版本注释
v3
Updated: moving_avg(ma_type, price, length) - calculate moving average using one of the above - S MA, EMA, WMA, ALMA, RMA, VWMA, Parameters: ma_type (simple string) price (simple float) length (simple int) Returns: : - Moving average value