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

[amibroker] To all AFL programmers and Amibroker Guru?s



PureBytes Links

Trading Reference Links

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







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/