OmniTrader Forum - OmniTrader Technical Support
Bug #7 OT22 2M - FX PortSim Invalid PC

^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/1/2022 1:36 PM
Post #48700

Hi Folks

I’m trying to do a PortSim with FX and Heikin-Ashi 5, 15 & daily bars but I keep getting the following error:
Invalid PC




I searched the OT Pro Forums and found a similar issue reported in 2016 but supposedly that was fixed …

This is a brand new FX profile using Xenith real time data, nothing extravagant, just a single standard Reversal (Forex) strategy being used.

The OT.log was sent when closing down, hopefully with the critical diagnostics to help you identify the root cause? I've also attached the OT profile in case that is of any assistance aswell …

Please let me know if you require any additional diagnostics?

Regards
Aztrix

Attached file : Bug #7.0 OT22 2M - FX PortSim Invalid PC.jpg (20KB - 302 downloads)
Attached file : Bug #7.1 OT22 2M - FX PortSim Invalid PC.jpg (7KB - 335 downloads)
Attached file : Bug #7.2 OT22 2M - FX PortSim Invalid PC.jpg (21KB - 342 downloads)
Attached file : Bug #7 OT22 2M - FX PortSim Invalid PC.zip (199KB - 214 downloads)

^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/3/2022 3:45 PM
Post #48703 - In reply to #48700

Something having to do with timeframes corrupted the profile. I was able to fix it though - see attached.
Attached file : FixedProfile.zip (208KB - 201 downloads)

^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/3/2022 5:34 PM
Post #48704 - In reply to #48703

Excellent, thanks Barry. Can you tell me how you managed to fix it?

Cheers
Aztrix

^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 1:53 AM
Post #48705 - In reply to #48703

Hi Barry

I just had the same issue with another profile, ASX Super, do you want me to send you those details too?

Cheers
Aztrix
^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 8:48 AM
Post #48706 - In reply to #48705

The profile's database had a timeframe record in it that was saved to an invalid value. Attach the profile & I'll try to fix it.
^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 8:49 AM
Post #48707 - In reply to #48706

Will a repair database work?

^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 9:09 AM
Post #48708 - In reply to #48707

You can try it, but I doubt it. Actually I just reproduced the bug. It breaks Port Sim when you try to run it for a heikin-ashi timeframe. I'll report it.
^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 9:10 AM
Post #48709 - In reply to #48708

Thanks Barry, much appreciated

Cheers
Aztrix

^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 9:15 AM
Post #48710 - In reply to #48709

Hopefully I can get a quick fix for it, I'll let you know.
^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 10:52 AM
Post #48711 - In reply to #48710

We'll have a PR soon to address it.
^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 11:30 AM
Post #48712 - In reply to #48711

That would be great Barry ā¤

Maybe the fix for the Bug: G-TCBL (Guppy Trailing Count Back Line) Stop will be included too šŸ˜… … Nathan appears to be too busy to respond to my many emails 😢

Cheers
Aztrix

^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 2:01 PM
Post #48714 - In reply to #48712

The fix is live now. Sorry, nothing regarding that Guppy stop though.
^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Bug #7 OT22 2M - FX PortSim Invalid PC
Posted : 8/4/2022 2:03 PM
Post #48715 - In reply to #48714

Thanks for the quick turnaround Barry, I'll install and test

Cheers
Aztrix


https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=16567&posts=13