- Search Energy EXCH
- (binned per thread starter's request) nveiling Two Cutting-EdStarted Feb 4, 2024|Recycle Bin|0 replies
DELETE
- Nicholishen replied Sep 1, 2020
When you print you need to use DoubleToString and specify the number of decimal places as well.
4 decimal places in all cases
- Nicholishen replied Sep 1, 2020
Sounds like a weird bug in your platform. Try deleting the history. Other than that you should debug using the last_error function.
Metatrader5 and Python
- Nicholishen replied Aug 21, 2020
Maybe this is what you're looking for? url
Can u turn objects on/off with mt4?
- Nicholishen replied Jul 23, 2020
I've pushed update which changes the way logging and debugging works with pymt5adapter. In short, the connected context manager can now accepts a logger object to automatically log. The messages that get logged are tab deliminated and includes two ...
Metatrader5 and Python
- Nicholishen replied Jul 21, 2020
You'll have better luck browsing/asking url
How do you write & backtest strategies with Python+TA-Lib?
- Nicholishen replied Jul 7, 2020
I would move to MT5 if you can find a decent broker who offers it. If you are successful you may want to pivot to futures and there is no such thing as an MT4 FCM. The MT5 back-tester is also less flawed than MT4. I'm currently learning pandas so ...
How can I plot/analyze MFE and MAE for MT4 Backtests?
- Nicholishen replied Jul 7, 2020
This would be pretty easy to solve with pandas and MT5. You could pass the MT4 HTML report to pandas which would automatically parse it. Then you would grab all the tick data for the time range of the report using MT5 and dump it into a dataframe. ...
How can I plot/analyze MFE and MAE for MT4 Backtests?
- Nicholishen replied Jul 6, 2020
This python script gathers multiple tick files (eg. csv files from truefx) and resamples them to OHLC. Convert tickdata to OHLC optional arguments: -h, --help show this help message and exit --path PATH, -p PATH Absolute path to the directory ...
Need "real ticks csv to timeframe bars" converter script
- Nicholishen replied Jun 29, 2020
Thanks! I've been putting off organizing my files forever so this was a looong time overdue. Since the time you commented I made some pretty big changes to the script. The first is I forgot to add .wav to the extensions so now it will grab sound ...
MQL file organizer
- MQL file organizerStarted Jun 27, 2020|Platform Tech|3 replies
Get script here -> {url} What it is: A script that gathers all your MQL files and organizes ...
- Nicholishen replied Jun 8, 2020
The first step is to never post screenshots of code when asking for debugging help, and that applies to any programming language on any medium.
got error when i try to compile mq4 file?
- Nicholishen replied Jun 8, 2020
There is also the WebTerminal... perhaps it was that which was reversed engineered instead of the desktop terminal.
Metatrader 4 API in C++
- Nicholishen replied Jun 7, 2020
The reason I ask is because I'm slightly skeptical that url is actually directly communicating with both the MT4 and MT5 trade servers, and where else are your account login credentials going? No way to know without seeing the source.
Metatrader 4 API in C++
- Nicholishen replied Jun 7, 2020
Where can one see the source code for MT4ServerAPI.dll?
Metatrader 4 API in C++
- Nicholishen replied May 30, 2020
If no args are passed to mt5.initialize (or pymt5adapter.connect) then it will connect to the the most recently launched terminal, and if no terminals are open it will launch the most recently closed terminal. There is no way to use it "headless" in ...
Metatrader5 and Python
- Nicholishen replied May 30, 2020
The source code for the python API is not 'open', but I do know that it is compiled C with exposed python bindings. The communication mechanism is built into the terminal itself and isn't exposed, and unlike other 3rd party API libraries this does ...
Metatrader5 and Python
- Nicholishen replied May 29, 2020
Interesting. Would you mind sharing the code for the MQL side? I'm wondering if it might be better to use this pattern instead of polling the terminal API...
Metatrader5 and Python
- Nicholishen replied May 29, 2020
Oh, my apologies then. I didn't realize that WaitForSingleObject is blocking. This does raise another question though. How are you handling events in your application on the other end? I assume that it is polling then?
Metatrader5 and Python