The indicator contain an array Pos_Diff which stored calculated positive value for each bar/candle. A WHITE histogram of low to high bars was plotted to represent each value in the array (see attached file).
The Programmer require to read Pos_Diff array and Look Back data from previous multiple weeks and search for Successful series of Positive value (White bars). If a series occur at the same time range on the same day of the week was found, there are two conditions to determine Successful series. 1) A successful series must have more bars concurred than Ignore_Bars. Ignore_Bars is use to filter Fail series. If a series contains less concurred bars than the number of Ignore_Bars, then the series consider FAIL. 2) A successful series must have the percentage of bars concurred within the LookBack weeks must be higher than the Concur_Percent. (See example in the attached file)
For example, Indicator is running on 1 minute chart. 4 weeks of data were used to Lookback. If today is Monday, 1440 bars from previous 1st, 2nd, 3rd, and 4th Monday are use to search for Successful series. Let’s say that at the time range from 10:00-10:30 of all four Monday has white bar occurred. The Result of the time range will display on the Main chart window: 10:00-10:30 @100%. If the indicator is running on 5 minute chart, use 288 bars. For 15 minute chart, use 96 bars. For 30 minutes, use 48 bars. For H1 chart use 24 bars.
Require Programmer with proficiency in MQL4. Metatrader4. Serious and Capable Programmer Please bid.