- Where are you getting this Pause? Live trading or within Strategy Tester.
- Why do you believe its a Pause instead of the normal waiting for the Next Tick?
- Is there any Sleep functions within the Code?
- Is there any Complicated Functions which requires allot of time?
- Did you write the Expert yourself and know everything its doing?
- Can you re-create this behavior with a sample/simple code?
- Where is the Code we cannot see?
mrmedia:
It sounds like you have a loop (for or while) that is running and running, if you want more specific help you will need to show at least some relevant parts of your code . . . and make sure you use the SRC button.
ok this is tricky, i've got an EA that "pauses" itself.
It happens between the end and the beginning of Start();
The only thing it can guess about is a function that passes by reference.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The only thing it can guess about is a function that passes by reference.
res = fn1(var1,var2,var3,var4);
double fn1( double& var1 , int& var2 , double& var3 , int& var4)
If i manually give these byref variables a value - no error.
But i'm not sure if that is because something is now not happenning
Is "pause" something that has happened before?
var1,var2,var3,var4 are all being set to 0 before the call to fn1
I changed the function to use globals and not by reference - but still a pause at end of start();