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

[amibroker] Re: Help with Isolating Date for Conditions



PureBytes Links

Trading Reference Links




<SPAN 
class=750300921-22072004>Perhaps like this:
<FONT 
size=2>S=CCI(<FONT 
color=#ff00ff>14);<FONT face="Lucida Console" 
color=#0000ff>Plot(<FONT 
face="Times New Roman">CCI<FONT 
color=#000000>(6<FONT 
color=#000000>)<FONT face="Lucida Console" 
color=#000000>,<FONT face="Lucida Console" 
color=#ff00ff>"CCI"<FONT 
color=#000000>,colorRed,styleLine);<FONT 
color=#0000ff>Plot(<FONT 
color=#0000ff>IIf(S < <FONT 
color=#ff00ff>0, <FONT 
color=#0000ff>IIf(S<-<FONT 
color=#ff00ff>100,-<FONT 
color=#ff00ff>100,S) ,Null),<FONT 
color=#ff00ff>"",<FONT 
color=#ff00ff>1<FONT 
color=#000000>,styleHistogram);<FONT 
color=#0000ff>Plot(<FONT 
color=#0000ff>IIf(S > <FONT 
color=#ff00ff>0, <FONT 
color=#0000ff>IIf(S><FONT 
color=#ff00ff>100,<FONT 
color=#ff00ff>100,S) ,Null),<FONT 
color=#ff00ff>"",<FONT 
color=#ff00ff>1<FONT 
color=#000000>,styleHistogram);<FONT 
color=#0000ff>Plot(S,<FONT 
color=#ff00ff>"",<FONT 
color=#ff00ff>5,styleHistogram);<FONT 
color=#0000ff> 

<SPAN 
class=750300921-22072004>herman
<SPAN 
class=750300921-22072004> <FONT 
face=Tahoma size=2>-----Original Message-----From: mroman59 
[mailto:mroman59@xxxxxxxxx]Sent: Thursday, July 22, 2004 4:43 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [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);Check AmiBroker web page at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


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 












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 the Yahoo! Terms of Service.