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

RE: [amibroker] Help: Multi-timeframe support



PureBytes Links

Trading Reference Links

Have you tried Window-New Linked
You can then just set the window to be Daily or Hourly without any special
afl timeframe

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

-----Original Message-----
From: Scott Cong [mailto:scong@xxxxxxxxxx] 
Sent: Friday, September 10, 2004 11:45 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help: Multi-timeframe support

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




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



 



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