Highs is looking MOSTLY ok since we are in a downtrend, but Lows keeps putting in 1188.00?!?
And I think if we are uptrending, I get a problem with the Highs.[1]=1183.50 ,09/19 09:51:00 [ES][1]=1184.00 ,09/19 09:51:22 [ES1][1]=1183.50 ,09/19 09:51:00 Lows[ES1][1]=1188.00 Highs[ES1][1]=1186.00
[1]=1186.00 ,09/19 09:48:00 [ES][2]=1184.00 ,09/19 09:50:28 [ES1][2]=1186.00 ,09/19 09:48:00 Lows[ES1][2]=1188.00 Highs[ES1][2]=1186.75
[1]=1186.75 ,09/19 09:45:00 [ES][3]=1184.75 ,09/19 09:49:46 [ES1][3]=1186.75 ,09/19 09:45:00 Lows[ES1][3]=1188.00 Highs[ES1][3]=1188.50
[1]=1188.00 ,09/19 09:42:00 [ES][4]=1184.25 ,09/19 09:48:52 [ES1][4]=1188.00 ,09/19 09:42:00 Lows[ES1][4]=1188.00 Highs[ES1][4]=1189.75
[1]=1188.00 ,09/19 09:39:00 [ES][5]=1185.00 ,09/19 09:48:11 [ES1][5]=1188.00 ,09/19 09:39:00 Lows[ES1][5]=1187.75 Highs[ES1][5]=1191.25
[1]=1190.75 ,09/19 09:36:00 [ES][6]=1185.50 ,09/19 09:47:42 [ES1][6]=1190.75 ,09/19 09:36:00 Lows[ES1][6]=1188.00 Highs[ES1][6]=1190.75
I have a 4 range ES 12-11 chart, and added an ES 12-11 3 minute chart, and I'm examining when BarsInProgress =1 (= ES1 ).
protected override void Initialize()
{
CalculateOnBarClose = false;
Add("ES 12-11", PeriodType.Minute, 3);
...
if (Historical) return;
if ( BarsInProgress != 1)
return;
Also the indexing appears off when searching for HighestBar (even LowestBar is picking up 1188.00's )..
My HighestBar of 10 candels back, returns 6 on the 3 minute chart, but the highest bar is really on bar #5!? Do I need to subtract 1 on the highestbar and lowestbar?
LowestBar(10)=1 HighestBar(10)=6 Bars.BarsSinceSession = 216 lookback=10
Lows bar#0-1188.00,Highs bar#5-1191.25
Lows bar#1-1188.00,Highs bar#6-1190.75
Lows bar#2-1188.00,Highs bar#7-1190.00
Anyways, looking at the chart, RIGHT TO LEFT,
lows were 1183, 1183, 1184.75, 1185.50, 1186.25, 1187.75.
highs where 1184.25, 1186, 1186.75, 1188.50,1188.25, 1191.25
Highs[ES1][4]=1189.75 is WRONG.


Comment