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

RE: [amibroker] Re: Portfolio position sizing code idea



PureBytes Links

Trading Reference Links

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

Glen,
	in that case, I'd 

1. run the AA in daily mode
2. grab the daily values you need.	(Make sure you aren't looking to 
	be looking into the future!)
3. TimeFrameCompress() them
4. TimeFrameSet(inWeekly) to set OHLCV to weekly
5. run the rest of your system

	Nigel


On Fri, 6 Feb 2004 16:11, Glenn wrote:
> Hi Nigel,
>
> Thanks for your reply. The actual code is just an example (the EMA
> bit) but I'd expect the value on Friday.
>
> A bit of background... it was found using Metastock/Tradesim that a
> daily index filter worked better with this weekly system and I'm
> trying to get it into Amibroker.
>
> Cheers Glenn
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAIy6+BbmcM2pfckkRAjZiAJ4o1tuSm0gBY+62oyuIiY3bluiUjQCdECiL
7Ygo16gKieK1lBU5BPViTBk=
=IBl4
-----END PGP SIGNATURE-----



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/