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

[amibroker] Re: high low till 10.15



PureBytes Links

Trading Reference Links

Looking good.

Thanks for sharing.

Are you sure you want the >= here:

afterbreakout1 = TimeNum()>=101500;

If the 1015 bar makes a OpeningRange L Or High then it will also 
become a buy.

1015 is the cut off time for the ORange but it is also the starting 
time for the trading range.

Just wondering ... does it work better with that condition than it 
does without?



brian_z




--- In amibroker@xxxxxxxxxxxxxxx, "qavatina" <qavatina@xxx> wrote:
>
> Hi, 
> I do it like this:
> 
> breakoutime = 101500;
> afterbreakout0 = Cross(TimeNum(),101500);
> afterbreakout1 = TimeNum()>=101500;
> NewDay = Day()!= Ref(Day(), -1);
> highestoftheday = HighestSince(newday,H,1);
> Lowestoftheday =LowestSince(newday,L,1);
> ORBHigh = ValueWhen(afterbreakout0,highestoftheday,1);
> ORBLow = ValueWhen(afterbreakout0,lowestoftheday,1);
> Buy= Cross(C,orbhigh) AND afterbreakout1;
> Sell = Cross(orblow,C) AND afterbreakout1;
> 
> Plot(C,"",colorYellow,styleBar);
> PlotShapes( shapeUpArrow * Buy, colorGreen,0,L,-12);
> PlotShapes( shapeDownArrow * Sell, colorRed,0,H,-12);
> Plot(afterbreakout0,"",colorBlue,styleHistogram|styleOwnScale);
> Plot(ORBHigh,"",colorGreen,styleDots);
> Plot(ORBLow,"",colorRed,styleDots);
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, H Patel <hareshbhaip@> wrote:
> >
> > Hi,
> >  
> > To Get High and Low values at 10.15 AM you can set your chart in 
> 15Minue Timeframe. In this time frame u will get 1st bar from 9.55 
to 
> 10.00 and 2nd bar from  10.00 to 10.15.
> > I can't understand any deeper logic of 10.15 am High and Low 
> values. If anything is STRONG in these values please share with all 
> group members or don't waste time for that 
> > 
> > Thanking you with Kind Regards,
> > 
> > Haresh Patel
> > 
> > --- On Tue, 12/30/08, brian_z111 <brian_z111@> wrote:
> > 
> > From: brian_z111 <brian_z111@>
> > Subject: [amibroker] Re: high low till 10.15
> > To: amibroker@xxxxxxxxxxxxxxx
> > Date: Tuesday, December 30, 2008, 3:57 AM
> > 
> > 
> > 
> > 
> > 
> > 
> > Hello
> > 
> > To get the two variables for 1015 H & L try this:
> > 
> > IL = LowestSince( DateNum() != Ref(DateNum( ),-1), L, 1 ); 
> > IH = HighestSince( DateNum() != Ref(DateNum( ),-1), H, 1 );
> > 
> > Plot(IL,"IntradayLo w",1,1);
> > Plot(IH,"IntradayHi gh",1,1);
> > 
> > Then try adding:
> > 
> > (the value of the IL or IH when, 
> > the time of the 5 min bar == 1015,
> > the most recent instance should be the current value of the L or 
H 
> up 
> > until 1015 each day);
> > 
> > brian_z
> > 
> > --- In amibroker@xxxxxxxxx ps.com, "Debdulal Bhattacharyya" 
> > <sdebu_2k@ .> wrote:
> > >
> > > Thank You very much Rajiv for your reply.But I need high and 
low 
> > value 
> > > till 10.15 and my buy level and sell level would be that 2 
levels 
> > > after 10.15. I want to plot 2 lines (buy line and sell line)for 
> each 
> > > day after 10.15 in 1min or 5 min chart in RTDatabase.When Price 
> > > crosses the two lines signal would be generated.
> > > Got my point?waiting for your reply.
> > > Thaxn in advance
> > > Debdulal Bhattacharyya
> > >
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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