Background color for Amibroker (AFL)
Kuncoro about 15 years ago Amibroker (AFL)
With this afl you can color your chart background
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Background Color");
BKswitch = ParamToggle("Background Color","On,Off");
OUTcolor = ParamColor("Outer Panel Color",colorLightBlue);
INUPcolor = ParamColor("Inner Panel Upper",colorLightYellow);
INDNcolor = ParamColor("Inner Panel Lower",colorSeaGreen);
TitleColor = ParamColor("Title Color ",ColorRGB(245,245,245));
if (NOT BKswitch)
{
SetChartBkColor(OUTcolor); // color of outer border
SetChartBkGradientFill(INUPcolor,INDNcolor,TitleColor); // color of inner panel
}
_SECTION_END();2 comments
Leave Comment
Please login here to leave a comment.
not working
It worked very fine……you have to add these formula lines to your existing formula
I put it in the end and worked fine,,,,
thanks man