Correction in the formulae

#1
Seniors, please look into it.Where is the mistake in the below mentioned formulae.



SetChartBkColor(ColorBlend(colorLightBlue, colorWhite, ChartLum));
// Bar Colors for the Short Timeframe candlestick bars:
LineColor = ColorBlend(colorBlack, colorWhite, BarLum1);
UpBarColor = ColorBlend(colorBrightGreen, colorWhite, BarLum1);
DnBarColor = ColorBlend(colorRed, colorWhite, BarLum1);
// Bar Colors For The Long Timeframe candlestick bars:
TFLineColor = ColorBlend(colorBlack, colorWhite, BarLum2 - 0.1);
TFUpBarColor = ColorBlend(colorBrightGreen, colorWhite, BarLum2);
TFDnBarColor = ColorBlend(colorRed, colorWhite, BarLum2);
 
#2
use AMI BROKER 5.21 & above

ColorBlend function only works in amibroker 5.21 & above
At this moment official & stable release is 5.20
So 5.21 to 5.28 alpha/ beta are not suggested.
Just wait till official release of 5.28.1
For trial purpose u can use unstable versions from 5.21 to 5.28
But make sure to bakup data base bcoz once it is saved in 5.27/ 5.28 it will not open in lower versions.

Links -
http://www.amibroker.com/devlog/
Must Read this link -
http://www.amibroker.com/devlog/wp-content/uploads/2009/08/readme5280.html