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

[amibroker] How about



PureBytes Links

Trading Reference Links

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glen,
	it doesn't make sense to me, which daily value do you expect when you're in 
weekly mode?  (Monday's, Friday's, what?)

	Nigel


On Fri, 6 Feb 2004 15:20, Glenn wrote:
> Anyone? :-)
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Glenn" <glennokb@xxxx> wrote:
> > Hi,
> >
> > Is it possible to use an Index filter with a DAILY period within a
> > Weekly system please?
> >
> > Would this be right?
> >
> > -----------------------------------------
> > SetForeign("XAO");
> > DailyClose = TimeFrameGetPrice( "C", inDaily, 0 );
> > IndexFilter = IIf(DailyClose > EMA(DailyClose ,21),1,0);
> > RestorePriceArrays();
> > -----------------------------------------
> > Buy = Signal AND IndexFilter==1;
> >
> > Cheers Glenn
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAIxpVBbmcM2pfckkRAqOhAKCeAqJwPcWkP3aRCXS6FSI6o2aqkQCgxG19
biUh9IVXx5qtNiMvghFLTRY=
=sb3N
-----END PGP SIGNATURE-----



------------------------ 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/mOAaAA/3exGAA/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 
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:
     http://docs.yahoo.com/info/terms/