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

RE: [amibroker] Steve Dugas



PureBytes Links

Trading Reference Links




<SPAN 
class=353492214-04042003>Stewart,
yes it 
can as long as you have defined sym. I use this to automatically find my 
composite tickers on equity charts.. 
<SPAN 
class=353492214-04042003>Example: this [plots the stocks RSI along with the 
corresponding Sectors RSI by calling the composite ticker with 
Foreign.
<SPAN 
class=353492214-04042003> 
<FONT 
color=#282828 size=2> 
symbol="~i"+<FONT 
size=2>SectorID(1<FONT 
color=#282828 size=2>);
sy=Wilders(<FONT 
size=2>RSIa((Foreign<FONT 
size=2>(symbol,"C")/<FONT 
size=2>Foreign(symbol,"V"<FONT 
size=2>)),14),<FONT 
size=2>2<FONT 
color=#0000ff>);
Plot(sy,<FONT color=#ff00ff 
size=2>"",<FONT color=#0000ff 
size=2>ParamColor(<FONT color=#ff00ff 
size=2>"Sector Color",<FONT 
color=#ff00ff size=2>5),<FONT 
color=#ff00ff size=2>1);<FONT 
color=#0000ff>
pds=Param("RSI 
Periods",14<FONT 
size=2>,5,<FONT 
size=2>20<FONT 
color=#0000ff>);
Plot(<FONT color=#0000ff 
size=2>RSI(pds),<FONT color=#ff00ff 
size=2>"",<FONT color=#ff00ff 
size=2>8);<FONT color=#000000 
size=2>
Title="RSI of "<FONT 
size=2>+ symbol+ " Sector"+ <FONT 
size=2>EncodeColor(5<FONT 
size=2>)+ "\n Sector" +<FONT 
size=2>WriteVal(sy)+<FONT 
size=2>EncodeColor(8<FONT 
size=2>)+"\n Stock RSI" +<FONT 
size=2>WriteVal(RSI<FONT 
color=#282828 size=2>(pds));
 
<SPAN 
class=353492214-04042003> 
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Stewart 
[mailto:stewart@xxxxxxxxxxxxxxxx]Sent: Friday, April 04, 2003 6:51 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
Steve Dugascorrection, Array instead of 
variable.----- Original Message ----- From: "Stewart" 
<stewart@xxxxxxxxxxxxxxxx>To: 
<amibroker@xxxxxxxxxxxxxxx>Sent: Friday, April 04, 2003 1:49 
PMSubject: Re: [amibroker] Steve Dugas> Tomasz,> 
> Can the foreign function hold a variable in place of the "ticker" 
-> > For example,   fc=foreign(sym,"C", 
fixup=true)  ?> > Thanks,> > 
StewartSend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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.