Automate Chart Refresh Using Windows GUI

 

A good number of mq4 indicators require a chart refresh in order to update their data. Some of these indicators work well but without a refresh cycle they are for the most part useless--unless you sit at your screen 24/7 and constantly update.

Would the free program script writer AutoIt v.3 make automating a chart refresh possible?

If you know more than I obviously do not know at this point, I would appreciate your input. The following tells what AutoIt v.3 can do. If this were to work well, it MAY be possible to write EAs using some very fine indicators.

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys).

AutoIt was initially designed for PC "roll out" situations to configure thousands of PCs, but with the arrival of v3 it is also well suited to performing home automation and the scripting of repetitive tasks.

AutoIt can:

Execute Windows and DOS executables

Simulate key strokes (supports most keyboards layouts)

Simulate mouse movements and clicks

Move, resize and manipulate windows

Interact directly with "controls" on a window (set/get text, move, disable, etc.)

Work with the clipboard to cut/paste text items

Work with the registry

Unlike AutoIt v2, the new v3 language has a much more standard syntax -similar to VBScript and BASIC - and now supports complex expressions, user functions, looping and everything else that veteran scripters would expect.

As with previous versions, AutoIt has been designed to be as small as possible and stand-alone with no external .dll files or registry entries required. Scripts can also be compiled into stand-alone executables with Aut2Exe.

COTtrader

 
COTtrader:
A good number of mq4 indicators require a chart refresh in order to update their data. Some of these indicators work well but without a refresh cycle they are for the most part useless--unless you sit at your screen 24/7 and constantly update.

Would the free program script writer AutoIt v.3 make automating a chart refresh possible?

If you know more than I obviously do not know at this point, I would appreciate your input. The following tells what AutoIt v.3 can do. If this were to work well, it MAY be possible to write EAs using some very fine indicators.

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys).

AutoIt was initially designed for PC "roll out" situations to configure thousands of PCs, but with the arrival of v3 it is also well suited to performing home automation and the scripting of repetitive tasks.

AutoIt can:

Execute Windows and DOS executables

Simulate key strokes (supports most keyboards layouts)

Simulate mouse movements and clicks

Move, resize and manipulate windows

Interact directly with "controls" on a window (set/get text, move, disable, etc.)

Work with the clipboard to cut/paste text items

Work with the registry

Unlike AutoIt v2, the new v3 language has a much more standard syntax -similar to VBScript and BASIC - and now supports complex expressions, user functions, looping and everything else that veteran scripters would expect.

As with previous versions, AutoIt has been designed to be as small as possible and stand-alone with no external .dll files or registry entries required. Scripts can also be compiled into stand-alone executables with Aut2Exe.

COTtrader

The one and only reason that some indicators do not 'refresh' is crappy programming, pure and simple!

It is extreme over-kill to be closing down and restarting MT (which I'm pretty sure is the only solution) just to refresh indicators.

Much easier to learn a little MQL and fix them yourself...

Reason: