|
supportResistance() function - data issue failure. |
wheelsofsteel2
|
Post subject: supportResistance() function - data issue failure. |
Post rating: 0
|
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.
|
|
|
|
|
wheelsofsteel2
|
Post subject: Re: supportResistance() function - data issue failure. |
Post rating: 0
|
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.
|
|
|
|
|
Platform Support
|
Post subject: Re: supportResistance() function - data issue failure. |
Post rating: 0
|
Posted: Thu 09 May, 2024, 17:14
|
|
JForex Master | |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|