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
@Raptor:
Yes, But i harly undertood because i just star to write EA. Sr for bother you.
I don't understand why my order close instantly after it star.
If you don't understand my thread you need to read the Book more . . . . the thread is just about a loop and closing orders and is very simple and clear and you still haven't taken heed of it.
Why do you try to Close your Order 4 times ? twice at Bid and twice at Ask ?
My close condition is a cobine one. But when i wrote it, it 's not work. So i separate that one.
Yeah! i got it.
i fixed my code but my order still close instantly after it star. Please show me what i wrong
In the loop where you close your Order Print these values . . . DIPlus1 DIMinus1 Main0 Rsi make sure you use DoubleToStr() to get the correct number of decimal places.
Do this. What do you get in the log ?
Can you show me the code?
Can you show me the code?
Write it yourself, post it here and I'll give my time for free to review it for you.
Are you kidding ? it's just a single line using Print() and DoubleToStr() . . .
Write it yourself, post it here and I'll give my time for free to review it for you.
Do you mean this ? But now it do not close order.
Look at your code . . . . follow it line by line, see what you have added, see why you have broken it . . . this is how you learn. Do you understand how an if statement works ? do you understand the purpose of the braces { } ?