Questions from Beginners MQL5 MT5 MetaTrader 5 - page 586
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
Use a variable of enumeration type ENUM_TIMEFRAMES.
Use a variable of enumeration type ENUM_TIMEFRAMES.
Can I leave only a few of all the primes in the list? So, when selecting parameters in settings, I will see only two, for example.
You can, but you have to write your own enumeration
For mql4, instead of ORDER_TYPE_BUY, we should write OP_BUY, respectively, for Sell
You can, but you have to write your own enumeration
For mql4, instead of ORDER_TYPE_BUY you should write OP_BUY, respectively, for Sell
Please advise how to fix this error
Modification of order #1506271459 buy 0.11 EURJPY at 122.824 sl: 0.000 tp: 0.000 -> sl: 0.000 tp: 122.843 failed [Invalid S/L or T/P]
OlegKirill:
Please advise how to fix this error
Request of order #1506271459 buy 0.11 EURJPY at 122.824 sl: 0.000 tp: 0.000 -> sl: 0.000 tp: 122.843 failed [Invalid S/L or T/P]
It depends on what it is, if the stop is set less than the minimum and the terminal returns zero stop, then it is difficult. If the problem is with the price step, I use this function.
example of use when opening a position
example of use when modifying
..
Good afternoon, here's the problem... there's a trailing stop function...
How to change it to trawl an unlimited number of orders instead of one ...
About mql5. Why, unlike mql4, TimeLocal() changes only with a new tick / new chart shift / change of chart scale, but not continuously? The same with GetTickCount andGetMicrosecondCount. Maybe there is a way to make the TimeLocal "clock" move uniformly and continuously without "ticks"?