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

[amibroker] Re: Connecting indicator window and AA parameters possible ?



PureBytes Links

Trading Reference Links

Hello Herman,

thanks for your code, i have tried it out right now, however without
success.
I have added a column with periods for automatic analyzer, but the
parameters are not the same i have defined through the indicator
parameters.

Do you see any reason ?


InAutomaticAnalyzer = Status("Action") == 5;
Period = Param("Period",5,1,10,1);
StaticVarSet("Period",Period);
if( InAutomaticAnalyzer ) Period = StaticVarGet("Period");

Filter = 1;
AddColumn(Period,"Period");

Regards

Klaus




--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
<psytek@xxxx> wrote:
>
> For example you could assign a period set with a Param() in
indicator window
> to a Staticvariable that you would read in the AA, something along this
> line:
> 
> InAutomaticAnalyzer = Status("Action") == 5;
> Period = Param("Period",5,1,10,1);
> Staticvarset("Period",Period);
> if( InAutomaticAnalyzer ) Period = staticvarget("Period");
> 
> You could also set the param in an indicator formula and read the
> StaticVariable in a different AA formula. StaticVaribale can be read
from
> anywhere.
> 
> best regards,
> herman
>   -----Original Message-----
>   From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
> Behalf Of Grover Yowell
>   Sent: Tuesday, January 24, 2006 10:24 AM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: RE: [amibroker] Connecting indicator window and AA parameters
> possible ?
> 
> 
>   Herman,
> 
> 
> 
>   Can you provide a code snippet to illustrate this?  I have played
around
> with it but don't have it working.
> 
> 
> 
>   Thanks,
> 
>   Grover
> 
> 
> 
> 
>
----------------------------------------------------------------------------
> --
> 
>   From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of Herman van den Bergen
>   Sent: Thursday, January 19, 2006 9:09 AM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: RE: [amibroker] Connecting indicator window and AA parameters
> possible ?
> 
> 
> 
>   you can use Staticvariables: use Param -> SetStatic in the
indicator and
> use GetStatic in the AA.
> 
> 
> 
>   herman.
> 
>     -----Original Message-----
>     From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
> Behalf Of Klaus Korneker
>     Sent: Thursday, January 19, 2006 8:02 AM
>     To: amibroker@xxxxxxxxxxxxxxx
>     Subject: [amibroker] Connecting indicator window and AA parameters
> possible ?
>     Importance: High
> 
>     Hello,
> 
> 
> 
>     i am working on a system and would like to connect the parameter
values,
> 
>     otherwise i have to change the parameters in indicator window and
> automatic analysis twice.
> 
> 
> 
>     Is there any solution ?
> 
> 
> 
>     Regards
> 
> 
> 
>     Klaus
> 
> 
> 
>     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
> 
>       a..  Visit your group "amibroker" on the web.
> 
>       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 --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/