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

RE: [amibroker] Re : Seward/Trading Basis/Power Scan



PureBytes Links

Trading Reference Links

Have you set up the time frames correctly?
Here is one I use for weekly macd on a daily chart

GraphXSpace=5;

TimeFrameSet( inWeekly );
x = 13;
y=21;
z=5;

A = MACD( x, y );
B = Signal( x, y, z );
D = A-B;

TimeFrameRestore();


Plot( TimeFrameExpand( A, inWeekly), "MACD", colorGreen ); 
Plot( TimeFrameExpand( B, inWeekly), "Signal", colorRed ); 
Plot( TimeFrameExpand( D*2, inWeekly), "Histogram", colorBlack,
styleHistogram); 

PlotShapes( Cross( TimeFrameExpand( A, inWeekly), TimeFrameExpand( B,
inWeekly) )*shapeUpArrow, colorGreen, 0, TimeFrameExpand( A, inWeekly),
-20);
PlotShapes( Cross( TimeFrameExpand( B, inWeekly), TimeFrameExpand( A,
inWeekly) )*shapeDownArrow, colorRed, 0, TimeFrameExpand( A, inWeekly),
-20);




Title = "{{NAME}} - {{INTERVAL}} {{DATE}} - MyChart : {{VALUES}} ";

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

-----Original Message-----
From: RR [mailto:stocks@xxxxxxxxxxxxx] 
Sent: Tuesday, August 17, 2004 11:52 AM
To: Amibroker
Subject: [amibroker] Multiple Timeframe Support

Goal:  Display Multiple Timeframes on one sheet

We can control interval for multiple timeframes using TimeFrameSet()
function.
However, it appears that the interval selector function toolbar interferes
with the
TimeFrameSet() function so that you can not display multiple OHLC graphs
using
daily, hourly and ten minute graphs on one chart sheet.   Even when using
multiple
sheets, one per timeframe, the interval selector seems to corrupt the OHLC
data display.

Is this correct or is there a workaround?




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 --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/