Why did they erase the author of Igor Kim's functions?! Because of disrespect to the author, but it is obligatory to publish with the indication of authorship!
And it is better to address your question to the author in his branch! You can find it in a search or google!
Can you tell me if it is possible to draw multicoloured indicators in MQL4? Where can I get an example?
The MQL4 documentation contains INDICATOR_COLOR_INDEX, but the subject is not covered at all. I found an example in MQL5 - https://www.mql5.com/ru/articles/135 .
It compiles successfully, but does not work as intended. The PlotIndexSetInteger function used in the example compiled successfully, although it is not mentioned in MQL4 documentation.
There is one more inconsistency: the MQL4 doc contains a similar example in the description of the ArrayCopy function which also uses the PlotIndexSetInteger function.
Are the developers lost in their own wood, or what am I missing?
Do you know if it is possible to draw different-colored indicators in MQL4? Where can I find an example?
The MQL4 documentation contains INDICATOR_COLOR_INDEX, but the subject is not covered at all. I found an example in MQL5 - https://www.mql5.com/ru/articles/135 .
It compiles successfully, but does not work as intended. The PlotIndexSetInteger function used in the example compiled successfully, although it is not mentioned in MQL4 documentation.
There is one more discrepancy: the MQL4 doc contains a similar example in the description of the ArrayCopy function and the PlotIndexSetInteger function is used there as well.
Are the developers lost in their own forest, or I don't understand something?
There are as many colours as there are buffers, look for them in Documentation, Code Base, Articles and in the Forum! And Google to the rescue!
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.
Why did they erase the author of Igor Kim's functions?! Because of disrespect to the author, but it is obligatory to publish with the indication of authorship!
And it is better to address your question to the author in his branch! You can find it in a search or google!
Can you tell me if it is possible to draw multicoloured indicators in MQL4? Where can I get an example?
The MQL4 documentation contains INDICATOR_COLOR_INDEX, but the subject is not covered at all. I found an example in MQL5 - https://www.mql5.com/ru/articles/135 .
It compiles successfully, but does not work as intended. The PlotIndexSetInteger function used in the example compiled successfully, although it is not mentioned in MQL4 documentation.
There is one more inconsistency: the MQL4 doc contains a similar example in the description of the ArrayCopy function which also uses the PlotIndexSetInteger function.
Are the developers lost in their own wood, or what am I missing?
Do you know if it is possible to draw different-colored indicators in MQL4? Where can I find an example?
The MQL4 documentation contains INDICATOR_COLOR_INDEX, but the subject is not covered at all. I found an example in MQL5 - https://www.mql5.com/ru/articles/135 .
It compiles successfully, but does not work as intended. The PlotIndexSetInteger function used in the example compiled successfully, although it is not mentioned in MQL4 documentation.
There is one more discrepancy: the MQL4 doc contains a similar example in the description of the ArrayCopy function and the PlotIndexSetInteger function is used there as well.
Are the developers lost in their own forest, or I don't understand something?
As many colours, as many buffers, look in the Documentation, Codebase, Articles and the Forum! And Google to the rescue!
That's not what I mean, I mean indicators that have a buffer added like this:
That's not what I mean, I mean indicators that have a buffer added like this:
Yeah, in MQL4. There's something in the documentation that's described in bits and pieces, but it doesn't actually work.
I don't understand what the problem is?
int start()
{
bool i;
int ticket;
double Pricem;
datetime Timen;
string Symb=Symbol();
ticket=OrderSend(Symb,OP_SELL,0.1,Bid,3,Ask+4*Point,Ask-12*Point);
i=OrderSelect(0,SELECT_BY_POS);
while(true)
{
RefreshRates();
Timen=OrderCloseTime();
if(Timen>0)
{
Pricem=OrderClosePrice();
Alert(Pricem);
Alert("ордер закрылся");
Sleep(30000);
}
Sleep(10);
}
return;
}