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

[amibroker] Re: Ignorant questions about parameter persistence



PureBytes Links

Trading Reference Links

Going a little farther than that it would be nice to be able to link 
an AA with all settings and parameter values and all IB's with their 
parameter values to a layout so that each time you bring it up it's 
where you left it.

--- In amibroker@xxxxxxxxxxxxxxx, "William Peters" 
<williampeters@xxxx> wrote:
> See Below...
> 
> Regards,
> William Peters
> www.amitools.com
> 
> 
> -----Original Message-----
> From: Dave Merrill [mailto:dmerrill@x...]
> Sent: Tuesday December 9, 2003 7:24 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Ignorant questions about parameter persistence
> 
> 
> >I hate to ask all this, but I couldn't find a definite statement 
in the
> docs
> >(not that there isn't one).
> 
> >Are settings you make in the Parameters window saved between AB 
launches?
> 
> Yes they are.
> 
> 
> >The docs say that broker.params contains some kind of persistent 
parameter
> >information, but I'm not sure exactly and officially what. Mine is
> currently
> >0 bytes, so I don't understand when it is and isn't used, or for 
what.
> 
> 
> It saves the parameters between sessions for indicators and AA 
window.
> 
> 
> >Is this persistence the same for indicators and code in the AA 
window?
> Saved
> >AA window code doesn't include custom parameter settings, right? 
When you
> >load AA window code, all parameters return to their defaults?
> 
> Only currently loaded AA formula param information persists between 
session.
> Saving
> the AA formula code to files doesn't save the param information to
> broker.params for
> each of those files.
> 
> >Unlike indicators, AA window parameters don't reset when you 
modify the
> >code, right? So if I copy code from an indicator, a file, or the 
web, and
> >paste it into the AA window, any parameters with the same 
displayed name
> >keep whatever value they were last given in the AA window 
Parameters
> dialog,
> >even if the code uses them entirely differently?
> 
> AA params are reset when you change the param name.
> 
> >AA window parameter values are independent from parameter settings 
for the
> same code in the indicators
> >window, even if it's loaded from the same file? The only way to 
make
> certain
> >the defaults are used in the AA window is by resetting them all in 
the AA
> >window Parameters dialog?
> 
> Yes
> 
> There's no way to have different parameter settings for the same 
indicator
> on different chart sheets, right, other than making multiple copies 
of the
> indicator itself? Is there any way for code to tell what chart 
sheet it's
> running on, if I wanted to code that myself?
> 
> Not without additional coding, you need to save them as different
> indicators. You could use the stock code as
> the indicator prefix. I've put in a feature request/suggestion that 
the
> indicators in the
> builder should be Global and we have an option to insert a clone 
into a
> chart which is
> then independant of the Global indicator giving us the ability to 
edit it
> independantly from the
> Global indicator. If your visually orientated like myself its a 
must that
> all indicators be left how
> they were and this process is made to be very easy.
> 
> The alternative is the write code for this. So it depends on 
whether your
> indicators change per
> ticker or chart or ? this to me would be difficult to maintain 
because
> sometime you might want to
> change more than a parameter in the indicator. Having the ability 
to insert
> a clone into a chart
> would give you the template from which you could modify to suit the
> ticker/chart/layout.
> 
> Going a little further it would be really nice to have the ability 
to link a
> ticker to a layout.
> 
> GetChartID()
> 
> 
> Regards,
> William Peters
> www.amitools.com


------------------------ 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/mOAaAA/3exGAA/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/