Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I'm a newbie, please don't be too hard on me.
I am trading on demo. I have seen my report and cannot understand what is going on:
Deposit/Withdrawal: 5,000.00
Closed Trade P/L: 2,135.43
Balance: 5,970.53
Equity:5 970.53
Free Margin:5 970.53
What happened to 1164 USD?
Hello.
Help for a newbie. I started to learn mql from the tutorial, reached the operators and decided to write a shape counter:
int start()
{
int i=0;
double A= 0.0100,
B=0.0100,
price=Bid;
//----
while (A<=price){
A=A+B;
i++;}
if(A==price)
{
Alert("new Figure",i, "price", price);
}
//----
return(0);
}
Shapes counts, but when A gets a value equal to price? it doesn't give a message.
Where's the mistake? I don't get it.
{
int i,I;
double A= 0.0100,
B=0.0100,
price=Bid;
//----
while (A<=price)
{
A=A+B;
i++;
if(i*B==Bid)
Alert ("New figure",i);
}
//----
return(0);
}
this doesn't work either
I am a newbie, please don't be too hard on me.
I am trading on demo. I have seen my report and cannot understand what is going on:
Deposit/Withdrawal: 5,000.00
Closed Trade P/L: 2,135.43
Balance: 5,970.53
Equity:5 970.53
Free Margin:5 970.53
And what happened to 1164 USD?
Ugh! Everything seemed to be in order in 5 minutes. I don't know how such tricks happen.
Hi!
I want to say thank you for all your help - I've got it figured out!
Thanks to your hints, it's come to me like a giraffe ))))))) .
I have a question, how can I make sure that no one can ever find out and see the code inside the Expert Advisor? (and the indicator code, too)
I would like to ask you a question - how do I ensure that the Expert Advisor and the indicator work together smoothly?
{double i,
q;
//----
for(i=0.01;i<=Bid;i=i+0.01)
{
q++;
if(i!=Bid)continue;
if(i==Bid)
{Alert ("new",q);
}
}
//----
return(0);
}
//-------------------------------------------
?maybe like this
I have a question, how can I make sure that no one can ever find out and see the code inside the Expert Advisor? (and the indicator code, too)
I would like to ask you a question - how do I ensure that the Expert Advisor and the indicator interact smoothly?
It gave me this:
2010.10.05 17:00:10 robot5 EURUSD,H1: Error: 0
How do I know what is wrong?