Hi, found the solution to this by using EncodedColor() as below:
_N(Title = EncodeColor(colorBlack) + StrFormat("{{NAME}} ({{INTERVAL}}), {{DATE}} ; {{OHLCX}}, V=%1.0f\n {{VALUES}}\n\n", V));
However, when I change my background to white using
SetChartBkColor(ParamColor("Outer panel",colorBlack)); // color of outer border
SetChartBkGradientFill( ParamColor("Inner panel upper",colorWhite),ParamColor("Inner panel lower",colorWhite));
The text of EMA() value is white as below:

I think this is because I choose Black as my Predefined chart theme in Preferences (due to other compatibility with other chart panels).
My full code is below. Basically I want to reproduce the Basic Chart theme (black/white) in only one chart window while my other chart windows follow the set Black chart theme in the Preferences.
_SECTION_BEGIN("Price");
_N(Title = EncodeColor(colorBlack) + StrFormat("{{NAME}} ({{INTERVAL}}), {{DATE}} ; {{OHLCX}}, V=%1.0f\n {{VALUES}}\n\n", V));
_SECTION_END();
SetChartBkColor(ParamColor("Outer panel",colorBlack)); // color of outer border
SetChartBkGradientFill( ParamColor("Inner panel upper",colorWhite),ParamColor("Inner panel lower",colorWhite));
Insidecolor=IIf(C<O,colorBlack,colorWhite);
SetBarFillColor(Insidecolor);
PlotOHLC( Open, High, Low, Close, " " , styleCandle | styleThick );
_SECTION_BEGIN("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
Is there a way to change the color of EMA() value text to black (overriding the predefined chart theme)?