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

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



PureBytes Links

Trading Reference Links

Thanks Michael,

I will try it out

Regards
Guno


--- In amibroker@xxxxxxxxxxxxxxx, OzFalconAB <OzFalconAB@xxxx> wrote:
> Hello Guno,
>   Previously I did the same thing by hand, ie using drawing tool.
> However - This was hard to manage for some rather unapparent 
reasons -
> which I'll not go into right now.
> 
>   I may be able to point you in the right direction however. (Turn 
Right)
> This path is for EOD. For RT just add times I guess.
> 
> 1st up - You want to get that data into Amibroker.
> Mabie reformat the datafiles ready to dump to Amibroker.
> *  Use V to store value 1/2, 3/4 etc. Depending on Buy/Sell stage.
> *  Add the extention -TH to each ticker to Identify it later.
> 
>   Set it up like this:
> 
> > 2004-08-24,13:20:23,2004-08-24,13:38:20,BSX,35.82,35.85
> 
> Ticker Date      O     H     L     C   V
> BSX-TH 2004-08-21 35.80 35.80 35.80 35.80 1
> BSX-TH 2004-08-21 35.83 35.83 35.83 35.83 2
> BSX-TH 2004-08-24 35.82 35.82 35.82 35.82 3
> BSX-TH 2004-08-24 35.85 35.85 35.85 35.85 4
> 
> 
> Once you have this data in Amibroker, You can then write an 
indicator
> that will:
> Take the current ticker name and use Foriegn(Ticker-TH).
> --> Now we have Current Ticker and Ticker contianing Trade data.
> Then do a for loop in the indicator, Drawing all 1-2, 3-4 data as
> linearrays. (Possibly a bit of tricky AFL coding here)
> 
> So when you select your stock - All imported data is displayed as 
trades
> in the form of LineArrays.
> 
> Im 99% sure this would be doable.
>   (I have done similar showing Dividend dates)
> 
> ATB
>    Michael.
> 
> (There is always a better way)
> 
> 
> 
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "gunovanengel" 
<gunovanengel@xxxx> wrote:
> > 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/