|
Support / Resistance indicator returns NaN |
Carbunkle
|
Post subject: Support / Resistance indicator returns NaN |
Post rating: 0
|
Posted: Tue 20 Nov, 2012, 21:26
|
|
User rating: 0
Joined: Sun 11 Nov, 2012, 17:50 Posts: 2
|
Hi support,
Not sure what happened but the supportResistance indicator now returns "NaN". There was no problem before and I didn't change my code. Here is the code I use
public void onTick(Instrument instrument, ITick tick) throws JFException { double[] SR = indicators.supportResistance(instrument.EURUSD, Period.ONE_MIN, OfferSide.BID, 0); double currentRes = SR[0]; double currentSup = SR[1]; console.getOut().println(currentSup); }
Thanks
|
|
|
|
 |
Platform Support
|
Post subject: Re: Support / Resistance indicator returns NaN |
Post rating: 0
|
Posted: Tue 04 Dec, 2012, 12:40
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
This question should be asked in the Automated trading section of the forum.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|