However I have ruin into a minor issue when using this in a strategy, a strategy that simply checks various indicators when a fractal is confirmed. The strategy calculates on Calculate.OnBarClose; At that time I check the _fractal.Upper[3] or _fractal.Lower[3] for a non-zero value to see if a new pivot has formed. However when a pivot forms on screen when the 3rd bar after the pivot forms, is is actually the Upper/Lower[2] value that is set. Pls see the attachment. I am new to c#. I can decipher some of your logic - but struggle in the overall context of NT8.
I can check for a value in the second position but that seems cheating. I would appreciate any insights and hopefully avoid/help others running into the same issue.
Thanks in advance, Lex
Comment