Signal size (font )

Hello everyone, how can we change signal size to be larger.
usually they come with a fixed size.

how to change FONT in the two particular formulas ??

< shape=IIf(g,shapeDownTriangle*(x==t1),shapeUpTriangle*(x ==t11));
Color=IIf(g,colorRed,colorGreen); >

<PlotShapes( IIf( Buy, shapeSmallUpTriangle, shapeNone ), colorWhite, layer = 0,yposition = HaLow, offset = -30);
//PlotShapes( IIf( Buy, shapeSmallCircle, shapeNone ), colorWhite, layer = 0,yposition = HaLow, offset = -8); >

Thanks in advance

I'm not a chart expert but I see a couple of possibilities.

First almost anything you want to see on the screen can be done with low level graphics capabilities,

http://www.amibroker.com/guide/h_lowlevelgfx.html

But also consider that since AmiBroker version 5.80, PlotTextSetFont can use the windings.

https://www.amibroker.com/guide/afl/plottextsetfont.html

For example,

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 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 

buy1 = Cross(MACD(), Signal());


Size1 = param("FontSize1", 40, 30, 90, 5);

// draw an up arrow
for ( i = 2; i < BarCount; i++ )
{
    if ( buy1[i] )
        PlotTextSetFont( "#", "Wingdings 3", size1, i - 1, L[i], colorGreen, colorDefault, -(size1+20) );
   
}  

 

I think this can serve as a reference (but not certain)

4 Likes