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

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
Corrected... But there's one left for some reason.
And I can't reproduce it in the tester. I just don't have it on the same date
Why can't I connect library in mql4 from c++? Here is my code in Visual Studio 2012 C++. File main. with cpp extension (main.csr)
Then I created a file with main extension def (main.def) that has a list of exported functions, the code looks like this :
LIBRARY "dllmt42" EXPORTS add
Then I imported it into compiler
No problems after compilation, but when you leave the EA on the chart, I get confused
Unresolved import function call, find '_add' in 'dllmt42.dll'. Total Comander sees the function as well as the compiler itself when dragging the file
Who can help?
Corrected... But there's one left for some reason.
And I can't reproduce it in the tester. I do not have this error on the same date
This error shows that you are trying to modify a position/order at the price at which you made the modification earlier...
Trying to retrieve indicator data in MT5 using a function:
I get an error :
Please advise how to fix code for MT5
This error indicates that you're trying to modify a position/order at the price at which you've already modified it...
No, I checked it many times already, the problem was in the randomness of selecting the input parameters of MQL when testing the products, which are not always compatible - I fixed that too. But now I got a message that there is no open order
Although I have them on the same pairs and timeframes
No, I've already checked it many times. The problem was in randomness of selecting the input parameters of MQL when testing the products, which are not always compatible - I've already fixed that too. But now I got a message that there is no open order
But I have them on the same pairs and timeframes
I don't know why my EA does not trade.
Find out why the EA does not trade.
It may not trade if the input parameters are randomly chosen so that signals simply do not occur. But you should not limit it either
What is meant by" tradingfreeze distance "? Received through
MQL4
I have error #1 again when modifying. In this EA, SL or TP levels are only modified in four blocks
1 block
2 block
3 block
4 block
I have already checked everything many times but I can't find any errors
I have error #1 again when modifying. In this EA, SL or TP levels are only modified in four blocks
This is not correct, also in other examples
If you put a stop at 1.2356 and on a new tick you put a stop at 1.2356 again, you will get error 1