hello,
The beta version of Amibroker (5.02.2) can be find the solution, to set the candle color independently,but still it heavy for me in this manner yet unfortunately to write the correct formula . More hours I spent an attempt but I could not write the right formula.
Only a step separates already from the solution.
I have to modify only one value simply that: IIf( (C > O)AND (C < Ref( C, -1)) colorwhite( show candle with red outline but white inside)
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
if (SetBarFillColor( IIf( (C < O) AND (C < Ref( C, -1)), colorRed, colorGreen ) ) );
else
(SetBarFillColor( IIf( (C > O)AND (C < Ref( C, -1)), colorWhite,colorWhite)));
Plot( C, "Close",IIf( Close < Ref( Close, -1), colorRed, colorGreen ), styleCandle );
_SECTION_END();
Do you know what is wrong in my afl coding?
Thank you your help