jpb![]() Veteran ![]() ![]() ![]() Posts: 168 Joined: 5/11/2005 Location: Brown Deer, WI ![]() | 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] ![]() |