PureBytes Links
Trading Reference Links
|
Graham,
Thanks for the help... this group is amazing, i ask a question and i
get an immediate answer.
Thanks for all your comments... always helpful.
--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> You could perhaps try these
>
> N = 5;
> MyCross = Cross(MACD(),Signal());
> MySignal = sum(MyCross,N) ;
> BuyCond = MySignal > 0;
>
>
> Or
>
>
> N = 5;
> BuyCond = MACD()>Signal() and ref(MACD(),-N) < ref(Signal(),-N) ;
>
>
> Of course you could shorten this to remove some lines, but I like
to see
> things spelt out, easier to check for errors and logic.
>
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia
>
>
> -----Original Message-----
> From: _THEM_ [mailto:manchu@x...]
> Sent: Saturday, 9 August 2003 12:40 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] MACD Lookback?
>
>
> I'm trying to combine a couple of indicators and would like to know
> if the MACD has crossed the Signal line within the previous n days.
>
> Is this possible?
>
> TIA,
> THEM
>
>
> ------------------------ 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@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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/
------------------------ 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/
|