PINE LIBRARY
Updated movingAveragesUtilities

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)
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
v2Added:
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
v3Updated:
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
Release Notes
v4Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
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.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
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.