[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 165
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
thanks
A lot of errors were found during compilation
Excuse me...... the martingale advisor, is it possible to prescribe a stoploss in it or is it not possible. Thank you.
The OrderSend() function has stop loss as one of its parameters. And it is it that sets the order. Therefore, we calculate the stop level for the order we need and enter it into the function.
compilation has revealed a lot of errors
Well, so it will be - I've warned you that MY subroutines are involved! Remove them and replace them with your printers with GetLastError()
Well, it will be - I told you that MY subroutines are involved! Remove them and replace them with your printers with GetLastError() query.
It's easy to do, if you're well-versed in mql. ) I'm just learning, so for me it's a bit difficult to remove all unnecessary things and leave only the necessary ones.
All the same, you need to look at the code of the indicator, to understand which of the buffers contains the value of which line.
If you want to enter indicator parameters into iCustom function, then indicator parameters should be added to the Expert Advisor's custom variables. Otherwise, the EA will not understand what values are in the listed variables.
Hello! Please don't kick me if I'm asking the wrong question, but I dug the whole forum and the Internet and didn't find what I was looking for. The question is this! Is it possible to create a condition in if (after the last StopLoss (in time) should close eg 2 profit) until they are not doing else ... If possible, a small sketch in code, but you can just draw a scheme in words, thanks in advance!
In general, well, it's not clear what exactly you need.
A condition in if() can be inserted. It can be inserted after any event occurs. But what does it mean to close two profits? And else can be done. That's all...
Actually, I don't understand what you actually need.
A condition in if() can be inserted. It can be inserted after any event occurs. But what does it mean to close two profits? And else can be done. The point is...
Help plz to understand.
I decided to use the MACD Sample and I can not understand what's wrong - no matter what version, even the native one in the terminal.
all give out errors :
2011.02.28 23:01:53 MACD Sample EURUSD,M15: Error opening BUY order: 130
5 digits account. 1:500, lot 0.1 or 1, no difference, real account.
I've increased SL and TP 10-fold, nothing has changed, I've even changed more, no result, I can't get it to open something there ((
The fact that it works clearly, if I open a deal with my hands, then it transfers it to the no-loss position and starts trawling, but does not want to open it by itself!
What am I doing wrong, I can not understand for a week !??