PureBytes Links
Trading Reference Links
|
Here's a modified version of some code written by Nigel Rowe and myself. You
can follow the thread in this group and see the original discussion that
lead to its development. The subject was "Enhancement Request - "Playback"
Function" and the date was Jan 24, 2004.
Here's my modded version that will take the trades in the format of an
exported trade list and read them into AB:
http://finance.groups.yahoo.com/group/amibroker/files/Trading%20List%20Proce
ssor%20V1.Afl
It won't do any of the reporting you're asking about but it will get the
data into AB and you can then add your own code to complete the task.
d
_____
From: gunovanengel [mailto:gunovanengel@xxxxxx]
Sent: Thursday, September 23, 2004 4:15 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] To all AFL programmers and Amibroker Guru's
Hi,
I would like to document all my trades because I feel that this is a
valuable tool that can help me to learn from my past trades. The
note feature in Amibroker is helpful. I would however also like to
easily see on the chart the all trades. This will help me in
managing future trades. I therefore would like to highlight the time
span between the entry and the exit of the trade on the chart using
the plotfunction ( styleArea - Area Chart).
>From my Interactive Brokers accounts I have the Start Date/Time and
the End Date/Time of all my trades. I would like to transfer these
to an ascii file to be picked up by an AFL (TradeJournal.afl).
The sequence I would like TradeJournal to execute is.
1.Get the StartDate/Time and EndDateTime from the ascii file on disk
2.Highlight the timespan of the trade on the chart ( styleArea -
Area Chart)
3.Display in the Title: MFE, MAE, EntryPrice, ExitPrice of the
Trade
This will help me to page or flip through my trades and visualize
the price action/indicator values during the various trades.
My request to you is guidance in writing the AFL function to
retrieve the ascii file from disk.
And plot the areachart
Format Ascii file:
DateEntry,TimeEntry,DateExit,TimeExit,Ticker,EntryPrice,ExitPrice
2004-08-24,13:20:23,2004-08-24,13:38:20,BSX,35.82,35.85
2004-07-02,11:51:08,2004-07-02,12:12:49,CBH,53.52,53.52
2004-07-12,10:13:07,2004-07-12,10:18:52,CTL,30.73,30.7
Kindest regards
Guno
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=1290l62le/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705632198:HM/EXP=1096013701/A=2128215/R=0/SIG=10se96mf6/*http://comp
anion.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=804966515>
_____
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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|