Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 865

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
Confused. How do I get the real profit (loss) on an open order (not a pending order) on MT4, including all commissions, swaps, etc.? (OrderProfit() + OrderSwap() + OrderCommission() or justOrderProfit() or something else? I would like to earn something after the order is closed.
How to place these volume figures on the candles in the basement window, i.e. at the bottom or make all the figures to go all as a line one horizontally in the centre if the basement doesn't work. Would be very grateful for help.
#property indicator_chart_window
I create a synthetic symbol based on EURUSD, name ZIGZAG (to avoid name conflict)
I import the minute bars, everything is successfully imported, but on re-request the number of bars is 0. There is a created file "2019.hcc" of 39 mb in the "history/symbol" folder, in the "ticks" folder everything is empty. Changed the terminal (current version of 30 May 2019), computer - everywhere does not work.
What could be the error?
I create a synthetic symbol based on EURUSD, name ZIGZAG (to avoid name conflict)
I import the minute bars, everything is successfully imported, but on re-request the number of bars is 0. There is a created file "2019.hcc" of 39 mb in the "history/symbol" folder, in the "ticks" folder everything is empty. Changed the terminal (current version from May 30, 2019), computer - everywhere does not work.
What could be the error?
Hi, how would you like to improve the MT4 article Balance on Demo version and make it editable? What would be the possibility of demo balance on your own to change. Either top up . Or withdraw the demo funds and make trading on the demo as close to real?
MetaTrader4 will no longer be updated - the development of this platform was halted long ago. At most, significant bugs are being fixed.
Go to MetaTrader5 and use TesterWithdrawal()
Hello, if there is e.g. a buystop and buylimit.
A buystop is opened, modify buylimit and set a new buystop.
Opens buylimit need to modify buystop and set a new buylimit.
I tried to do this, it opens, but error messages OrderModify error 1, OrderModify error 130. How to fix it I can not figure out. Please help me.
What are these errors associated with when testing an EA in the strategy tester in MT4?
What are these errors associated with when testing an EA in the strategy tester in MT4?