find attached a chart that contains the swing indicator (Strength = 5).
The swing low of the bar 6/14 11:10 pm (marked with arrow) is $74,73.
The plot is correct and the databox also shows 74,73.
When I write a new indicator with only one line in it:
Print( Time[0]+ "\t" + Swing(5).SwingHigh[0] + "\t" + Swing(5).SwingLow[0] );
The result is incorrect, e.g.
...
14.06.2010 19:50:00 75,74 75,4
14.06.2010 20:00:00 75,74 75,4
14.06.2010 20:10:00 75,74 75,4 <-- correct: 74,19
14.06.2010 20:20:00 75,74 75,4
14.06.2010 20:30:00 75,74 75,4
14.06.2010 20:40:00 75,74 75,4
14.06.2010 21:50:00 75,31 74,19
14.06.2010 22:00:00 75,31 74,19
14.06.2010 22:10:00 75,31 74,19
14.06.2010 22:20:00 75,31 74,19
14.06.2010 22:30:00 75,31 74,19
14.06.2010 22:40:00 75,31 74,19
14.06.2010 22:50:00 75,31 74,19
14.06.2010 23:00:00 75,31 74,19
14.06.2010 23:10:00 75,31 74,19 <-- correct: 74,73
14.06.2010 23:15:00 75,31 74,19
15.06.2010 00:10:00 75,31 74,19
15.06.2010 00:20:00 75,31 74,19
15.06.2010 00:30:00 75,31 74,19
15.06.2010 00:40:00 75,31 74,73
15.06.2010 00:50:00 75,31 74,73
15.06.2010 01:00:00 75,31 74,73
15.06.2010 01:10:00 75,31 74,73
15.06.2010 01:20:00 75,31 74,73
...
The offset is 5 (Strength-setting)
This is reproducible.
Steffen

Comment