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

Re: [amibroker] TimeFrameExpand and Compress



PureBytes Links

Trading Reference Links

Try modifying my hack** [need to set Down candle color =
Green]. -Bob
----
UbBtm = 100; LbTop = -100;
periods = 20; x=CCI(periods); // <= Change this.
************
UbHi = Max(x,UbBtm); LbLo = Min(LbTop,x);
Plot(x,"CCI",colorBlack,styleHistogram|styleThick);
PlotOHLC(UbHi,UbBtm,UbHi,UbBtm,"",colorBlack,styleCandle|sty
leNoLabel);
PlotOHLC(LbTop,LbLo,LbTop,LbLo,"",colorBlack,styleCandle|sty
leNoLabel);
-----
** Based on  Joe Maywood [mailto:jmaywood@xxxxxxxxx] Sent:
Thursday, May 27, 2004 1:46 PM
-----Original Message-----
From: mroman59 [mailto:mroman59@xxxxxxxxx]
Sent: Thursday, July 22, 2004 1:43 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Whats wrong with my formula


Trying to make formula for woodies CCI indicator, however
when I code
to determine historgram colors for various CCI values, lets
say any
CCI(14) greater than 100 or greater than -100 make green or
else I
want black, but I have not been able to do this. The
histograms are
all the same color.

Thanks
MR



/*Woodies CCI system */
Plot(CCI(14),"CCI",colorBlack,styleLine);

IIf(CCI(14) > 100 OR CCI(14) < -100, Plot(CCI
(14),"CCI",colorBrightGreen,styleHistogram),Plot(CCI
(14),"CCI",colorBlack,styleHistogram));


Plot(CCI(6),"CCI",colorRed,styleLine);

Title = Name() + "   " + Interval(2) + "  " +  Date()+ "   "
+  "CCI
=" + CCI(14);




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







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