Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1047

 

I think I've seen it, but I can't find it.

How do you do this programmatically?


 

ChartSetInteger(0, CHART_FOREGROUND,true);


Vitaly Muzichenko:

I think I've seen it, but I can't find it.

How to do it programmatically?


 
Aleksey Mavrin:

ChartSetInteger(0, CHART_FOREGROUND,true);

Thank you, it worked )

 

Is it possible to importdatetime and colour functions from C++? And can C++ export them, as far as I understood datetime and colour are difficult to build?

Another question, is it possible to disable some warnings in mql4, if so, tell me how?

 

COLLECTORS! How to draw an arrow - an arrow (DOWN/UP) - of any standard shape, preferably without involving objects - graphics...

so draws crosses, but needs arrows


int init()                          // Специальная функция init()
  {
   SetIndexBuffer(0,Buf_0);         // Назначение массива буферу В СЕЛЛ (ВВЕРХУ) - СТРЕЛКА ВХОДА ВНИЗ
   SetIndexStyle (0,DRAW_ARROW,STYLE_SOLID,4,clrRed);// 
...

    Buf_0[0]=Open[0];  // РИСУЕМ UP СТРЕЛКУ входа UP   
...

to draw arrows instead of crosses:


 
Roman Shiredchenko:

COLLECTORS! How to draw an arrow - an arrow (DOWN/UP) - of any standard shape, preferably without involving objects - graphics...

so draws crosses, but needs arrows

to draw arrows instead of crosses:

   SetIndexBuffer(0, Buf_0);
   SetIndexStyle(0, DRAW_ARROW, STYLE_SOLID, 1);
   SetIndexArrow(0, 233); // код стрелки
 
Vitaly Muzichenko:

OK - I'll have a look, I'll post it here today.

IT'S WORKING - SENKS!


 

Can you please tell me if it is possible to set _chart_window buffer , i.e.

There is an oscillator with two buffers and I need the first buffer to be output in the "basement" and the second buffer to be output on the chart.

 
MakarFX:

Can you please tell me if it is possible to set _chart_window buffer , i.e.

There is an oscillator with two buffers and I need the first buffer to be output in the "basement" and the second buffer to be output on the chart.

No

 
Artyom Trishkin:

No

Thank you