OmniTrader Forum OmniTrader 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.

 
jpb

Veteran
1002525
Posts: 168

Joined: 5/11/2005
Location: Brown Deer, WI

User Profile
 
Subject : RE: Xsuite with ATM Micro Macro
Posted : 2/12/2020 7:48 AM
Post #46749 - In reply to #46748

Keith,

I haven't tried Buffalo's systems but in looking at the code, it looks like it just needs one more End If added. Jim educated me previously that within VB, IF can take multiple formats, one of them being a single line IF which doesn't need an End If. I suspect that was how OT processed one of the IF statements originally but perhaps something changed.

I've attached a small change to the sysMSMicroBullL.txt to add in another End If and indented the last If statement for easier reading/grouping of the IF statements.

I believe Buffalo's original intent was to wrap the multiple inner IF statements in one that checked for a close price greater than 0; a bad data check.

If that works for you, you can apply the same extra End If to the remaining files. I spot checked a few and they all looked uniform in format and structure.



[Edited by jpb on 2/12/2020 7:50 AM]

Attached file : sysMSMicroBullL.txt (0KB - 255 downloads)

Deleting message 46749 : RE: Xsuite with ATM Micro Macro


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