Did you look in the Experts log??
I expect that you are getting an array out of range error.
Probably here
HH[i] = iHigh(Symbol(),PERIOD_CURRENT,iHighest(NULL,0,MODE_HIGH,(EMA_Value_Period-1),i)); //---InpMAPeriod's high calculation LL[i] = iLow(Symbol(),PERIOD_CURRENT,iLowest(NULL,0,MODE_LOW,(EMA_Value_Period-1),i)); //---InpMAPeriod's low calculation
Keith Watford:
Did you look in the Experts log??
I expect that you are getting an array out of range error.
Probably here
there isn't any error in the EA log :(
I need a loop???
Ashomid7:
there isn't any error in the EA log :(
I need a loop???
Are you sure that there is no error reported in the Experts log?
Why are you asking if you need a loop what does that have to do with my reply?
Keith Watford:
Are you sure that there is no error reported in the Experts log?
Why are you asking if you need a loop what does that have to do with my reply?
I was asking, do you think that I need loop!
but loop doesn't work
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I coded a custom indicator, it works fine until new candle opens, after that indicator stops history drawing
what's wrong with it???
thanks