Hello Members,
Pls. spare some time to help me solve this persistent problem.
I find darker background much more palatable for my charts. I have use the following AFLs which I drag & drop on my charts
1.
_SECTION_BEGIN("Background");
SetChartOptions(0,chartShowArrows|chartShowDates);
if( ParamToggle("Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g
(%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1
)));
}
SetChartBkColor(ParamColor("Outer panel color ",colorBlack)); // color of outer border
SetChartBkGradientFill( ParamColor("Inner panel color upper half",colorDarkTeal),
ParamColor("Inner panel color lower half",colorBlack)//color of inner panel
,ParamColor("behind Text Color", colorRed));
_SECTION_END();
This one plots a "Dark Teal" Background.
2.
_SECTION_BEGIN("Colour Tap");
SetChartOptions(0,chartShowArrows|chartShowDates);
if( ParamToggle("Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g
(%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1
)));
}
SetChartBkColor(ParamColor("Outer panel color ",colorDarkGrey)); // color of outer border
SetChartBkGradientFill( ParamColor("BgTop", ColorRGB( 172,172,172 )),
ParamColor("BgBottom", ColorRGB( 172,172,172 )),ParamColor("titleblock",ColorRGB( 172,172,172 )));
_SECTION_END();
This one gives a pop up to chose colours for inner panel, outer panel etc.
Now the problem:
The 1st AFL's attributes are retained when I shut down & restart Amibroker, but the 2nd AFL does not retain the colours that I had earlier selected.
I am using 5.20 Final Pro registered version on a Vista 32 OS.
Pls. help me get to the root of the problem.
Similar problem is there with Pattern Explorer templates, which do not retain the changes I make, after a restart.
I have tried making "Linked Charts" also, but the problem keeps cropping up.
Whats the way out?
Regards
Pls. spare some time to help me solve this persistent problem.
I find darker background much more palatable for my charts. I have use the following AFLs which I drag & drop on my charts
1.
_SECTION_BEGIN("Background");
SetChartOptions(0,chartShowArrows|chartShowDates);
if( ParamToggle("Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g
(%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1
)));
}
SetChartBkColor(ParamColor("Outer panel color ",colorBlack)); // color of outer border
SetChartBkGradientFill( ParamColor("Inner panel color upper half",colorDarkTeal),
ParamColor("Inner panel color lower half",colorBlack)//color of inner panel
,ParamColor("behind Text Color", colorRed));
_SECTION_END();
This one plots a "Dark Teal" Background.
2.
_SECTION_BEGIN("Colour Tap");
SetChartOptions(0,chartShowArrows|chartShowDates);
if( ParamToggle("Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g
(%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1
)));
}
SetChartBkColor(ParamColor("Outer panel color ",colorDarkGrey)); // color of outer border
SetChartBkGradientFill( ParamColor("BgTop", ColorRGB( 172,172,172 )),
ParamColor("BgBottom", ColorRGB( 172,172,172 )),ParamColor("titleblock",ColorRGB( 172,172,172 )));
_SECTION_END();
This one gives a pop up to chose colours for inner panel, outer panel etc.
Now the problem:
The 1st AFL's attributes are retained when I shut down & restart Amibroker, but the 2nd AFL does not retain the colours that I had earlier selected.
I am using 5.20 Final Pro registered version on a Vista 32 OS.
Pls. help me get to the root of the problem.
Similar problem is there with Pattern Explorer templates, which do not retain the changes I make, after a restart.
I have tried making "Linked Charts" also, but the problem keeps cropping up.
Whats the way out?
Regards