Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 326
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
So let it be, what's the big deal?
But if anything, there is the IsConnected() function;
well the worst thing that happened was that a positive trade didn't open:)
But I would like to know what really happened - whether the broker was messing around or there was a problem on my part.
1. well, the worst thing that happened was that a positive trade did not open:)
2. But I would like to know what really happened - whether the broker was messing around or there was a problem on my part.
1. it's kind of a normal, natural phenomenon.
There is no way of knowing. You often lose the connection for a few seconds.
1. this is kind of a normal, natural phenomenon.
2. there is no way of knowing. Very often the connection is lost for a few seconds.
In a month of testing with this broker, it's the first time it's happened, although I've already noticed 4 problems with them - it's probably time to look for another one:)
Thank you for your answers!)
Do you ever watch what you've written?!
Something tells me that "this is where the dog is at":
Thanks. Got it.
You don't need a flag. The flag can be lost in abnormal situations. It is better to check - whether there is an open position and, if there is - further
Oh, I think I've got it. I figured out the logic, so here's what I've done. However, when I compile it, I get an error ')'. - assignment expect D:\Alpari\experts\Sp.mq4 (160, 92). I checked all the brackets ten times - I can't find the error. Some kind of a fucking poltergeist. artmedia70, if you don't mind telling me where the error is.
it's kind of weird.
Please tell me if this function is written correctly.
double GetLastUpperFractal()
{
double LastUpperFractalPrice = 0;
for (int i = 0; i<=Bars; i++)
{
double FractalUp = iFractals(Symbol(),PERIOD_M5,MODE_UPPER,i);
if (FractalUp != 0) LastUpperFractalPrice = FractalUp;
}
return (LastUpperFractalPrice);
}
//+------------------------------------------------------------------+
double GetLastLowerFractal()
{
double LastLowerFractalPrice = 0;
for (int i = 0; i<=Bars; i++)
{
double FractalDown = iFractals(Symbol(),PERIOD_M5,MODE_LOWER,i);
if (FractalDown != 0) LastLowerFractalPrice = FractalDown;
}
return (LastLowerFractalPrice);
}
I fixed it to compile - and use the 555 build mt4 editor - it really helps to find problems quickly. just read the instructions before installing - the first 15 pages.
I have it, thank you. Where can I read about 555 build? Can you provide the link?