How do you call two functions at the same time?
mark692:
hi guys i have 2 function
function 1 and function 2
function 1 has has a formula that the answer of that formula is will be used by function 2. My problem is that function 1 and function 2 is calculating at the same time that is why function 1 is giving the wrong answer to function 2. I want is that function 1 calculate after first then function 2 after function 1.
my two function is inside a function
void OnTick() { if (LastActionTime != Time[0]) { Function1; Function2; LastActionTime = Time[0]; } }
mark692:
In your example they are calculating one after the other, not at the same time. Post the complete code or a better example to enable us to help you.
my two function is inside a function
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
hi guys i have 2 function
function 1 and function 2
function 1 has has a formula that the answer of that formula is will be used by function 2. My problem is that function 1 and function 2 is calculating at the same time that is why function 1 is giving the wrong answer to function 2. I want is that function 1 calculate after first then function 2 after function 1.