Hello,
This is a minor issue with customizing the report chart, but I can't figure out how to change the text color of the vertical axis labels.
SetChartBkColor(colorWhite);
GraphLabelDecimals = 0;
SetChartOptions(1, chartShowDates);
// Cálculo del drawdown del Portfolio ($)
EQ = C;
MaxEQ = Highest( EQ );
DD_absolute = ( Eq - MaxEQ );
MaxDD_absolute = Lowest( DD_absolute );
// Cálculo del drawdown del sistema (%)
EQ = C;
MaxEQ = Highest(EQ);
DD_percent = 100 * (EQ - MaxEQ) / MaxEQ;
MaxDD_percent = Lowest(DD_percent);
//Títulos
Title = EncodeColor(colorBlack) + " MaxDD: " + NumToStr( LastValue(MaxDD_absolute), 1.0, True ) +"($)" + " " + NumToStr( LastValue(MaxDD_percent), 1.2, True ) + "(%)"+
" DDActual: " + NumToStr( LastValue(DD_absolute), 1.0, True ) +"($)" + " " + NumToStr( LastValue(DD_percent), 1.2, True ) + "(%)";
// Pintamos Portfolio
SetGradientFill( ColorRGB( 255, 225, 225 ), ColorRGB( 255, 50, 50 ), 0);
Plot( DD_absolute, "", ColorBlend( ColorRGB( 255, 50, 50 ), colorBlack ), styleGradient |styleLine , Null, Null, 0, -1 );
Plot(MaxDD_absolute, "", colorRed, styleLine | styleDashed );
// Aviso si no se aplica sobre gráfico de equity
if (Name() != "~~~EQUITY" AND Name() != "~~~OSEQUITY")
Title = "?? Warning: this chart should be applied to ~~~EQUITY or ~~~OSEQUITY only!";
In this chart, you can see that the text color for the DDActual label is white and for MaxDD it's black. How do I change that? Is it even possible?
Also, the DDActual label is a rectangle, and the MaxDD label is also a rectangle with a pointed end. Can I customize that? How? Can I make both labels like the MaxDD label, that is, a rectangle with a pointed end?
Thank you very much

