FXjuxe wrote:
I was just curious about the custom period option in the historical tester and if those two dates could be obtained via class attributes somehow.
JForex API does not have access to data of
Historical Tester application. If you are back-testing in Standalone JForex-API, then you can pass these settings from the back-testing program to the strategy. Consider making the both time fields
public and then assigning them the values of
dateFrom.getTime() and
dateTo.getTime() of the following example:
https://www.dukascopy.com/wiki/index.php#Standalone_JForex_API/Testing_over_a_particular_historical_time_interval