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

Re: [trading] [amibroker] Starting AB with different data bases



PureBytes Links

Trading Reference Links


Good Day, thanks for input Fred. been at it for couple hours - can't 
even start AB. Something is missing in examples i think. can you give 
me a simple line to start Amibroker from .vbs maybe i can move on 
from there.

Greg
--- In amibroker@xxxxxxxxxxxxxxx, "Fred" <ftonetti@xxxx> wrote:
> 
> A sample was posted a few post back ...
> 
> Beyond that ... Click Help, help contents, explode the top, explode 
> reference guide, click automation object guide ... scan down and 
> you'll see the sampole that was posted and other stuff.
> 
> All you need to do is save a couple commands like this in a .vbs 
> file then double click the file.  There are 6-7 lines of code there 
> that start AB and load a database.  You can cut and paste and have 
> this working in 2 minutes.
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Greg" <gphanson2@xxxx> wrote:
> > 
> > Good Day Fred, Nice if you know VB or Jscript. Have you got a 
> sample. 
> > I'll give it a go. Thanks.
> > 
> > Greg
> > --- In amibroker@xxxxxxxxxxxxxxx, "Fred" <ftonetti@xxxx> wrote:
> > > 
> > > As mentioned before this is simple enough to do w/a VB or 
> JScript.  
> > > No compilation ... just code, save and run ... When you got it 
> the 
> > > way you want, you make an icon on the desktop.  With a very few 
> > > lines you can fire up AB with whatever Database you want as the 
> > > default and set a variety of other options.  
> > > 
> > > Check into AB Automation ... it's a beautiful thing.
> > > 
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Greg" <gphanson2@xxxx> wrote:
> > > > 
> > > > Good Day, thought i would add my two cents. i mentioned this 
> idea 
> > > > some time ago as a upgrade - a command line thing. i have 3 
> > > databases 
> > > > with as Herman says specific uses ie. eod (yahoo), 5 min 
> eSignal, 
> > > and 
> > > > tick, esignal. each has very specific formulas and charts and 
> all 
> > > are 
> > > > running at the same time - on three diff monitors. inorder to 
> get 
> > > > everything going i have to start AB (with default database) 
> > switch 
> > > to 
> > > > one i want and then position it on a specific monitor. what 
> would 
> > > be 
> > > > nice - separate AB icons that recognize diff data bases and 
as 
> > > well 
> > > > screen locations. One click and away i go for each. By the 
way 
> > new 
> > > > beta fantastic. Congrats.
> > > > 
> > > > Greg 
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" 
> > > <amibroker@xxxx> 
> > > > wrote:
> > > > > Hello,
> > > > > 
> > > > > You can install AB multiple times into completely separate 
> > > > locations (not recommended because of all additional work it 
> > > requires
> > > > >  when installing updates) and have separate shortcuts to 
> each 
> > > > installation.
> > > > > 
> > > > > Alterative is to setup several folders with 
different "START 
> > IN" 
> > > > property. "Start IN" defines the "CURRENT WORKING DIRECTORY" 
> > > > > where AmiBroker looks for the files (including the 
> preferences 
> > > and 
> > > > all other config files). This will allow you to have one 
> > > installation
> > > > > but multiple working folders. And each folder that normally 
> > > exists 
> > > > inside "AmiBroker" folder will need to be creaded.
> > > > > This includes "Formulas" subfolder.
> > > > > 
> > > > > But frankly Herman, you should think twice about this. 
> Having 
> > > > everything separate means that you will have multiple copies
> > > > > of everythign and each editing you will need to do more 
than 
> > > once. 
> > > > This greatly increases the time just maintaining everything
> > > > > 
> > > > > 
> > > > > Best regards,
> > > > > Tomasz Janeczko
> > > > > amibroker.com
> > > > >   ----- Original Message ----- 
> > > > >   From: Herman van den Bergen 
> > > > >   To: amibroker@xxxxxxxxxxxxxxx 
> > > > >   Sent: Wednesday, December 08, 2004 12:47 PM
> > > > >   Subject: RE: [trading] [amibroker] Starting AB with 
> different 
> > > > data bases
> > > > > 
> > > > > 
> > > > >   It is not just the icon, renaming these would be good 
> enough 
> > > for 
> > > > me. 
> > > > > 
> > > > >   I want to start each instance of AmiBroker with a 
> different 
> > > > database, each instance has a different purpose, and right 
now 
> > > after 
> > > > each startup i have to selected a different data base. i 
> suppose 
> > > what 
> > > > i need is to be able to specify the dataSource (as in 
> > preferences) 
> > > on 
> > > > the command line...I think i must be doing something dumb or 
> am 
> > > > missing ... time to read the Help once more :-)
> > > > > 
> > > > >   I suppose i could create separate directories/folders for 
> > > > different AmiBroker DataBases, that way everything would be 
> > > specific 
> > > > to the DB used.Then make separate icons for each... In 
> > preferences 
> > > i 
> > > > could specify where the afl files are located, those folders 
> > could 
> > > be 
> > > > independent of the regular AmiBroker folders... that should 
> work 
> > > just 
> > > > great! Thanks guys for making the old neurons click! Talking 
> to 
> > > the 
> > > > wall doesn't always work...hmm...now to get the formula tree 
> root 
> > > > path to work...
> > > > > 
> > > > >   herman
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >     -----Original Message-----
> > > > >     From: Beachie [mailto:beachie41@x...]
> > > > >     Sent: Wednesday, December 08, 2004 5:33 AM
> > > > >     To: amibroker@xxxxxxxxxxxxxxx
> > > > >     Subject: Re: [trading] [amibroker] Starting AB with 
> > > different 
> > > > data bases
> > > > > 
> > > > > 
> > > > >     To clarify, rightclick choose "Properties" then "Change 
> > > Icon". 
> > > > You can select an exe or dll to browse for new icons. Not all 
> > > contain 
> > > > icons though.
> > > > >       ----- Original Message ----- 
> > > > >       From: Beachie 
> > > > >       To: amibroker@xxxxxxxxxxxxxxx 
> > > > >       Sent: Wednesday, December 08, 2004 9:28 PM
> > > > >       Subject: Re: [trading] [amibroker] Starting AB with 
> > > different 
> > > > data bases
> > > > > 
> > > > > 
> > > > >       Create a new AB shortcut on your desktop, then right 
> > click 
> > > & 
> > > > choose "Change Icon" Icons are usually stored in the exe or 
> > > a .dll. 
> > > > You can browse Esignal, etc for icons, or choose from default 
> > > Windows 
> > > > icons, or even create your own using an icon editor.
> > > > >         ----- Original Message ----- 
> > > > >         From: Herman van den Bergen 
> > > > >         To: AmiBroker YahooGroups 
> > > > >         Sent: Wednesday, December 08, 2004 8:38 PM
> > > > >         Subject: [trading] [amibroker] Starting AB with 
> > > different 
> > > > data bases
> > > > > 
> > > > > 
> > > > >         Hello,
> > > > > 
> > > > >         would anybody know how to create different icons on 
> the 
> > > > DeskTop that start AB with different databases? I would like 
a 
> > > > variety of icons to start of with, for example, IB data, 
> eSignal 
> > > > data, QP2 data, Tick data, etc. So that on start up they are 
> > > loaded 
> > > > with relevant code/Indicators and data base.
> > > > > 
> > > > >         thanks for any ideas!
> > > > >         herman.
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >       Check AmiBroker web page at:
> > > > >       http://www.amibroker.com/
> > > > > 
> > > > >       Check group FAQ at: 
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >       Check AmiBroker web page at:
> > > > >       http://www.amibroker.com/
> > > > > 
> > > > >       Check group FAQ at: 
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >   Check AmiBroker web page at:
> > > > >   http://www.amibroker.com/
> > > > > 
> > > > >   Check group FAQ at: 
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > > > > 
> > > > > 
> > > > >         Yahoo! Groups Sponsor 
> > > > >               ADVERTISEMENT
> > > > >              
> > > > >        
> > > > >        
> > > > > 
> > > > > 
> > > > > ------------------------------------------------------------
-
> ---
> > -
> > > ---
> > > > ----------
> > > > >   Yahoo! Groups Links
> > > > > 
> > > > >     a.. To visit your group on the web, go to:
> > > > >     http://groups.yahoo.com/group/amibroker/
> > > > >       
> > > > >     b.. To unsubscribe from this group, send an email to:
> > > > >     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > > > >       
> > > > >     c.. Your use of Yahoo! Groups is subject to the Yahoo! 
> > Terms 
> > > of 
> > > > Service.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/