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.

 
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: bug in OL? Am I missing something?
Posted : 4/26/2019 7:41 AM
Post #30378 - In reply to #30377

Ok. Next step is to check the Temp folder file (same name as the one in indicators folder). That’s the “true VB” code which the parser creates. If that file has an error, it means the parser translated the OL code improperly. If it has no error then the problem lies either in the data or in the library.

Also, anyone who does a lot of OL coding can learn a lot about how OL works by reviewing that file. Pay special attention to the main bar-loop.

Re if/then syntax - in the past, with more complex code than this, I’ve seen anomalies appear when the “then” is left off. Remember that even though something may work properly in true VB, it doesn’t always follow that the parser handles it the same way.
Deleting message 30378 : RE: bug in OL? Am I missing something?


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