The PRTBANDSMEDIUMTERM function in ProBuilder language is designed to calculate and return the medium-term band of a trading instrument. This function is typically used in technical analysis to identify potential support or resistance levels over a medium-term period. The bands can help traders and analysts to understand the market’s volatility and price trends within this timeframe.
PRTBANDSMEDIUMTERM
The following example demonstrates how to use the PRTBANDSMEDIUMTERM function in a screener. This screener identifies shares where the medium-term band is ascending, after having remained constant during the previous 5 bars:
a = PRTBandsmediumterm
result = a > a[1] and summation[5](a = a[1])[1] = 5
screener[result]
This function is particularly useful for traders who focus on medium-term investment horizons and wish to analyze the stability or volatility of prices in this period. Understanding how to interpret these bands can provide insights into potential price movements and help in making informed trading decisions.