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

[amibroker] Re: Default value of Param



PureBytes Links

Trading Reference Links

Terry --
Thank you for your help.  However, see Tomasz's response #86569.  
That does it!
-- Keith

--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
> It's probably "remembering" your adjusted setting. Try opening
> parameters and clicking Reset All and see what you get.
> 
> --
> Terry
> | -----Original Message-----
> | From: amibroker@xxxxxxxxxxxxxxx 
[mailto:amibroker@xxxxxxxxxxxxxxx] On
> | Behalf Of keithmccombs
> | Sent: Thursday, September 01, 2005 16:30
> | To: amibroker@xxxxxxxxxxxxxxx
> | Subject: [amibroker] Default value of Param
> | 
> | When I use the code below to display a chart the value of Periods 
is
> | initially 40 instead of 30 which I expect.  If, however, I comment
> | out
> | the _SECTION_BEGIN("EMA1"); and _SECTION_END(); statements, the
> | initial
> | value is 30 as I expected.  Can someone  explain:
> | 
> | 1.  What is going on here?
> | 2.  Is there a way to make the initial value 30?
> | 
> | _SECTION_BEGIN("EMA1");
> | P = ParamField("Price field",-1);
> | Periods = Param("Periods", 30, 2, 200, 1, 10 );
> | Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color",
> | colorCycle ), ParamStyle("Style") );
> | _SECTION_END();
> | 
> | TIA.
> | -- Keith




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/r7D80C/dlQLAA/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/