Hi Members, I spent much time and learned a lot today with the help of fellow members and reading Amibroker guide:
http://www.amibroker.com/guide/h_indbuilder2.html Please help me find the correct code for coding three or more Gradients in the chart background. I understand there are two gradients and they are: topcolor - specifies top color of the gradient fill bottomcolor - specifies bottom color of the gradient fill Is there a code for the "Middle" if I choose to have three gradients? If I prefer four gradients, what are the other two called besides top color and bottom color? Thank you --- In [email protected], "electricwally77" <[EMAIL PROTECTED]> wrote: > > Hello Aron, Okay Thanks. I got it to work. I had to remove the "|" at > the beginning of your code and also had to remove the "|" at the end > of your code before it would run properly. Not sure what those symbols > are used for. Thanks Aron. I will study this and insert different > values for colors. Where did you learn to code for "chart background > gradient colors"? > > --- In [email protected], Aron <apforex@> wrote: > > > > electricwally77 wrote: > > > Hello Aron, I pasted your code into my chart formula exactly as > > > appears below and received an error message on line 4 that said > > > "Variable 'bgcolor' used without having been initialized." As soon as > > > I fix line 4 I assume line 5 will give me the same type of error > > > message. Appreciate any advice. Thank you Aron. > > > > > did not get copied correctly > > this will work: > > > |BgColor= ParamColor("Bg",ColorRGB( 251,251,252)); > > > BgTop=ParamColor("BgTop",ColorRGB(251,251,251) ); > > > BgBot=ParamColor("BgBot", ColorRGB(219,225,227)); > > > SetChartBkColor( BgColor); > > > SetChartBkGradientFill( BgTop,BgBot);| > > >
