Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 385
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
Well, I haven't found it either...
Sadness. So you have to estimate how many ticks come in 1 bar, and from that conclude - whether these are opening prices or all ticks.
Making an MT4 EA cross-platform is five minutes (once!) with the right skill. Then you test (many times) in MT5 on real or custom ticks and trade in MT4.
Hi all. Have a script that changes the TF on all open charts by choice
Need to make an approved one that changes the patterns
But for that, at least show me what a pattern is in terms of code
Hello. There is a ready-made SMI indicator. But it doesn't work. When I run it for the first time, it does, but then I have to press refresh or switch to another timeframe with every new bar. Why? Maybe this issue has already been raised here, can I just get the link? Thank you in advance.
Please explain why the order did not open.
Here are the lines from the log:
2017.11.24 20:00:00.061 '5390918': requote 1.19357 / 1.19368 for open sell 0.01 EURUSD at 1.19361 sl: 1.19848 tp: 1.18402
2017.11.24 19:59:59.515 '5390918': instant order to sell 0.01 EURUSD at 1.19361 sl: 1.19848 tp: 1.18402
The slippage is 11 pips. Slippage was set at 27 pips in the EA. Checking the order opening resulted in error 138 (new prices).
Please explain why the order did not open?
Please explain why the order did not open.
Here are the lines from the log:
2017.11.24 20:00:00.061 '5390918': requote 1.19357 / 1.19368 for open sell 0.01 EURUSD at 1.19361 sl: 1.19848 tp: 1.18402
2017.11.24 19:59:59.515 '5390918': instant order to sell 0.01 EURUSD at 1.19361 sl: 1.19848 tp: 1.18402
The slippage is 11 pips. Slippage was set at 27 pips in the EA. Checking the order opening resulted in error 138 (new prices).
Please explain why the order did not open?
Change dealing or account type to avoid these problems. You should get an account with market execution - forget about instant.
Please advise how to write a code to close the deal was not on the opposite of the signal indicator, and take profit, and the advisor would not open after closing immediately
for example a signal to enter the crossing of moving averages with different periods, take profit 50 pips. if possible in mql5
I have a code that once it reaches take profit and closes the deal immediately opens a new one, even though there is no new signal/crossing.
Using variables
the entry point condition is written
Good afternoon. Please take a look at the code. The robot does not remove horizontal lines when new ones appear
Using the variables
to write the condition of the entry point
The reason is that a counter is added to the line name which increases the value by one before it is deleted.
I see your point. How to implement line removal then. I need the lines to be deleted as soon as a new pattern with its own lines appears
Do you have any suggestions of your own?
Maybe delete first and then create? Or not delete and only change coordinates? What is the point of deleting and creating new ones?