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

Re: [amibroker] auto file synchronizers (was Re: Extremely tired of this.)



PureBytes Links

Trading Reference Links

Hello,
 
Did I say you can not run multiple computers?
No I didn't.
 
Did I say you can not share files?
No I didn't.
 
What DID I SAY ???
I did that you *can* share files if you run ONE machine at a time and then perform synchronization.
If you don't your synchronization tool will probably use the "NEWEST" (the least recently stored
file) which may or may not be what you wanted.
 
But this is SO FOR ALL file-based applications. There is no miracle or something strange here.
In all file-based applications, the last write overwrites previous writes.
 
And as to "AB architecture" - I have ALREADY made significant work to allow to MOVE ENTIRE LAYOUTS
from one computer to the other without problems. All you need to do is to
*READ THE MANUAL*
 
Quote:
"

In addition to old local template format a new one is added with .chart extension that keeps not only window sizes and formula references (paths) but also formulas themselves,so all you need to do is to save your chart into one file (Chart Template, Complete *.chart) and copy that file onto different computer and chart will be recreated with all formulas linked to it.

To Save chart into new format do the following:


1. Click with RIGHT MOUSE button over the chart and select Template->Save...

2. In the file dialog, "Files of type" combo select "Chart Template, Complete (*.chart)"

3. Type the file name and click Save.

To load previously saved complete chart do the following:

1. Click with RIGHT MOUSE button over the chart and select Template->Load...

2. In the file dialog, select previously saved *.chart file and press "Open"

Note: The procedure AmiBroker does internally is as follows: When you save the chart into new format it saves XML file with:

a) names of all sheets, panes, their sizes, locations and other settings
b) paths to all formulas used by all panes
c) the text of formulas themselves

When you load the chart in new format AmiBroker:
a) sets up the sheets/panes according to information stored in the file
b) for each formula stored in the file it checks if the same formula exists already on target computer:
- if it does not exist - it will create one
- if it exists and the contents is identical to the formula stored in .chart file it will do nothing
- if it exists and the contents is different then it will create NEW formula filewith _imported.afl suffix (so old file is not touched) and will reference the pane to the _imported.afl formula instead.

IMPORTANT NOTE: if you use any #include files AmiBroker will store the contentsof include files as well inside chart file and will attempt to recreate them on target machine. Please note that in case of includes it will check if it exists and if it is different. If both conditions are met (different file exists already) it will ask to replace or not. If you choose to replace - it will replace and make backup of existing one with .bak extensionIf you are using any files in "standard include files and include them using <> braces, AmiBroker will restore files in target machine standard include folder as well evenif the standard include folder path is different on the source machine).

A new .chart format is intended to be used to port charts between different computers. For storing layouts/templates on local computer you should rather use old formats as they consume much less space (they store only references,not the formulas themselves). One may however use new format for archiving purposes as it keeps formulas and all references in one file that is very convenient for backups.

"
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "progster01" <progster@xxxxxxxxxxxxxxxxxx>
Sent: Saturday, January 12, 2008 2:34 AM
Subject: SV: [amibroker] auto file synchronizers (was Re: Extremely tired of this.)

>
>> If AB is running on one computer using such sharing it is fine.
>> But if you run multiple instances simultaneously
>> on multiple machines and you are using this sharing the
>> results will be unpredictable.
>
> Not to be too cute, but who uses just one computer anymore ...
>
> TJ, I appreciate your direct acknowlegement of this situation.  It's
> something that people should know about in advance (if possible) of
> assuming/attempting otherwise.
>
> I sincerely hope that an appropriately high priority will be given to
> enhancing the AB architecture so that creational work done on different
> machines at different times (charts made, code written, layouts created,
> etc. etc.) can be easily cr0ss-copied to be available identically on
> each machine, with no problems being created thereby.
>
>
>
>
>
>
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>
http://www.amibroker.com/devlog/
>
> 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/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:amibroker-digest@xxxxxxxxxxxxxxx
>   
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> 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/

>
>
__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___