PureBytes Links
Trading Reference Links
|
Dale,
Your AA shell approach might be what I ultimately have to look at. I'd
rather let TJ think about it and see if he agrees that access to the
settings variables via AFL isn't a reasonable enhancement.
Dennis
--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> Dennis:
>
> You "might" can get this functionality now by writing a very simple
> automation program that acts as a "shell" for AB.
>
> Since the AA Settings form's contents can be saved / loaded both
> manually and via automation and the settings for the AA form can also be
> set both manually and via automation a program could be written to store
> your various combinations in files and then putting the names of those
> files in a comment in your AFL.
>
> The shell program could then have a list of AFL files in it and buttons
> for Scan, Explore, Backtest, Optimize. When one of the buttons is
> clicked the shell program could read the AFL file; look for the approp
> comment; and load the settings before running the appropriate AA
> function.
>
>
> d
>
> -----Original Message-----
> From: Phsst [mailto:phsst@x...]
> Sent: Saturday, August 23, 2003 10:20 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: TOMASZ... read/write parameters setup from
> files.
>
>
> Tomasz,
>
> You're right... 'periodicity' or 'currently selected symbol' need to
> be in the 'Setup' panel.
>
> Most others however could (and should) be definable with the SETOPTION
> command.
>
> Like:
>
> Positions
> Commission Types and Rates
> Reverse entry sig forces exit
> Buy, Sell, Short, Cover price types of O, H, L, C or Average
> All of the 'Stops' tab settings
>
> At the very least, any setting that could change backtesting results
> should be definable with the SETOPTION command so that the User has
> absolute control withing AFL without having to try to 'remember' which
> settings need to be set for each AFL file.
>
> Regards,
>
> Phsst
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
> wrote:
> > There is a group of parameters that can be set during AFL
> > execution, but there is also a group that must be set
> > *before* AFL execution (such as 'periodicity' or
> > 'currently selected symbol'
> > - of course you can use Foreign at any time) this is required
> > because AFL engine has to setup predefined variables
> > (like OHLCVOI for currently selected ticker) before starting
> > to execute your code (that assumes that these variables are
> > setup properly)
> >
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message -----
> > From: "Phsst" <phsst@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Saturday, August 23, 2003 5:54 AM
> > Subject: [amibroker] Re: TOMASZ... read/write parameters setup from
> files.
> >
> >
> > > I posted a similar suggestion about three weeks ago.
> > >
> > > PLEASE... Make all of the SETUP parameters available to AFL so that
> > > the manual control of SETUP parameters can be TOTALLY ELIMINATED
> with
> > > AFL designations.
> > >
> > > Phsst
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
> > > <psytek@xxxx> wrote:
> > > > Yes, this is a very desirable feature. I also have different
> systems
> > > that
> > > > require different Settings, while some parameters can be
> initialized
> > > from
> > > > the code it would be convenient to be able to "attach" a setup
> file
> > > to a AA
> > > > file or to have a command to "#include" the setup file into the
> > > code. The
> > > > #include statement could be if()d to accomodate per-symbol setup
> files.
> > > >
> > > > best regards,
> > > > h
> > > >
> > > > -----Original Message-----
> > > > From: mmqp [mailto:mmqp@x...]
> > > > Sent: Friday, August 22, 2003 4:26 PM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: [amibroker] read/write parameters setup from files.
> > > >
> > > >
> > > > Hi,
> > > > Has anyone tried to read/write parameters per symbol from a files?
> > > > Would you care to share the codes or the procedures of performing
> > > > such task? I have a system which contains different initial
> > > > parameters setups for each symbols. I would like to read this
> > > > parameters setup file each time a new symbol is selected. TIA
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > --------------------------------------------
> > > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
> <http://rd.yahoo.com/M=259538.3760361.5018013.1261774/D=egroupweb/S=1705
> 632198:HM/A=1712983/R=0/SIG=11u38u3s2/*http://hits.411web.com/cgi-bin/hi
> t?page=1374-105951838331032> click here
>
> <http://us.adserver.yahoo.com/l?M=259538.3760361.5018013.1261774/D=egrou
> pmail/S=:HM/A=1712983/rand=726119937>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|