Has anyone out there experienced problems with the iLow() indicator function? I just recently coded an EA that compared the iLow() to the lower band of the iBand() indicator function. For both functions I used a 15 minute interval for the calculation. The actual code I utilized was the following:
When I ran this through my MetaTrader tester it gave me a close trade indication with the bar's Low at 1.41471 and the lower Bollinger Band at 1.41262.
Am I coding this indicator function incorrectly?
Inserted Code
if (iBands(NULL,15,pibandu,2,0,PRICE_CLOSE,MODE_LOWER,0) > iLow(NULL,15,0)) {sc31=1;}
When I ran this through my MetaTrader tester it gave me a close trade indication with the bar's Low at 1.41471 and the lower Bollinger Band at 1.41262.
Am I coding this indicator function incorrectly?