Script to Refresh Experts Log File in Real Time

Работа завершена

Время выполнения 15 дней

Техническое задание

Can someone write me a script that will force the experts log file to refresh in real time?

I've written an EA that reads in and uses some information from the experts log file, so I need it to refresh in real time. However, the log file is only updated in intervals throughout the day I think, when the terminal is closed, or when you right click on the log in the terminal and click open. 

I have some code (below) that uses WinAPI functions to do something similar with the "Journal" file. It performs the "right click and open" process on the journal repeatedly to keep it updated.

So there are two possible solutions to my problem:

1. Modify the code below for me, to perform the process on the "Experts Log" file instead - I have been unable to do this myself as I don't have any experience with WinAPI and don't know the equivalent code to the "33101" to reference the Experts Log.

2. Produce a better solution for refreshing the log file - opening and closing the file folder every few ticks is far from ideal. So you may know a better or more efficient solution to solve my problem. (I will pay more for a better and more efficient solution if more time is involved).

Please contact me to discuss further...

#include <WinUser32.mqh>

#import "user32.dll"
  int GetAncestor(int hWnd, int gaFlags);
#import
//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
void start()
{
  int hwnd = GetAncestor(WindowHandle(Symbol(),Period()),2); // find the Terminal handle no.
  PostMessageW(hwnd,WM_COMMAND ,33101,0); // open the folder contains the log files
  //-----
  while (FindIfDirOpened() == 0) // check if the folder opened
      {
      Sleep(100);
      FindIfDirOpened();
      }
   PostMessageW(FindIfDirOpened(), WM_CLOSE, 0, 0); //close the folder
}

int FindIfDirOpened()
   {
   string log = "logs";
   string i;
   int handle = FindWindowW(i ,log);
   return(handle);
   }

 

Откликнулись

1
Разработчик 1
Оценка
(13)
Проекты
24
42%
Арбитраж
3
33% / 0%
Просрочено
4
17%
Свободен
2
Разработчик 2
Оценка
(25)
Проекты
50
28%
Арбитраж
47
9% / 72%
Просрочено
23
46%
Свободен
3
Разработчик 3
Оценка
(561)
Проекты
841
73%
Арбитраж
15
53% / 13%
Просрочено
193
23%
Работает
Похожие заказы
GOLDEN WEALTH EA 30 - 40 USD
I need developer that will help me to convert indication with signal to EA. that will be able to trade on any pair and brokers with the features of take profit, stop loss, risk management and trade in the adjustable % of equity or account balance
Need Ninjascript expert 100 - 150 USD
Hey I would like to have an experience Ninjascript coder to help work on my strategy, I only need you to create and design an ATM similar to the one on this website based on my strategy https://ninza.co / please check this website and see if you can create similar ATM based on my design, would send my pdf file including references image and videos via comment section, please confirm you can do this job in this
I have sent the script and the bheuresko pattern indicator as well as the image of the script and indicator (below). The script is the image showing the arrows written ENTRAR and the Bheuresko pattern is the one written bullish engulfing and hammer but VERY IMPORTANT, All candlestick patterns the indicator shown by the indicator should be merged with the converted IQ script, not only bullish engulfing or hammer
I NEED A TRADING BOT , WITH 99 PERCENT PROFITABLE, IT SHOULD BUY AND SELL ON MATHEMATICAL BASIS, IF ANYONE MY FRIEND HAVE THAT KIND OF SKILL OR EXPERTISE FOR MAKING BEST TRADING ROBOT , PLEASE REPLY WE CAN DEFINITELY MAKE SOMETHING BIG AND BEST TOGETHER. anyone have expertise,, plz reply
Shybossforex robot 30 - 50 USD
Shybossforex strategy full data continuation and reversal.The strategy of continuation and reversal is trading technique 5hat involves two different approach to trade execution.The continuation and reversal is based on assumption that current market trend will continuation in future and therefore inloves taking position in same direction as prevailing trending,I will wait for the pullback and continuation trade with
I need a custom options scanner built with the following features: Scan ATM call or put options with the same expiry . Filter for open interest ≥ 175 . Expiration between 1 to 60 days . Underlying stock price between $5 and $175 . Use mark price for calculations. Results should be sortable by debit or credit . Scanner should include ETFs as well as stocks . Goal: A simple and efficient scanner that quickly identifies
BOT for Deriv! 45+ USD
Hi guys, I need to create a bot for deriv, it will do this: *** Send "CALL" for volatility indexes and Jump indexes with expiry 10 seconds. *** Send "PUT" for volatility indexes and Jump indexes with expiry 10 seconds. i need the file to be ready in 1 hour

Информация о проекте

Бюджет
10 - 30 USD
Исполнителю
9 - 27 USD
Сроки выполнения
от 1 до 5 дн.