This is my program code,l always don't know why there is a number -9500000 and my customer indicator don't generate.
As indicators don't really work if started by the debugger, copy your idea into a script and go through your code line by line.
But even correctly compiled scripts causes repeating problems in the debugger: You'll find:
2015.10.26 10:36:49.576 cannot open file 'C:\..\MQL4\Scripts\test_script02.ex4' 
Just save the script with File => Save As.. under the same name!
BTW do you know the default value of indicator buffers and how to set it: SetIndexEmptyValue()?
When I delete the line "double ratio=x1/x2;" and "*ratio",the client terminal will generate the graph normally.
But when I add the "double ratio=x1/x2;" back,the graph in the seperate window disappear and there is -950000 on the vertical axis.
To add comments, please log in or register