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

Re: [amibroker] Re: Anyone who knows multiple time framefunctions well please help



PureBytes Links

Trading Reference Links

Hey Mark,

If you must have a default baseline, how about using 1 minute and using
TimeFrameSet/TimeFrameExpand as you have done both your 3 minute and 15
minute indicators? They will both plot on a 1 minute chart (I know, not
ideal), but you will see the time frames as each line on the chart will step
in 3 or 15 minute increments.
-- 
Terry


From: "mleonsprint" <mleonsprint@xxxxxxxxx>
Reply-To: amibroker@xxxxxxxxxxxxxxx
Date: Mon, 08 Nov 2004 01:39:51 -0000
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Anyone who knows multiple time frame functions well
please help


The problem is I trade from a 3 minute price chart and I need to
reference an indicator that is on a 15 minute chart.

So your saying this is not possible?


--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxxx> wrote:
> You need to use ONLY predefined values as your base chart time.
> 
> Predefined value are 1,5 and I beleive 15 min. in the low range of
intraday
> .... 3 min that you are using is not defined as a base ... so you
can not
> derive 15 min time from from 3 min base.
> 
> Look in help files for rest of defined base times...
> 
> ----- Original Message -----
> From: "mleonsprint" <mleonsprint@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, November 07, 2004 12:28 PM
> Subject: [amibroker] Anyone who knows multiple time frame
functions well
> please help
> 
> 
> >
> >
> > I have looked in the reference etc. and am struggling with using
the
> > multiple time frame coding.  I have been trying all afternoon to
get
> > this code into a 15 minute time frame (when I have a 3 minute
time
> > frame price chart up)
> >
> > Here is what I did,
> >
> > TimeFrameSet(in15Minute);
> > A4=CCI(A);
> > A5=CCI(A1);
> > TimeFrameRestore();
> >
> > Then where any a4 and a5 were listed I typed "Timeframeexpand
> > (a4,in15minute)" or "Timeframeexpand(a4,in15minute)"
> >
> > But the coding came out wrong because it doesn't look right on my
> > chart, comparing it to an actual 15 min chart with the indicator
> > plotted....
> >
> > Thanks for your help
> > Mark
> >
> >
> > Title = "Woodies CCI " + " " + FullName() + " " + Date( ) ;
> >
> > A=Param("CCI TURBO",6,3,14,1);
> > A1=Param("CCI 14",14,7,20,1);
> > A2=ParamColor("CCI TURBO",colorGreen);
> > A3=ParamColor("CCI 14",colorRed);
> > A4=CCI(A);
> > A5=CCI(A1);
> > A6=IIf(A5<0,colorBrightGreen,colorRed);
> > A7=IIf(Ref(A5,-5) <0 AND Ref(A5,-4) <0 AND Ref(A5,-3) <0 AND Ref
(A5,-
> > 2) <0 AND Ref(A5,-1) <0,colorRed,A6);
> > A8=IIf(Ref(A5,-5) >0 AND Ref(A5,-4) >0 AND Ref(A5,-3) >0 AND Ref
(A5,-
> > 2) >0 AND Ref(A5,-1) >0,colorBrightGreen,A7);
> > Plot(A5,"CCI TURBO HISTOGRAM",A8,styleHistogram);
> > Plot(A4,"CCI TURBO",A2,styleThick);
> > Plot(A5,"CCI 14",A3,styleThick);
> > Plot(0,"ZERO LINE",colorBlack,styleThick);
> > Plot(-100,"-90",colorBlack,styleLine);
> > Plot(100,"90",colorBlack,styleLine);
> >
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Yahoo! Groups Sponsor
 
 ADVERTISEMENT
 <http://us.ard.yahoo.com/SIG=1290ebg8k/M=294855.5468653.6549235.3001176/D=g
roups/S=1705632198:HM/EXP=1099964448/A=2376776/R=0/SIG=11ldm1jvc/*http://pro
motions.yahoo.com/ydomains2004/index.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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
*  
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




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