Forum

Yet another problem with arrays

I am having problems with storing data in arrays in an EA. i think i've done everything OK, but it is obvious i haven't and i can't see where the problem is. I hope anyone sees what i am doing wrong: //+------------------------------------------------------------------+ //|

HELP WITH CODE

Hello everybody, It took time to me to learn good old mql4, then stayed some time away from it, and now that i come back i find it all changed. Far from discouraging, I am trying to use this changes to learn a little bit more than what i used to know.. Thus, i before only programmed few indicators

Problem when indicator draws on bar 0

So i designed a simple indicator which is more less a MACD applied on KAMA averages. Everything looks to work fine except for one thing: when it comes to draw the indicator its value is always a constant 1. I don't know if it is a problem with the drawing code or a problem with the value of the

I want to calculate the standard deviation of ATR in my EA

How can i use the an indicator array as symbol for another indicator inside my EA? Example: i want to calculate the standard deviation of ATR (or any other indicator/custom indicator). How can that be done