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
Candle - Color Settings
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 :
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
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi,
Yes, of course,.. done !It's maybe a good idea to add as well the :
tChart1.Series(0).asCandle.UpCloseGradient.ShowEditor
and
tChart1.Series(0).asCandle.DownCloseGradient.ShowEditor
Pep Jorge
http://support.steema.com
http://support.steema.com