PureBytes Links
Trading Reference Links
|
Very easy. Convert your file to have 1 for Long and -1 for short and
save in .csv format.
Load it as a "ticker" using File->Import. Be sure to check allow
negative prices. Then add buy/sell like this or similar:
mySig = Foreign("mySig");
Buy = Cross(mySig,0);
Sell = Cross(0,mySig);
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of Werner
Sent: Thursday, December 15, 2005 09:25
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Testing external timing system
Good day,
I was wondering if it is possible to test an external timing system. I
have a text file that looks like this:
01/05/2005 L
01/20/2005 S
and so forth.
"L" is LONG and "S" is SHORT. The system is always long or short. How
would I test this kind of system with AB ? Somehow I have to get AB to
read the above file, or create a file that AB can read.
Any suggestions? Thanks.
Werner
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|