Part of my code reads:
if (Close[0] < Pivots(PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 20).S1[0]
&& Close[0] > Pivots(PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 20).S2[0]
.....yet, it takes a trade even if the close is well below S3?? Any ideas?

Comment