Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 537
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
There is a script:
Which does not even attempt to close a single market order currently open. Why?
It doesn't write any errors in the log:
2014.03.10 04:39:11.093 closeallmarket AUDUSD,M30: initialized
2014.03.10 04:39:10.109 Script closeallmarket AUDUSD,M30: loaded successfully
Replace
to
Hello Mr. professionals.Don't refuse a newcomer to programming, look at the code, to see if it is written correctly. Who is not too lazy to deal with it. I cannot test it in the Strategy Tester because it is multicurrency. File with the code and indicators attached to the archive.
Afternoon.
I can't make a code analogue from php to mql4:
That is, from an array.
Need to get an array
Need help.
Replace
to
Ohhhh... Man, that's another time, thanks ))))
I'm trying to write a simple EA that closes all positions on my account when it reaches specified profit or loss values in the deposit currency (I open by several symbols), but it closes positions as soon as they appear (((
I don't understand what's wrong:
Hello Mr. professionals.Don't refuse a newcomer to programming, look at the code, to see if it is written correctly. Who is not too lazy to deal with it. I cannot test it in the Strategy Tester because it is multicurrency. I attached a file with the code and indicators to the archive.
I am very interested in how a beginner is so determined to trade with such an Expert Advisor and to write a trading system that it is worth it. I don't feel sorry for the deposit?
The code shows a lot of errors without going into the trading algorithm, no attempt to optimize it.
Please find the difference between your functions CountBuy_JPY() CountSell_JPY() CountBuy_GBP() In the output of any of them you get the same result, in Buy all open Buy positions, in others all Sal ones. Try to write all these functions in one and get two linked arrays with symbols and number of orders in it.
You are as far away from the Tester as the moon. You should write scripts for each function and look what you get, then run the debugger and look at all variables. This is the only way you will be gradually moving forward
I'm trying to write a simple EA that closes all positions on my account when it reaches specified profit or loss values in the deposit currency (I open by several symbols), but it closes positions as soon as they appear (((
I don't understand what's wrong:
I'm trying to write a simple EA that closes all positions on my account when it reaches specified profit or loss values in the deposit currency (I open by several symbols), but it closes positions as soon as they appear (((
I don't understand what's wrong:
Hello Mr. professionals.Don't refuse a newcomer to programming, look at the code, to see if it is written correctly. Who is not too lazy to deal with it. I cannot test it in the Strategy Tester because it is multicurrency. File with the code and indicators attached to the archive.