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

[amibroker] COLORING A SPECIFIC BAR



PureBytes Links

Trading Reference Links

Can someone help with the code to color a specific bar with a 
selected color?

First, I'd like to be able to color a bar that is "x" bars from the 
last bar on the chart; for e.g., color the bar that is "180" bars 
from that last bar.  I'd like this indicator to work on monthly, 
weekly and daily charts, with the indicator recognizing each of these 
chart compressions and coloring the bar accordingly.

Second, I'd like to be able to color a bar on a specific date; for 
e.g., color a bar on May 31, 2008.

In the first case, as new data is added to the chart the bar that is 
colored would remain at 180 bars from the last bar; in other words, 
the colored bar would always be a fixed number of bars from that last 
bar.

The indicator would have two inputs, "BarsBack" and "BarDate", with 
the "BarsBack" being the default and "BarDate" containing a null 
value.  When a date is entered it would override the "BarsBack" 
setting and color the bar on that specific date.

Can anyone help with this?

Thanks,

Wave~Trader


------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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