Search found 29 matches

iMAonArray - Coding help

Hi All, I have been learning more MQL4 and have been trying to get the hang of arrays, which is going OK but I have noticed a problem with iMAonArray. I have scoured the internet for most of the weekend and I can't find anybody else reporting the problem so I am guessing I am doing something wrong ...

Re: Supertrend indicators for MT4

For anybody that might be interested at a later date, I resolved the memory leak with replacing the code earlier in the thread with the code below and calling the iCustom as an Integer. If I am honest - I have only a little understanding as to why that may have fixed the problem - but it may help ...

Re: Supertrend indicators for MT4

Don't worry not questioning your skill at all, just am always learning, was wondering what that was. Might recheck you iCustom calls also the main trend buffer for that is #17 and if = 1 upTrend and =-1 dnTrend. Oh that's good to know, thanks MrTools, will take a look at that and see if it improves ...

Re: Supertrend indicators for MT4

One thing i don't understand is what is the <> 9999999? Never seen that before. Well MrTools - I don't have your skill but I noticed that when that particular buffer value goes 'blank' in the data window that it isn't actually zero, but seems to be something like 'infinity' ie. A massive number, So ...

Re: Supertrend indicators for MT4

Actually investigating this further, it is specifically the iCustom call to SuperTrend that is causing the problem. It is coded to make the call once every new bar, and like clockwork, every time it makes that call, the memory usage increases until of course it cannot increase any more. I also make ...

Re: Supertrend indicators for MT4

Added arrows,auto candles, and shadow lines. Hi @mrtools, can I just please check to see if anybody else is getting 'out of memory' errors with this indicator, I am running multiple instances of it and calling it with iCustom from another indicator. But after a good few hours I start to get these ...

Return to the advanced search