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

Re: [amibroker] Re: Code Help ( Hi Kaveman)



PureBytes Links

Trading Reference Links

Hopefully someone can help, I only have data down to 1 minute

You could always try timeframeset(in5minute) to see if you can get the
OHLC for the times
or 
Ox = timeframegetprice( "O", in5minute );

On Wed, 03 Nov 2004 05:42:47 -0000, iascool <sai20_2000@xxxxxxxxx> wrote:
> 
> 
> HI Kaveman,
> 
> You may be right.
> I get the intraday data in - Tick Format
> date            Time    Close   vol
> 20041102        95549   262     2
> 20041102        95557   262     0
> 20041102        95606   262     400
> 20041102        95615   261.9   300
> 20041102        95623   261.2   400
> where there are no arays for open , high and low.However in the code
> we call for these missing arrays from local data.Is this the reason
> the analysis do not identify these arrays ?
> In the multiple time frame help section ,I have seen the time frame
> staring from 1min(60sec) and multiples. There is no
> such  "intick".How amI supposed to incorporate the tick/sec formaty
> in the code?
> 
> Note- The quote editor shows the corrosponding tick value in all its
> fields.
> 
> Regards
> 
> --- In amibroker@xxxxxxxxxxxxxxx, kaveman perth <kavemanperth@xxxx>
> wrote:
> > what setting in the AA settings for Periodicity did you have. This
> > needs to be set to suit your required timing
> >
> > 
> > On Tue, 02 Nov 2004 18:09:43 -0000, iascool <sai20_2000@xxxx>
> 
> 
> wrote:
> > >
> > >
> > > Hi Kaveman,
> > > The code below ran succesfully on EOD chart .But the same did not
> > > gave any signal on Intraday chart, when i run it in auto-
> analysis.
> > > When I loaded the opening Intra-Day data(5min) just 2min after
> > > market opened I expected a sell signal as the open was above yday
> > > high, but it did not.ON the contrary it gave me sell signal when
> i
> > > run it over EOD at the days end.Any suggestions pls.
> > >
> > > Regards
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "iascool" <sai20_2000@xxxx>
> wrote:
> > > >
> > > > Thanks Kaveman
> > > > I really appreciate your changes in code have worked instantly
> on
> > > > daily charts.
> > > > I have a bit problem on intraday charts , I have imported @ 50
> > > > scrips intraday in AB. But
> > > > 1)The scrip names have a specific daily code in front of them
> for
> > > eg
> > > > on 28 oct 2004 the scrip will be XXXEQ10142 and the same scrip
> on
> > > >    29 Oct 2004 the scrip will be XXXEQ10382 .When I import it
> in
> > > AB
> > > > the scrip donot overwrite(/append) to itself but forms a
> saperate
> > > > entity.I have gone thru help file to find that "alias" function
> > > does
> > > > manages to merge data which have slightly diff scrip codes of
> same
> > > > scrips but from diff data locations. I prefer the intraday data
> > > > should form series od data in same scrip rather than different
> one.
> > > > Any Suggestions pls
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, kaveman perth
> > > <kavemanperth@xxxx>
> > > > wrote:
> > > > > try this
> > > > > Buy= cross(TimeFrameGetPrice( "L", inDaily, -1 ),O);
> > > > > sell=cross(O, TimeFrameGetPrice( "H", inDaily, -1 ));
> > > > >
> > > > >
> > > > > On Mon, 01 Nov 2004 09:24:06 -0000, iascool <sai20_2000@xxxx>
> > > > wrote:
> > > > > >
> > > > > >
> > > > > > hi
> > > > > > I update AB intraday manually thru excel.
> > > > > > I intend to find the stocks at the opening bell ,which
> > > > > > 1)Open above previos days high and ( Action-Short)
> > > > > > 2)Open below previos days low      (Action-Long)
> > > > > > Following is the code i have tried to write but unaware
> how to
> > > > write
> > > > > > it in intraday format
> > > > > >
> > > > > > TimeFrameSet(in5Minute);
> > > > > > Buy= Open<LLV(L,-1);
> > > > > > Sell=Open>HHV(H,-1);
> > > > > > TimeFrameRestore();
> > > > > > AlertIf(Buy,"sound c:\Media\Notify.WAV","Audio alert",1);
> > > > > > AlertIf(Sell,"sound C:\Media Notify.WAV","Audio alert",2);
> > > > > >
> > > > > > At present  iam not getting any signals , can any one
> correct
> > > and
> > > > > > advise me pls.
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > >
> > > > > > 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
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cheers
> > > > > Graham
> > > > > http://e-wire.net.au/~eb_kavan/
> > >
> > >
> > > 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
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Cheers
> > Graham
> > http://e-wire.net.au/~eb_kavan/
> 
> ------------------------ 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ 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/