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

[amibroker] Re: Multiple Time frame Ticks... question...



PureBytes Links

Trading Reference Links


Is there a way to have the base say at 1 tick and plot a 20 tick 
chart on that base?

Mark

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> Mark,
> 
> In order to work with BOTH 20 and 30 tick data you have to switch
> periodicity of the chart (View->Intraday->) to either 1 tick or 10 
tick. 
> 
> This is so because BOTH intervals must be divisible by "base" 
interval.
> 
> Now if you use 1 tick viewing interval you need to call
> TimeFrameSet( -20 ); 
> to get 20-tick chart
> and
> 
> TimeFrameSet( -30 )
> to get 30 tick chart.
> 
> On the other hand, if you use 10-tick viewing interval you need to 
call:
> TimeFrameSet( -2 ); 
> to get 20-tick chart
> and
> 
> TimeFrameSet( -3 )
> to get 30 tick chart.
> 
> This is so because interval provided in timeframe 
functions "multiplies"
> with the viewing interval. So if viewing interval is set to 10 
tick and you
> specify TimeFrameSet( -2 ) resulting interval is 2*10 = 20.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "mleonsprint" <mleonsprint@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, November 22, 2004 12:19 AM
> Subject: [amibroker] Multiple Time frame Ticks... question...
> 
> 
> > 
> > 
> > Ok so multiple time frame ticks =) {drooling with happiness}
> > 
> > So I would use it as normal then..
> > 
> > Timeframeset(-30);
> > Timeframerestore();
> > 
> > My question is this... How do I expand a formula?
> > Normally it is "Timeframeexpand(array,in1minute)"
> > 
> > If I am working on a -20 chart and need to plot the (-30) 
indicator
> > how would I write that?
> > 
> > 
> > Thanks for your help Tomasz
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 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/