Forex



Go Back   Forex Trading > Programming > MetaTrader
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2007, 11:14 AM
Member
 
Join Date: Apr 2006
Posts: 62
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 10-22-2007, 02:18 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

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


All times are GMT. The time now is 06:11 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.