Forum

Problem with ArrayMaximum() function

hi... i try to create multi timeframe indicator , later, i want to apply it to my ea i use copyhigh() and copylow() functions to get data. but when i use arraymaximun an minimum function, it look like error please tell me what should i do here's the code #property version "1.00" #property

CopyBuffer() error

hello, i tried to use copybuffer function , that every new bar, it will copy totalbars numbers. and when not new bar, it only copy the last bar data. but it give me out of range error. how to fix it? here is my code, please check it for me. thanks in advance

delete all created objects

hello.. i've use this code to delete objects i've created.. it work on mql4 but not in mql5.. could you please help me to fix it thanks in advance.. //------------------------------------------------------------------// void deleteObjects() { int shift= ObjectsTotal ( 0 ,- 1 ,- 1 )- 1 ,strLen=

could some body please help me,, mql5

i'v modified custom simple moving average code, and try to display the average of open and close price .. but only the openbuffer displayed, and the closebuffer is always set to 0 value. please help me to fix it.. thanks alot

Nubie need help please...

i learn to code mql5 and trying to create indicator. i know there is tons indi on this web that i can use. But i just want to learn how to code it. Here i try to draw histogram and line based on average of 3 high - low value of 3 candles. But i got this weird look on my script. Could some body