<<It would be nice to have a section in the iBox for indicators and formula links.>> Can you give me an example of what you're looking for? I do plan to structure the board to include as much reference material as possible, so all suggestions regarding that are welcome.
The Buy/Sell strategy should have the added condition. Write it so the current bar 0 is NOT true but the prior 9 are true. That will trigger on the first white bar after the color span. The color formula just looks at the streak of 9. I will post a better Study shortly.
Here's the Custom Study to try on the color bar chart. It will yield 3 possible values:
0 neutral -1 = Downtrend Demark count at 9 or higher +1 = Uptrend Demark count at 9 or higher
( Bar[Close,D,0] < Bar[Close,D,4] AND Bar[Close,D,1] < Bar[Close,D,5] AND Bar[Close,D,2] < Bar[Close,D,6] AND Bar[Close,D,3] < Bar[Close,D,7] AND Bar[Close,D,4] < Bar[Close,D,8] AND Bar[Close,D,5] < Bar[Close,D,9] AND Bar[Close,D,6] < Bar[Close,D,10] AND Bar[Close,D,7] < Bar[Close,D,11] AND Bar[Close,D,8] < Bar[Close,D,12] ) * -1 + ( Bar[Close,D,0] > Bar[Close,D,4] AND Bar[Close,D,1] > Bar[Close,D,5] AND Bar[Close,D,2] > Bar[Close,D,6] AND Bar[Close,D,3] > Bar[Close,D,7] AND Bar[Close,D,4] > Bar[Close,D,8] AND Bar[Close,D,5] > Bar[Close,D,9] AND Bar[Close,D,6] > Bar[Close,D,10] AND Bar[Close,D,7] > Bar[Close,D,11] AND Bar[Close,D,8] > Bar[Close,D,12] ) * 1
You should be able to paint the bars and add the lower indicator using the above formulas. If you display as a histogram it is easier to count the number of days with the first blue bar being day # 9. Any running count 8 or lower is simply displayed as 0.
I'm tinkering with the Demark perfection criteria by making the indicator also indicate +2 or -2 (beta test on above chart). Looks ok but I'm still working on it...