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
how to write open only 1 way ??
because my ea open both direction position, buy and sell.
i just edit the code and add the else; on there,
is it correct ??
here is the code .
finally done the variable problem,
now is only
( - function definition unexpected
) - unbalanced right parenthesis...
is it l left put ( and ) on my code??
You have this . . . .
. . . where is your closing } ?
the error is
ExistPositions - expression on global scope not allowed
and } - unbalanced parentheses.
just wonder why the error always change ??
after i fixed this,
then error there.
after fixed there,
error here.
the error is
ExistPositions - expression on global scope not allowed
and } - unbalanced parentheses.
OK, you have this function declared . . . I have adjusted the indenting to make it easier for me to read . . .
this code . . . this function declaration . . . must be outside of any other function, so it must be outside of start, init, deinit, etc.
just wonder why the error always change ??
after i fixed this,
then error there.
after fixed there,
error here.
OK, you have this function declared . . . I have adjusted the indenting to make it easier for me to read . . .
this code . . . this function declaration . . . must be outside of any other function, so it must be outside of start, init, deinit, etc.
still the same error...
ExistPositions - expression on global scope not allowed
and } - unbalanced parentheses.
where should i change ?
where should i change ?
I don't know . . . show you full code.
Agree !. W/o full code, we can't help much, so don't expect more.
Combed with MetaEditor 5.
Maybe this should be written like this ???