That's right!!!!!!!!!!!!!!!!! I added a line for (i=0;i<500;i++){ Alert (BlueBuffer3[i]);} it scribbles!!!!!!!! But so it signals, I deleted this line, compiled it - it doesn't draw anything!!!!! Did you get it? I added the line again and it scribbles again, but it also has a signal!!!! I closed the line. // It doesn't do anything!!!! The line doesn't do anything, maybe it just slows down the time. So how do I know? How do I update the indicator and how do I deal with it?
In general, it draws as it pleases!!! not on all currency pairs, or it suddenly disappears when you change timeframe!!! (that's the one I posted above). This one too.
Actually I'm satisfied with lines themselves - they are as I wanted, i.e. it follows clearly from the code, where they should be colored, but I'll probably make colours brighter for further.
Well, I don't know. Try 11pts instead of 10pts, though it shouldn't. Or maybe it should, depending on the pair, broker, try it in general. Or even 50 pips, you will see where the dog is hidden. Or even 200 pips.
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.
Here, let's say the blue line. Init- SetIndexStyle(2,DRAW_SECTION,STYLE_SOLID,2,CLR_NONE); //Alert ("SetIndexStyle ",GetLastError( ) );
SetIndexBuffer(2,BlueBuffer3); //Alert ("SetIndexBuffer ",GetLastError( );
SetIndexEmptyValue(2,0.0);
Start- for (i=0;i<100;i++) { BlueBuffer3[i]= Open[i];}
for (i=330;i<500;i++) { BlueBuffer3[i]= Open[i];}
It's like, how much easier!!!
And what do you have in place of the X here:
#property indicator_buffers X?
If it's less than three, you can't see shit!
In general, it draws as it pleases!!! not on all currency pairs, or it suddenly disappears when you change timeframe!!! (that's the one I posted above). This one too.
Actually I'm satisfied with lines themselves - they are as I wanted, i.e. it follows clearly from the code, where they should be colored, but I'll probably make colours brighter for further.
Dear Sirs, help us out please!!! How to fill pending orders e.g. through a tick, a certain price interval.
I've encountered this problem: The EA writes a huge log file when testing. During the day of testing it accumulated 150 GB. That's too much))))
Can you please advise whether you can put a ban on writing the log file in the Expert Advisor?
Brothers, help!
I am writing my first Expert Advisor and I have no idea where and what I did wrong.
Ticket = OrderSend(Symbol(), 0, Lots_New, Ask, 10, NormalizeDouble(Stop, Digits),
NormalizeDouble(Take, Digits), NULL, Magic, 0, Blue);
I try to open an order. I get a persistent error of 130. I print values Ask=1,22908, Stop=1,22808, Take=1,23010 (my stop and take are 10.0 points).
What's wrong?????
Thanks in advance!
Man, it's so easy, I'll try later. thank you so much!
You're welcome!!!