Skip to main content

Background Colour For Amibroker for Amibroker (AFL)

mada8181 over 15 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 4)
  • Tags:
    amibroker

This Formula will help you to coloure your indicators easly ( copy this formula and paste it in the end of any formula then save ) your indicator seen will change so lovely you can control coloures by parametres

Screenshots

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

1. Ravi
over 15 years ago

Good AFL, keeps us in gr8 mood.
I would call it “Mood AFL
Keep it up
Thx
Ravi

Leave Comment

Please login here to leave a comment.