Enhanced updata data

MQL4 Scripts

Specification

"updatedata.mq4" will PGUP so data is collected back to "max bars in chart" setting. It is a script that gets dropped on a chart. 

see http://codebase.mql4.com/source/16213

I would like to see a script that goes through every symbol in the  "a defined array list of symbols" and "defined timeframe list" and refreshes data in a similar fashion.

e.g. drop script onto a chart and it goes to work.

e.g.

select symbol 1

opens a new 1 min chart

PGUP for specific count (1 min count=200 OR until finished and stops getting anymore = read bars datetime)

close 1 min chart

open a new 5 min chat

PGUP for specific count (5 min count=300)

close 5 min chart

open a new 15 min chat

PGUP for specific count  (15 min count=400)

close 15 min chart

etc.


select symbol 2

etc

select symbol 3

etc


Probably the default.tpl  will need to be created that has "auto scroll and chart shift" both turned off - so that PGUP will work properly.

This is achieved by having a chart that suits your requirements and saving template as default.tpl.

.

The PGUP work is already done - the script needs to have 1) symbol list 2) timeframe list 3) open window  4) select window 5) close window 6) loop action + exit  - added to it.

###

active windows etc can be seen working here

http://codebase.mql4.com/cn/source/19430

###

open new window etc here

http://forum.mql4.com/24948

this example looks for symbol in watchwindow

###

change timeframe here

http://forum.mql4.com/50548

###

but problem with staying on the same chart is if you change timeframe the script wants to finish.

So you need a master chart and open new chart

###

it is possible for default.tpl to be saved with an EA on it - but I think this ought be avoided.

###

As updatedata.mq4  does a PGUP all the time - it ought to be simple to open new window - change its timeframe - let it get PGUP from master chart (because client chart has focus) and wait for sufficient period. Then close and open new chart to different timeframe. Do all symbols in array.

.


Responded

1
Developer 1
Rating
(4)
Projects
7
43%
Arbitration
5
0% / 60%
Overdue
3
43%
Free
Published: 1 code
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
10 - 60 USD
Deadline
from 1 to 20 day(s)