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:
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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:
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?