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

[amibroker] Help: Multi-timeframe support



PureBytes Links

Trading Reference Links

Probably my question has been discussed elsewhere.

I want to set up a two-windows layout, one for the daily and one for the 
hourly, on the same stock. However, I don't know if there is way to link 
the two windows to display the same symbol.  They seem to be totally 
unrelated.

I tried to use the following code to plot the daily in candlestick style 
but the display is weird.

//------------------------
TimeFrameSet(inDaily);
DailyO= O;
DailyH= H;
DailyL= L;
DailyC= C;
TimeFrameRestore();

Plot(TimeFrameExpand(DailyC,inDaily),"Daily chart",8,styleCandle);
//PlotOHLC(    TimeFrameExpand(DailyO,inDaily),        
TimeFrameExpand(DailyH,inDaily),        
TimeFrameExpand(DailyL,inDaily),    TimeFrameExpand(DailyC,inDaily),    
    "Daily",7,styleCandle);
//------------------------

Any help is appreciated.
Scott



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/