Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 800
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
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;
}