PureBytes Links
Trading Reference Links
|
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);
------------------------ 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/
|