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

[amibroker] suggestions invited



PureBytes Links

Trading Reference Links


Jayson,
 
Nice post.  Thanks for the code.
 
Kind Regards,
GaryJayson <jcasavant@xxxxxxxxxxx> wrote:


Brian,
 
plot the code offered below as an indicator. Select a stock and the indicator will determine the correct industry group and plot it.
Regards,Jayson 
L1="!ID00"+IndustryID(0);
L2="!ID0"+IndustryID(0);
L3="!ID"+IndustryID(0);
industry=WriteIf(IndustryID(0) <10,l1,WriteIf(IndustryID(0)>9 AND IndustryID(0)<100,l2,L3));
SetForeign(industry);
TimeFrameSet(inWeekly);
Plot(C,IndustryID(1),colorWhite,64);
Plot(MA(C,20),"",colorBlue,1);
Plot(MA(C,50),"",colorYellow,1);
Title="Industry Group = "+IndustryID(1)+ " ("+industry+")"+"\n Today "+WriteVal(ROC(C,1),1.2)+"%";
GraphXSpace=3;

-----Original Message-----From: Brian [mailto:cadvantag@xxxxxxxxxxxxxx]Sent: Thursday, April 22, 2004 11:35 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Indicator Help-I use QP data and I am trying to get a indicator that will post a ticker and its associated Industry Group (per QP).My problem is GetExtraData- will not grab a Industry Group, and AddTextColumn is for Explorations.How can I grab a tickers associated Industry Group and put this into a indicator and plot the ticker and Industry group?  Trying to compare a ticker's strength verses its industry.Thanks,BrianSend BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 
		Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢


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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.