Dukascopy
 
 
Wiki JStore Search Login

supportResistance() function - data issue failure.
 Post subject: supportResistance() function - data issue failure. Post rating: 0   New post Posted: Mon 06 May, 2024, 11:45 

User rating: 0
Joined: Mon 31 Dec, 2018, 08:31
Posts: 5
Location: United Kingdom,
Hello,

Calling the function as : double[] SR = indicators.supportResistance(instrument, pMainPeriod, OfferSide.BID, SRThreshold);
where pMainPeriod = 15mins and SRThreshold = 5.

When backtesting I get an error: "23:57:33 Strategy tester: com.dukascopy.api.JFException: Not enough data to calculate value due to long lookforward @ BOStratUSDCHFvol1.MA_PlayUSDCHFvol1.onTick(MA_PlayUSDCHFvol1.java:231)"

Presumably, it's to do with not preloading the mktdata? For backtesting, what do I need to do to resolve please?

Thanks in advance.


 
 Post subject: Re: supportResistance() function - data issue failure. Post rating: 0   New post Posted: Tue 07 May, 2024, 09:56 

User rating: 0
Joined: Mon 31 Dec, 2018, 08:31
Posts: 5
Location: United Kingdom,
Bump. Hello Support. Can I get an update please.


 
 Post subject: Re: supportResistance() function - data issue failure. Post rating: 0   New post Posted: Thu 09 May, 2024, 17:14 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
Please write about it to [email protected]


 

Jump to:  

  © 1998-2024 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