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

Re: [amibroker] Re: Multiple timeframe question



PureBytes Links

Trading Reference Links

Have you set the base timeframe level for the chart to less than 5 minute?
You cannot get 5 minute details on a 1 hour chart.

On Tue, 25 Jan 2005 08:53:28 -0000, gunovanengel <gunovanengel@xxxxxx> wrote:
> 
> 
> Hi,
> 
> I have also tried that, it still differs
> 
> Regards
> GUno
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Christoper" <turkey@xxxx> wrote:
> >
> > I think you may need to switch:
> > =>Plot( MRSI, "RSI 5 Min", colorSkyblue  + styleLine |
> styleThick ,1);
> >
> > To:
> > =>Plot( TimeFrameExpand(MRSI, in5Minute), "RSI 5 Min",
> colorSkyblue
> > + styleLine | styleThick ,1);
> >
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "gunovanengel"
> <gunovanengel@xxxx>
> > wrote:
> > >
> > > HI,
> > >
> > > I would like to put in the top pane of a window a five minute
> chart
> > > in the lower pane I would like to have a one min chart
> > >
> > > I have tried the code below in the top window. When I cross
> check
> > > this however, the peaks and valleys are not the same as a
> regular 5
> > > min chart drawn by amibroker.
> > >
> > > ////////////////////=== Start code
> > > if( Interval() == 60 ) //1 min
> > > {
> > > TimeFrameSet( in5Minute ); // switch to 5 minute frame
> > > MRSI= RSI(14);
> > > TimeFrameRestore(); // restore time frame to original
> > > //Plot(TimeFrameExpand(MRSI,in5Minute), "RSI 5 Min",
> colorSkyblue
> > +
> > > styleLine | styleThick ,1);
> > > Plot( MRSI, "RSI 5 Min", colorSkyblue  + styleLine |
> styleThick ,1);
> > >
> > > }
> > >
> > > ///////////////////////////////==== end Code
> > >
> > > What am I doing wrong
> > >
> > > Your help is greately appreciated.
> > >
> > >
> > > Kindest regards
> > > Guno
> 
> 
> 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/


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