PureBytes Links
Trading Reference Links
|
/***************************************/
SetForeign("SPY");
PlotOHLC(O, H, L, C, "", colorOrange, styleCandle);
Title =
"\\c25" + Name() +
"\\c11 " + Date()+
"\\c47 O=" + O + " H=" + H + " L=" + L + " C=" + C +
"\\c11 " + FullName();
/***************************************/
--- In amibroker@xxxxxxxxxxxxxxx, "Lesmond V" <ebsn247lsm@xxx> wrote:
>
> Below is the code that will plot a "foreign" chart in the indicator
pane. The ticker can be selected from the r-click parameters menu.
The only thing missing is the FullName in the Title.
>
> The following line doesn't work (although the syntax is accepted)
because only o,h,l,c,v,i can be used with Foreign() function:
>
> fn_ = Foreign( ft_, "FullName");
>
> Here is the full code:
>
> /***************************************/
> ft_ = ParamStr("Foreign Ticker", "SPY");
> fo_ = Foreign( ft_, "O");
> fh_ = Foreign( ft_, "H");
> fl_ = Foreign( ft_, "L");
> fc_ = Foreign( ft_, "C");
> fn_ = Foreign( ft_, "FullName");
>
> PlotForeign(ft_, "", colorOrange, styleCandle);
>
> Title =
> "\\c25" +ft_+
> "\\c11 " +Date()+
> "\\c47 O="+fo_+" H="+fh_+" L="+fl_+" C="+fc_+
> "\\c11 " +fn_;
> /***************************************/
>
> Lesmond
>
------------------------ 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/
|