PINE LIBRARY
Updated

movingAveragesUtilities

256
Library "movingAveragesUtilities"

get_movingAverages_data(source, length_fast, length_medium, length_slow)
  Parameters:
    source (float)
    length_fast (simple int)
    length_medium (simple int)
    length_slow (simple int)
Release Notes
v2

Added:
get_mas_color(ma_fast, ma_med, ma_slow, length_slow, length_medium, length_fast, ma_transparency)
  : Generates de color for the moving averages lines
  Parameters:
    ma_fast (float): (float): Moving average fast
    ma_med (float): (float): Moving average medium
    ma_slow (float): (float): Moving average slow
    length_slow (int): (int): Slow moving average length
    length_medium (int): (int): Medium moving average length
    length_fast (int): (int): Fast moving average length
    ma_transparency (int): (int): Transparency for the moving average line
  Returns: : Returns three colors
Release Notes
v3

Updated:
get_mas_color(ma_fast, ma_med, ma_slow, length_slow, length_medium, length_fast, ma_transp)
  : Generates de color for the moving averages lines
  Parameters:
    ma_fast (float): (float): Moving average fast
    ma_med (float): (float): Moving average medium
    ma_slow (float): (float): Moving average slow
    length_slow (int): (int): Slow moving average length
    length_medium (int): (int): Medium moving average length
    length_fast (int): (int): Fast moving average length
    ma_transp (int)
  Returns: : Returns three colors

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.