PureBytes Links
Trading Reference Links
|
I don't know the answer to your question, but if the file is static why
don't you just import it as a ticker. Then you can read the ticker with
Foreign and it will work normally. The only trick is you can't have <=0
data in a ticker. It will also run a lot faster.
--
Terry
| -----Original Message-----
| From: amibroker@xxxxxxxxxxxxxxx
| [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of cs22trader
| Sent: Saturday, May 28, 2005 1:40 PM
| To: amibroker@xxxxxxxxxxxxxxx
| Subject: [amibroker] AFL troubles...
|
|
| I am reading in data from an external file for each day using an
| fgets... I want to backtest. The prices are read properly when each
| bar is selected -- different values for each day -- The problem is
| that the variable read for any one day -- for instance
| limitprice [todaysbar] -- is applied to all days in the
| array. The backtester
| then doesn't work right because it uses the last day's limitprice for
| all prior days. How can I make the backtester apply the data only to
| each specific day, so that each day has separate values?
|
| Thanks
|
|
|
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/
|