PureBytes Links
Trading Reference Links
|
Sorry, I use this for my own created index of my watchlists
GraphXSpace = 2;
mycolor=IIf(C>O, colorBlue, IIf(C<O,colorRed,colorBlack));
Chart = WriteIf(InWatchList(1), "~energy", WriteIf(InWatchList(2),
"~health", "~mining"));
O = Foreign(Chart,"O",1);
H = Foreign(Chart,"H",1);
L = Foreign(Chart,"L",1);
C = Foreign(Chart,"C",1);
OI = Foreign(Chart,"I",1);
Title =EncodeColor(LastValue(mycolor))+ Name()+ " " +Chart +" Composite
Chart "+Date()+ " ; O:" + O + ", H:" + H + ", L:" + L + ", C:" + C ;
myO = Cum( (O/Ref(O,-1))-1 )/OI *1000 ;
myH = Cum( (H/Ref(H,-1))-1 )/OI *1000 ;
myL = Cum( (L/Ref(L,-1))-1 )/OI *1000 ;
myC = Cum( (C/Ref(C,-1))-1 )/OI *1000 ;
PlotOHLC(O, H, L, C, "Candle", colorBlack, styleCandle+styleNoLabel);
Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: Steve Wiser [mailto:slwiser@xxxxxxxxxxx]
Sent: Saturday, 16 August 2003 10:10 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] One quick question
Thanks but this does not do what I think I want it to do.
This only points to an existing index that is in the database not one of the
AddToComposite industry indices which I have developed.
Thanks
Steve
At 09:28 AM 8/16/2003 +0800, you wrote:
Use function
GetBaseIndex( )
Cheers,
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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/
|