[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Forex Amibroker and MT4



PureBytes Links

Trading Reference Links

where do you get the plugin?


--- In amibroker@xxxxxxxxxxxxxxx, Tony Lei <yiupang91@xxxx> wrote:
> Hi all,
> 
> I learn a new method of gathering a bunch of historical intraday 
data using 
> the new MT4 via DDE. It works wonderfully until I found a BUG that 
really 
> skewed my trading platform. I will give the detail about how to set 
this up 
> first. The source came from moneytec by Utek.
> 
> 1) http://www.moneytec.com/forums/attachment.php?attachmentid=15421 
(i use 
> 5min setting instead)
> 2) http://www.moneytec.com/forums/attachment.php?attachmentid=15422
> 3) http://www.moneytec.com/forums/attachment.php?attachmentid=15425
> 
> Hotkeys:
> CTRL+SPACE=IMPORT ASCII
> 
> 
>    1. run AB but make sure connect is RED
>    2. run MT4 
>     3. In MT4 call up M1 bars of symbol want to save data for.
>    Remember if GBPUSD plotting on M1 bar, you can get MT to load as 
much 
>    as possible by hitting HOME key (remem to disable "AutoScroll") 
then ZOOM 
>    OUT as far as will go so display shows as many bars as can. 
Now... wear your 
>    finger out by repeatedly hitting (or just press down...) either 
HOME or PgUp 
>    keys - this forces MT to download more history so can plot it 
and the zoom 
>    out means lots of data needed to display next page so downloads 
more data 
>    for each key press transaction.
>    4. Eventually MT will not go backwards/scroll left any more - 
will 
>    stop getting more history data.
>    5. HIT Control-S to save history -> .csv file. Note that I 
always use 
>    the same name eg: gbpusd.csv or eurusd.csv, etc. MT4 always 
opens the 
>    folder it last saved data to, so the previous xxxyyy.csv files 
are 
>    already there. So I do not have to key anything in... just mouse 
click here 
>    'n there, makes life easier.
>    6. So, having got the xxxyyy.csv file with latest M1 data - goto 
AB 
>    focus.
>    7. Call up the M1 chart for symbol pair GBPUSD so that it has 
focus in 
>    AB.
>    8. Now AB (toolbar) File > Import ASCII... and navigate to the 
MT4 
>    data save folder (AB will, like MT4 - remember the last used 
import folder)
>    All one needs to do is select the file and hit return key and AB 
>    imports the data.
>    You will see the previously not uptodate chart refresh and hey-
presto! 
>    all bang uptodate...
>    9. Note that the first time importing - you (I forget, been long 
time 
>    now...) probably will need to use the AB (toolbar) File > Import 
Wizard... 
>    to generate an import data expected format syntax file. Just 
Pick... the 
>    xxxyyy.csv file and you'll then be able to sort yourself out 
from 
>    there - the Wizard gives enough hints and also HELP file is 
there too for 
>    making up your own template etc. YMD, TIME, OPEN, HIGH, LOW, 
CLOSE. Then 
>    check "add current settings to ASCII definitions" 
>    Description:MT4, FILE MASK *.csv*, default.
>    10. Charts will be backfilled and you can hit Reconnect 
>    11. Repeat step 4 and use the hotkeys (takes less than 1min to 
do this 
>    manually, works great since i only trade 4 currencies)
>     
> HERE IS THE PROBLEM
> Once I have backfilled all the intraday data on the 5min chart, the 
charts 
> on AB looks identical to MT4 at 05:50. But when I connect the DDE 
from AB at 
> 05:53 to update the current bar, AB deletes the last 30 bars and my 
charts 
> change and will appear different than the one at 05:50. What could 
be the 
> problem?
> 
> Any help is appreciated
> 
> thanks
> 
> tony




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a difference. Find and fund world-changing projects at GlobalGiving.
http://us.click.yahoo.com/PcNrnD/PbOLAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/