[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 816
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
How can it be set up to work with another DC? Can it be set up at all?
Actually, the order type is set when I open it with Magic: Magic=1 - Buy order, Magic=2 - Sell, so why are the stops wrong? Maybe, it is because MODE_STOPLEVEL returns 14, even though I set Tral and S/L more than 15 p. What's the matter?
Good day!
Can you please advise a newbie, is it possible to write a custom indicator in MQL4, so it can simultaneously handle all currency pairs? As far as I understand, the maximal number of lines in an indicator chart is 8, but I need only one line. I.e. can I get an array of arrays or variables for all currency pairs simultaneously for this line?
Thanks in advance for the answer.
Tral must be greater than MODE_STOPLEVEL. For all opening (modification) conditions, see here.
I don't get it. I agree that Tral should be less than MODE_STOPLEVEL, but I am modifying S/L (Tral is just a name), and it has a distance of 5 points, and as I wrote before, when the values of Tral and S/L more than 15 points, it also gives error 130. Maybe I do not understand something.
I have to show the code. The telepaths have not arrived yet.
We should show you the code. The telepaths haven't arrived yet.
The text is more than allowed, if it's not difficult, have a look at the file.
When calling the function
maybe it is the reason. I haven't found control of level for setting new takes and stops. It exists at opening but not at modification.
When calling the function
Perhaps this is the reason. I haven't found control of level of setting new takes and stops. It is there at opening, but not at modification
Replaced NULL, the error remains, the setting level control remains. I will think about it, thanks for the tip.
By the way. Your code can only work fine in tester. On Real or Demo you might have problems. But you still need to get to them.
By the way. Your code can only work properly in the tester. On Real or Demo you may have problems. But you still have to get to them.