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.


This message cannot be deleted. It is the first message of the thread.
Administrators or moderators may choose to delete the entire thread


 
kmcintyre

Veteran
10025
Posts: 132

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

User Profile
 
Subject : bug in OL? Am I missing something?
Posted : 4/24/2019 12:09 PM
Post #30370

Please see attached png

I have been pulling my hair out trying to figure out why my #signal was not working as expected.

Today I pulled some of the suspect logic out into a #indicator so I could isolate and plot the output.

Line 26 prints the values of sK and sK1
Line 27 performs a conditional test on sK and Sk1
Line 28 prints the results of the conditional test

The conditional test on Line 27 should evaluate to false.

The logic on line 28 should not execute.

But it does.

There are many earlier iterations where the conditional logic on line 27 worked correctly. So for some reason OL logic changes as the indicator runs.

What gives? Ideas?

BTW - I have had many similar hair pulling episodes. I have ended up recoding and refactoring logic until I found something that seemed to work.. None of this exudes confidence in Ol.

I really hope I am missing something with my logic. Else I don't know that I can trust OL to develop and deploy anything.

Thanks for looking...
Deleting message 30370 : bug in OL? Am I missing something?


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