Как программно деинициализировать эксперт? - страница 2

 
pansa:

Hello,Zhunko!

That function kan not be compild!

You have no one sample were that function work!

very sorry!

pansa

I have compiled.

================

Rolf, here is a function.

 //==========================================================================================================
 // 6. ФУНКЦИИ ДЛЯ УПРАВЛЕНИЯ ПРОГРАММАМИ MQL4.
 //==========================================================================================================
 // 6.1. Функция удаляет эксперт с указанного графика. В случае успеха функция возвращает TRUE, иначе - FALSE.
 bool ServiceDeleteExpert(int hwndChart); // Системный дескриптор окна графика, удаляемого эксперта.
It removes the expert.
 
Zhunko:

I have compiled.

================

Rolf, here is a function.

It removes the expert.



Hallo,Zhunko!

Remove expert from chart is no problem!

The are for that more samples-and it work.

Problem is attach a expert to active chart!

Or activate expert to time X and then at

time Y deactivate.You have all that made

help please with sample.

pansa

 
Rolf, you need to load / unload or disable the expert trade? These are different things. Solved in different ways. The latter is very simple.
 

Hallo,Zhunko!

I need only a working sample that load a expert from list on the active chart!

thats enav.The best way wod be a script.

Is that vor You a problem??

pansa

 

Here is an example:

  //===========================================================================================================
  // 6.8. Функция загружает на указанный график эксперт по его имени. Функция возвращает TRUE в случае успеха, иначе - FALSE.
  if (NameExpert != "")
   {
    ServiceLoadExpert(hwndChart,  // Системный дескриптор окна графика, куда загружается эксперт.
                      NameExpert, // Имя загружаемого эксперта.
                      OK);

   } 
 

Hallo,Zhunko!

Thanks,im not a programmer and not able that all use.

Sorry

pansa

 
pansa:

Hallo,Zhunko!

Thanks,im not a programmer and not able that all use.

Sorry

pansa

Well I did not know that you are not a programmer.
Requires good TK.
I do not understand what is required. Which program should load and unload an expert? In what format should be set?
Another problem is the lack of understanding through an interpreter.
 

Hallo,Zhunko!

That script Check_ServiceMT4.dll kan not be compiled

bad-VK_MENU,VK_E,VK_CONTROL,VK_F11

pansa

 
Talex 21.05.2009 11:36
#include <WinUser32.mqh>

Заголовочный файл можно взять здесь, спасибо Zhunko, хороший сделал файл.

The header file can be found here, thank you Zhunko, did a good file.

 

Hallo,Zhunko!

google have very bad translator-thefore i must find kirillic keyboard!

i have a little ask to You-i need remove from screen window "PropertiesExpert"

That window have BUTTON "OK", it must be a klick at that buttom with command.

Kan You help me with that command??

pansa

Причина обращения: