PureBytes Links
Trading Reference Links
|
Thank
you Graham, this worked for the three-minute TF:
MinuteMarker3 = Cross((Minute()+1)/3, int((Minute()+1)/3));
it can
probably simplified...
thanks
and take care,
herman
I don't have
tick charts to check this but have you tried something like this
plot(
Cross( timenum(), timenum()%3==0 ), "",
colorblack, stylehistogram+styleownscale);
On Sat, 29 Jan 2005
09:15:09 -0500, Herman van den Bergen <psytek@xxxxxxxx>
wrote: > > This ought to be simple... how do i detect Timeframe
limits on a tick chart? > I create a 3-minute overlay on tick charts and
need a signal to tell me > where the three minute time frame starts and
stop. How would i add 3-min > markers (vertical lines) to this
code? > > Thanks! > herman > >
Plot(C,"",1,128); > TimeFrameSet(3*60); > O3min = O; > H3min
= H; > L3min = L; > C3min = C; > TimeFrameRestore(); >
O3 = TimeFrameExpand(O3min,3*60); > H3 =
TimeFrameExpand(H3Min,3*60,expandFirst); > L3 =
TimeFrameExpand(L3Min,3*60,expandFirst); > C3 =
TimeFrameExpand(C3Min,3*60,expandFirst); >
Plot(H3,"",5,styleStaircase); > Plot(L3,"",4,styleStaircase); >
> > 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
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
|