This moditifed code allows you to select the colors:
//start code
UL = Param("Upper price limit", 18, 10, 500, 1, 0);
LL = Param("Lower price limit", 10, 10, 500, 1, 0);
RANGECOLOR = ParamColor("Range color", colorRed);
OTHERCOLOR = ParamColor("Out of Range Color", colorBlue);
range = High - Low;
Color = IIf( range < UL AND range >= LL , RANGECOLOR, OTHERCOLOR);
Plot( Close, "Close", Color, styleBar );
//end codeRegards, Alan Potato Soup wrote:
Say if I want all bars that are between a certain range to be red and the rest blue, or something like that. Is that possible in AB?__________ Information from ESET NOD32 Antivirus, version of virus signature database 4733 (20091231) __________The message was checked by ESET NOD32 Antivirus. http://www.eset.com
