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

QualifiedSwings Indicator
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=200&t=53342
Page 1 of 1

Author:  frangonve [ Sun 15 Nov, 2015, 06:51 ]
Post subject:  QualifiedSwings Indicator

Hello,

I need an indicator so similar to the fractal indicator that for any Java programmer (that I'm not) I'm sure it will be very obvious to modify.

The intended behaviour is exactly like the fractal indicator behaviour but the fractal indicator has one parameter: Number of Bars on Sides (default value=2) and I need two parameters: Number of Bars on the Left and Number of Bars on the Right, (NBL and NBR for short).

When a candle High is higher than the High of the last NBL candles and the next NBR candles a down arrow is plotted above that candle.

When a candle Low is lower than the Low of the last NBL candles and the next NBR candles a up arrow is plotted under that candle.

I've been trying to tweak the fractal code to get this behaviour to not avail.

Please can you help me?

Cheers

Francisco

  Page 1 of 1