Forex
Google

Go Back   Forex Trading > Programming > Metatrader Programming
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2007, 10:14 AM
COTtrader COTtrader is offline
Member
 
Join Date: Apr 2006
Posts: 60
COTtrader is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-22-2007, 01:18 PM
omelette omelette is offline
Senior Member
 
Join Date: Jan 2006
Posts: 984
omelette is on a distinguished road
Quote:
Originally Posted by COTtrader View Post
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
EA Automate Trading pipscaner Expert Advisors - Metatrader 4 1 08-14-2007 02:57 AM
How do I refresh an indicator? apres Metatrader 4 1 08-07-2007 02:37 PM
How to automate signals from website of signal service on MT4 platform? megaforex Metatrader 4 0 03-08-2007 01:37 AM
Refresh charts? keris2112 Expert Advisors - Metatrader 4 3 09-12-2006 02:13 PM
automate screenshot BrunoFX Tools and utilities 2 04-25-2006 10:40 AM


All times are GMT. The time now is 10:54 PM.