I'm attempting to debug my code and I'm having an issue with the Output window and Data box showing different values.
I'm using Stochastics(Close,7,14,3).K[0]. It reads consistent on both the Output window and Data box until the Stoch hits 0. Then the Data box shows 0 and the Output window shows 2.3684757867E-14. I was curious before what the E-14 meant. For some reason the Code is not 0 on the stoch so the condition is coming back false. Any ideas why this is happening?
Thanks
PS
I tried using Math.Round on the Stoch value and that portion of my code blew up.
Comment