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

Re: [amibroker] Using Symbol Information in AFL?



PureBytes Links

Trading Reference Links

Hello I am using the CCI indicator to plot the flowing line;

Plot(CCI(14),"CCI",colorBlack,styleLine);

However I would like AB to change the color of the line as CCI 
changes values in an eod chart or realtime charting pattern 
indicator.   For example,

CCI < - 100 = line is gray
CCI between -100 and 0 color is green
CCI between 0 and 100 color is yellow 
CCI > 100 color is red

In addition I would like to have the previously colored line change 
colors as an uptrend in CCI is established. That is, if a value is 
between -100 and 0 (designated by a green line) is begun and then 
when a CCI value falls to the bottom value (below -100)the previous 
green line will turn gray and when the value climbs into the next 
higher value (between 0 AND -100) the previous gray line also turns 
light green.  If a value falls back into a lower value any higher 
previously green line will return to neutral gray. Hope this makes 
sense.


Can anyone help?
Much appreciated 
Thank you




Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/