When price breaks to the upside, and the ShowEveryNthNumber is set to True, the bar numbering is correct. However, when price breaks to the downside, even though ShowEveryNthNumber is set to True and ShowOddNumbers is set to False, the bars are numbered according to the ShowOddNumbers Else If logic. This has been confirmed with Print output.
I am at a loss to understand why that section of code is being invoked, and why only for downside breakouts. ScriptingSupport has told me I need to run debug, but that is beyond my skillset.
Any help would be much appreciated. I've attached the code. At this point it's more of a puzzle and learning exercise than a necessity.
Vicki

Comment