Finally giving up the fight. Handing the iMAonArray(GRRRRRR) to you...don't let it kill your mind, keep a cool head... - page 2

 
ggekko:

That was the problem:

In your PP indy there was:

iCustom(NULL,0,"AMA_STL",AMAFast ...

instead of

iCustom(NULL,0,"AMA STL",AMAFast ...

I have fixed it and now works:


And here is the AMATradelevelswithMA indy:


Cheers

 

Oh, thanks, this little _ really killed a lot of time....but your eyes fixed it...

Thanks so much!

 
ErrorProgrammer:

Oh, thanks, this little _ really killed a lot of time....but your eyes fixed it...

Thanks so much!

Cheers,

;)

 
Sorry, ggekko, does it draw on charts other than H4 with you...doesn't do on my MT4...even I have now changed the file name to AMASTL.mq4 and replaced all AMA_STL with AMASTL. I think we are facing something very unprdictable here...strange.
 
ErrorProgrammer:
Sorry, ggekko, does it draw on charts other than H4 with you...doesn't do on my MT4...even I have now changed the file name to AMASTL.mq4 and replaced all AMA_STL with AMASTL. I think we are facing something very unprdictable here...strange.

There is something theoretical issue with it. Change the timeframes and look at the Data Window's values. There are strange values ...

 

Yeah must be....The AMA doesn't give a value....let me fiddle around with the bars settings....compiling it...I changed the 5000 to Bars,

DOESN'T WORK! This is slowly starting to p*** me off! I got a lot of patience but this one takes it to the limit...

OK, last try..changing Bars to Bars-1...let's see...compiling...restarting MT...attaching it to chart....works...changing timeframe....WORKS!...

Stupid mistake there...so the configuration of the AMA was the problem.

Sorry, ggekko, for wasting your time again. You really put effort in here, thanks.

Finally this topic is closed. Hopefully...

 
ErrorProgrammer:

Yeah must be....The AMA doesn't give a value....let me fiddle around with the bars settings....compiling it...I changed the 5000 to Bars,

DOESN'T WORK! This is slowly starting to p*** me off! I got a lot of patience but this one takes it to the limit...

OK, last try..changing Bars to Bars-1...let's see...compiling...restarting MT...attaching it to chart....works...changing timeframe....WORKS!...

Stupid mistake there...so the configuration of the AMA was the problem.

Sorry, ggekko, for wasting your time again. You really put effort in here, thanks.

Finally this topic is closed. Hopefully...

YEAH! ;)