Page 1 of 1
Candle - Color Settings
Posted: Tue Jul 26, 2005 6:10 pm
by 9524808
Hi,
Please how to adapt by code :
- The candle GRADIENT Up and down color
- The candle Color Style :
Relative to Open
Relative to Previous Close
Kind Regards,
Bush
Posted: Wed Jul 27, 2005 10:31 am
by Pep
Hi Bush,
not, this settings cannot be applied via code, but I'll add them for the next maintenance release v7.05 which will be out in a few days.
You will have to use similar code to the following :
Code: Select all
tChart1.Series(0).asCandle.ColorStyle = cssRelativeToClose
tChart1.Series(0).asCandle.UpCloseGradient.StartColor = clblue
tChart1.Series(0).asCandle.UpCloseGradient.EndColor = clred
tChart1.Series(0).asCandle.UpCloseGradient.Visible = true
tChart1.Series(0).asCandle.DownCloseGradient.StartColor = clgreen
tChart1.Series(0).asCandle.DownCloseGradient.EndColor = clpurple
tChart1.Series(0).asCandle.DownCloseGradient.Visible = true
Posted: Wed Jul 27, 2005 11:04 am
by 9524808
Great!
It's maybe a good idea to add as well the :
tChart1.Series(0).asCandle.UpCloseGradient.ShowEditor
and
tChart1.Series(0).asCandle.DownCloseGradient.ShowEditor
Posted: Thu Jul 28, 2005 3:20 pm
by Pep
Hi,
It's maybe a good idea to add as well the :
tChart1.Series(0).asCandle.UpCloseGradient.ShowEditor
and
tChart1.Series(0).asCandle.DownCloseGradient.ShowEditor
Yes, of course,.. done !
Posted: Thu Jul 28, 2005 8:18 pm
by 9524808

Bush