
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
Is it possible for anybody just to post a very basic py script ie. that uses either two MA's for buy and close signals and how to use SL and TP, and then hopefully it will also clear up how to go about using the ticks now as a TimeFrame
I've been trying to piece all the threads in both forums together and from what I can get in the docs, but after reading most posts of Nicholi and the rest I get a bit intimidated and it doesn't look that straight forward.
I think this will really help myself and many others also just to get a basic footing to start from and then start building and learning the more complicated aspects from there.
Really appreciate the work you guys are doing.
It can launch (open) the terminal if you targeted it with the path arg because the (subprocess) command is the same, but it cannot connect to the terminal.
you are right , had to take a break but i just check it now and , yep , all it does is open the mt4 terminal and do not login the account , i was getting confused between the logging into mt5 and mt4 ..... it would have been awesome if it worked with mt4 , but i guess metaquotes werent kidding when they were saying they are ending the support for mt4 ......
any how i guess all i can do now is to test things on mt5 ...
A question tho , is it possible to get the account number only from the metatrader logged in account?
i tried the " mt5.account_info() " but i guess it prints all of the information from the account , but i only need the account number , to compare it with a variable which also has another account number , so is it possible to get only the laccount number of logged in account?
nicholi shen:
https://www.mql5.com/en/docs/integration/python_metatrader5/mt5accountinfo_py
pardon my ignorance , but isnt it for printing all the account information , rather then just the account number ?
Why is the following happening?
MetaTrader5 package author: MetaQuotes Software Corp. MetaTrader5 package version: 5.0.31
Outputs:
None
None
Why is the following happening?
MetaTrader5 package author: MetaQuotes Software Corp. MetaTrader5 package version: 5.0.31
Outputs:
None
None
pardon my ignorance , but isnt it for printing all the account information , rather then just the account number ?
It returns a namedtuple. If you don't know how to access it's properties then you'll need to study up a bit more on how python objects work.
Forum on trading, automated trading systems and testing trading strategies
MetaTrader 5 Python User Group - how to use Python in Metatrader
MetaQuotes , 2020/05/26 12:29
MetaTrader 5 for Python 5.0.33 released:
Where is the changelog?