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

RE: [amibroker] HHVBars Problem.



PureBytes Links

Trading Reference Links


Aaron,
 
SetForeign("!Comp"); //MACD and Signal code below based on NAZ CompositeMyMacd = MACD(12, 26);MySignal = Signal(12,26,9);RestorePriceArrays();
 
MyNasdaqBuySignal = Cross(MyMacd, MySignal);  //True only on the day of crossMyNasdaqBuyState = MyMacd > MySignal; //True every bar that MACD > Signal
 
...The rest of your code here.
 
Hope this helps,
Garytrading_for_a_living <trading_for_a_living@xxxxxxxxx> wrote:
How can I use the macd (12,26) and signal (12,26,9) of the nasdaq as a filter, such that when then macd of the nasdaq crosses above the signal line then I will look to buy stocks long?Thank youAaronSend 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!?Win a $20,000 Career Makeover at Yahoo! HotJobs 


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.