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

[amibroker] Re: Amibroker -> Plot Trailing Stop Level



PureBytes Links

Trading Reference Links


Aaron,
 
Something like this.  Run with n last days = 1.
 
Regards,
Gary
 
 MyIndexSym = ParamStr("Index Symbol", "!COMP");
MyIndex = Foreign(MyIndexSym, "C");
 
RelStr = C / MyIndex; //!COMP is symbol for QP2.  Adjust for your data vendorRelStrAvg = MA(RelStr, 30);RSAvgAboveOne = RelStrAvg > 1;
 
Filter = RSAvgAboveOne;
 
AddColumn(C, "Close", 5.2);AddColumn(RelStrAvg, "Rel Str Avg", 5.2);
  
 
trading_for_a_living <trading_for_a_living@xxxxxxxxx> wrote:
What is the formula for finding stocks whose relative strength is higher than that of the compqx (nasdaq composite) over the past 30 days?Any help would be appreciated.AaronSend 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.