Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Simple Indicator SMA shifted http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=200&t=51860 |
Page 1 of 1 |
Author: | Andres2012 [ Mon 10 Nov, 2014, 03:49 ] |
Post subject: | Simple Indicator SMA shifted |
Hello, I', just starting with jforex. When I try to make a simple SMA and print in the chart I must shift with -1 value to get adjust to native SMA. What am I doing wrong ? public IndicatorResult calculate(int startIndex, int endIndex) { MySMA is green and native is blue. Thanks |
Page 1 of 1 |