I'm getting different results between what I see on the charts for indicators (specifically the zigzag indicator) and what I'm getting via the jforex object that implements the IIndicators interface.
Below are the results I'm getting, so for example with a 4H period, I call indicators.calculateIndicator using 29 as the extDepth argument to get the same results I see on the 4H visual chart with an extDepth of 18. Maybe I'm using the API wrong somehow - I don't know?
1MIN 7->7 = 1.0
1H 71->119 = 1.67
4H: 18->29 = 1.6111
1D: 33->38 = 1.1515
1W: 17->17 = 1.0
1MONTH: 5->5 = 1.0
edit: above is for current GBP/USD charts
Attachment:
FiboTools.java [19.22 KiB]
Downloaded 303 times