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

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


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: RE: [amibroker] Connecting indicator window and AA parameters possible ?
  • From: "Herman van den Bergen" <psytek@xxxxxxxx>
  • Date: Tue, 24 Jan 2006 15:56:25 -0500

PureBytes Links

Trading Reference Links

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