MetaTrader 5 Python User Group - how to use Python in Metatrader - page 50
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
Look at the error code - it is clearly indicated.
Aren't you confusing pending orders like buy limit and opening a position? These are different functions
Look at the error code - it is clearly indicated.
Aren't you confusing pending orders like buy limit and opening a position? These are different functions
Renat, thank you, that's right, I confused them. I have reached the "positions total" function and have understood it.
But the problem with sending orders still remains, e.g. "retcode=10030"(I have found an unsupportedorder type in the amount left).
I don't understand what's wrong, because I copied the example from the directory(
I'm sorry.
Got it)
In the example,ORDER_FILLING_RETURN was specified instead ofORDER_FILLING_FOK
Gentlemen, can you post info on what and when ex-chains can be generatedby MetaTrader5?
Let's keep it brief for now, the method is an excepshin.
We get RuntimeError: Terminal: Authorization failed, but not false
Gentlemen, will you please tell me about the description of the excelshin hierarchy?
Gentlemen of the developers, will you please give us a description of the action hierarchy?
This point is rewritten, there won't be an exception anymore, there will be an analogue of GetLastError() to get error description by string and return codes.
Hmm, it's a pity the use of the libs is not as an extension to the terminal functions, it would be convenient to use the standard python constructs.
Ok ... we'll adjust.
A strange glitch has been occurring over the last few days. The first time I start the terminal, the script starts and runs normally. I remove the script and install another one. I take it off and put the first one back on, I get an error and the scripts stop working. In the application log error and list of modules in the environment that I use.
Can you tell me where and what I need to fix?
The question goes away. I struggled to figure out this "kolhoza". It seems to be working fine.
You can run one script on one chart. Right?
A new build of the python library 5.0.25 has been released
Please update via: