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

RE: [amibroker] Here it is : Multiple Param() for Tickers



PureBytes Links

Trading Reference Links

Works great, Anthony.

Thanks,
Bob

-----Original Message-----
From: Anthony Faragasso [mailto:ajf1111@xxxxxxxx]
Sent: Sunday, March 09, 2003 5:10 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Here it is : Multiple Param() for Tickers


Hello Group

Here is a sample  code that you should be able to build on  for multiple
Param()'s.

I have used a moving average as an example....First, insert your
selected
tickers and Parameter values.....load into Indicator builder and click
apply
...then right click on the chart and select parameters......

Let me know.

Anthony

//Multiple Ticker Parameters
//coded by Anthony Faragasso
//March 9,2003

pds=Param("pds",5,5,35,1);//This setting is for all other tickers
pdsndx=Param("pdsNDX",3,3,10,1);//Special ticker
pdsdji=Param("pdsDJI",4,4,28,1);//Special ticker
pdsgspc=Param("pdsGSPC",3,3,35,1);//Special ticker

x=MA(C,IIf(Name()=="^NDX",pdsNDX,IIf(Name()=="^DJI",pdsDJI,IIf(Name()==
^GSPC",pdsGSPC,pds))) );
//Check the names above to match your selected tickers
Plot(C,"close",colorBlack,styleCandle);
Plot(x,"x",colorYellow,styleLine);

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/



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/