Dukascopy
 
 
Wiki JStore Search Login

Historical Tester vs Bottom tabs
 Post subject: Historical Tester vs Bottom tabs Post rating: 0   New post Posted: Thu 22 Nov, 2012, 13:09 

User rating: 3
Joined: Mon 05 Nov, 2012, 11:56
Posts: 80
Location: Germany,
Hi Support,

I'm using two buttons on my bottom tab to control my strategy on the fly. It works fine when my strategy works as stand alone, but when I execute it under the Historical Tester it returns null at the following line:

 IUserInterface userInterface = context.getUserInterface();
.............................................................................................
 JPanel tab = this.userInterface.getBottomTab("MySettings");


so the second line returns null to the tab variable, and of course the bottom tab does not appear at all! It should have appeared next to Historical Tester tab....

Could you advice me please why it returns null and where should I place my buttons if the bottom tab function does not work under "Historical Tester" ? any example?

Thanks in advance!


 
 Post subject: Re: Historical Tester vs Bottom tabs Post rating: 0   New post Posted: Tue 04 Dec, 2012, 12:30 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
It is not supported in the historical tester


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com