Multicurrency mt5 error
-
Hello,
I have an issue where I get "On tick critical error"
"array out of range for xxproject.mq5"Its sporadic, when I change the dates for testing sometimes it runs the program, other times it gives me an immediate error and closes it off the bat. I thought it might have to do with historical data not being correctly accessed but I could be totally off.
https://fxdreema.com/shared/wp3aXg6M
Thanks!
-
Any help please? Is my question clear/should I include any other information?
Thank you
-
Why do you have your "CLOSE POSITION" after the CONDITION and before the BUY & SELL?
Also, why don't your buy and sell have take profits?
Are you trying to have the crossover sell when it crosses down and when it re-crosses up it closes that sell and puts a buy trade?
https://fxdreema.com/forum/viewtopic.php?f=2&t=4098
I think I'm somehow trying to do the same thing over here. Let me know what you think maybe we can learn form each others mistakes.
-
I found some problem and I think I fixed it. Is it working now?
-
Yes it is working, cannot thank you enough!
ndt113 -- yes that's the basic idea, might implement TP later.
Cheers