[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 35
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
Good evening! Could you please tell me if I have implemented correctly the start() function of an indicator in an EA? The compilation does not agree!
Well, so many sevens just can't be wrong, it's a JACK-POT!!!
But seriously, the description of the problem is obviously incomplete, you should go to the Telepath Club. Or describe in more detail what is wrong, a list of compiler errors, for example.
Well, that many sevens just can't be wrong, it's a JACK POINT!!!
But seriously, the description of the problem is obviously incomplete, you should go to the Telepath Club. Or describe in more detail what is wrong, list of compiler errors for example.
At first I got this error:
'\end_of_program' - ending bracket '}' expected C:\Program Files\Alpari \experts\xxx.mq4 (305, 1)
Of course I added a parenthesis, after that :
'Ind_Start' - function is not defined C:\Program Files\ Alpari \experts\xxx.mq4 (86, 1)
'{' - semicolon expected C:\Program Files\ Alpari \experts\xxx.mq4 (87, 3)
Good evening, can you tell me if I have correctly prescribed the start() function of an indicator in my EA? The compilation does not agree!
it should be so agree
Help, the indicator doesn't work. What did I write wrong?
Please advise me!
Suppose I have several open positions in the terminal and I need to know the opening price of one of the orders, say BUY, I also know the magic of each order?
How do I do that?
Please advise me!
Suppose I have several open positions in the terminal and I need to know the opening price of one of the orders, say BUY, I also know the magic of each order?
How do I do that?
Good afternoon!
Could you please tell me how to write:
if ((b1!=0) && (b2==0))
openBuy(Lot,Magic);
if ((b1==0) && (b2!=0))
closeAll();
if ((s1!=0) && (s2==0))
openSell(Lot,Magic);
if ((s1==0) && (s2!=0))
closeAll();
but orders won't open so help me to find the reason
Good afternoon!
Could you please tell me how to write:
if ((b1!=0) && (b2==0))
openBuy(Lot,Magic);
if ((b1==0) && (b2!=0))
closeAll();
if ((s1!=0) && (s2==0))
openSell(Lot,Magic);
if ((s1==0) && (s2!=0))
closeAll();
but orders don't open so please help me to find the reason
https://book.mql4.com/ru/trading/ordersend
Everything is very clear and detailed.
Good afternoon!
Could you please tell me how to write:
if ((b1!=0) && (b2==0))
openBuy(Lot,Magic);
if ((b1==0) && (b2!=0))
closeAll();
if ((s1!=0) && (s2==0))
openSell(Lot,Magic);
if ((s1==0) && (s2!=0))
closeAll();
but orders won't open so help me to find the reason
indicator buffer=EMPTY_VALUE; not equal to 0, but equal to 2147483647.