Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Why is zigzag's max extDepth 200?
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=81&t=50114
Page 1 of 1

Author:  lil [ Sun 29 Sep, 2013, 21:39 ]
Post subject:  Why is zigzag's max extDepth 200?

As I would be happy to use a greater value :>

Thanks

Author:  jlongo [ Sun 29 Sep, 2013, 23:45 ]
Post subject:  Re: Why is zigzag's max extDepth 200?

Hi:

The limit on indicator source code is 200...

optInputParameterInfos = new OptInputParameterInfo[] {
          new OptInputParameterInfo("ExtDepth", OptInputParameterInfo.Type.OTHER, new IntegerRangeDescription(extDepth, 1, 200, 1)),
          new OptInputParameterInfo("ExtDeviation", OptInputParameterInfo.Type.OTHER, new IntegerRangeDescription(extDeviation, 5, 200, 1)),
          new OptInputParameterInfo("ExtBackstep", OptInputParameterInfo.Type.OTHER, new IntegerRangeDescription(extBackstep, 3, 200, 1))
      };


Not know if it is by performance reasons or not... but you can create a custom indicator with this indicator code changing the limits.
The sorce code is present on JForex API

Trade well

JL

Author:  lil [ Mon 30 Sep, 2013, 11:27 ]
Post subject:  Re: Why is zigzag's max extDepth 200?

Thanks, that's the same for fractal, I'm going to override it

  Page 1 of 1