OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
kmcintyre

Veteran
10025
Posts: 132

Joined: 9/12/2007
Location: Valley Center, CA

User Profile
 
Subject : RE: bug in OL? Am I missing something?
Posted : 4/25/2019 6:31 PM
Post #30374 - In reply to #30370

Please see attached png files...

If I use line 28 - the "<=" condition the condition evaluates INCORRECTLY

If I use line 29 - the "<" condition, the conditional evaluates correctly

Looks like a bug to me...

Barry, Angela?

BTW - Line 28 does not fail every time. That would be too easy! I had to walk through the chart, bar by bar, until I found a case where the STO() should have generated a specific state, but my indicator was showing a different state.

Intermittent errors like this are the worst kind to have. They only show up during runtime - sometimes. That leads to a lot of head scratching and unstable code.

And if one doesn't do a LOT of test and verification, it is really easy for one to assume code is working when it really is broken.

Further, it totally undermines confidence in the resultant executables.



Thanks


[Edited by kmcintyre on 4/25/2019 6:56 PM]

Attached file : indDeug.txt (1KB - 455 downloads)
Attached file : OL bug 4.png (87KB - 489 downloads)
Attached file : OL bug 3.png (88KB - 488 downloads)

Deleting message 30374 : RE: bug in OL? Am I missing something?


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.