The indicator utilizes the idea of adding to a bar open time the value equal to the average minimum swing from the open price for a few days or weeks, and the standard deviation from the average swing multiplied by a coefficient to determine the possible resistance level. It's vice versa for the support level.
The minimum swing relative to the open price of a day or week is the lowest of the distances High - Open and Open - Low.
Resistance level of the indicator is:
R = Open + AV + k_std * Std;
For the support level:
S = Open - AV - k_std * Std
In contrast to the methods of finding support and resistance levels using GSV ('Long-Term Secrets to Short-Term Trading' by Larry Williams, chapter: 'Greatest Swing Value'), all minimum swings of 4 and 9-day or week bars are used in calculation without separating divergent bars.
The mean swing value and its standard deviation are calculated separately for the period of four and nine bars, and at the end of calculation the indicator selects the largest sum of the mean swing and standard deviation multiplied by the coefficient. This ratio can be modified in the indicator settings window (the default is one, which means that one standard deviation is added to the mean minimal swing as a filter).
The original indicator was developed in the MQL4 language and published in the CodeBase on 26.08.2013.
Figure 1. The SR_Cloud indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/11319
The RD-ForecastOsc indicator with the timeframe selection option available in input parameters.CCMx_HTF
The CCMx indicator with the timeframe selection option available in input parameters.