Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 285
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
got the message "comma expected" I don't know what it means, maybe I should contact the developers?
In which line does the compiler give an error?
Good afternoon!
Made a line that I want to move freely. At the moment you have to click on the line and only then you can move it. How can I make it possible to move the line without double clicking?
Good afternoon!
Made a line that I want to move freely. At the moment you have to click on the line and only then you can move it. How can I make it possible to move the line without double clicking?
Thank you, but something didn't work. I put it this way, maybe something is wrong?
Actually, you have written a very old construction.
I searched through the forum, I've seen constructions with classes, but I'm not good at classes, so I wanted to start with the simplest one (in terms of appearance).
Thank you, but something didn't work. I put this function this way, must be something wrong?
I searched the forum, I saw constructions with classes, but I'm not good at classes, so I wanted to start with the simplest one (in terms of appearance).
There should be a pair with OBJPROP_SELECTABLE
Must be paired with OBJPROP_SELECTABLE
I don't know, something is not working. It only moves after a double click and the line goes black.
I don't know, something doesn't work. It only moves after a double click and the line goes black.
Well, then add another before these two lines.
Well, then add another line in front of those two lines.
Didn't work, maybe there 's a mistake in the code?
I got the message "comma expected", I don't know what it means, may be I should contact the developers?
int WhatType()
//>>>>>>>>>>>>>>>>>>>>>
{
Alert("beg WhatType()");
if(OrderSelect(NextTick,SELECT_BY_TICKET)==true) Alert("OrderSelected=",NextTick);
Alert(NextTick);
Alert("NextType=",NextType);
OpPrice=OrderOpenPrice();
ClPrice=OrderClosePrice();
if(ClPrice>OpPrice)CurType=OP_BUY;
else CurType=OP_SELL;
Alert("CurType=",CurType);
Alert("end WhatType()");
//>>>>>>>>>>>>>>>>>>>>>>>>>
}//Alert("end int WhatType()");
I pasted it into MetaEditor, tweaked it a little - no errors