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

Re: [amibroker] Param function in separate windows



PureBytes Links

Trading Reference Links

Rick,
 
You could do something like this:
 
//Multiple Ticker Parameters
//coded by Anthony Faragasso
//March 9,2003

//example using RSI()

pds=Param("pds",14,5,21,1);//all other tickers

pdsndx=Param("pdsNDX",14,3,17,1);//select your ticker

pdsdji=Param("pdsDJI",14,4,15,1);//select your ticker

pdsgspc=Param("pdsGSPC",14,3,21,1);//select your ticker

x=IIf(Name()=="^NDX",pdsNDX,IIf(Name()=="^DJI",pdsDJI,IIf(Name()=="^GSPC"
pdsGSPC, pds)));
x=LastValue(x);

y=RSI(x) ;

Color=colorBlue;//select your line color

Plot(y,"x",color,styleLine);//plots RSI()

PlotGrid(30);
PlotGrid(70);
GraphXSpace=15;

Title="..."+Name()+ EncodeColor(Color)+" - RSI ( "+WriteVal(x,1)+" ) 
+EncodeColor(colorBlack)+"= "+ WriteVal(y,1.2)+" %";
 
 
-------Original Message-------
 
From: amibroker@xxxxxxxxxxxxxxx
Date: Monday, May 05, 2003 11:18:49 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Param function in separate windows
 
Version 4.34
 
I have a custom indicator containing a PARAM function.  I added this to a
Window.
Next, I did a Window, New and added this same custom indicator to this new
window.
 
I notice when I do a CTRL-R and change the PARAM function, it automatically
changes it in the other window too.
 
I would rather have it work so I can change the PARAM value in one Window,
and it will NOT change the PARAM value in the other Window.
 
Can this be done or do I have to create a separate indicator in IB?
 
Thanks,
 
Rick
 
 
Yahoo! Groups Sponsor
ADVERTISEMENT
 
 
 
 
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 the Yahoo! Terms of Service. 
 
 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/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/