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

[amibroker] Detecting TimeFrame limits



PureBytes Links

Trading Reference Links

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);




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/