From cd04d6fbd75f51225bce484c6292b7c9e32c5cb8 Mon Sep 17 00:00:00 2001 From: pietro_giacobazzi Date: Tue, 16 Jun 2026 11:01:55 +0200 Subject: [PATCH] PaPP v2 indicator: fix bold regression (OBJPROP_BOLD) --- PaPP v2/PaPP_Median.mq5 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PaPP v2/PaPP_Median.mq5 b/PaPP v2/PaPP_Median.mq5 index f805d43..49c4cdc 100644 --- a/PaPP v2/PaPP_Median.mq5 +++ b/PaPP v2/PaPP_Median.mq5 @@ -136,7 +136,8 @@ void Lbl(string n,string t,int x,int y,int fs,color c,bool b) ObjectSetInteger(0,o,OBJPROP_YDISTANCE,y); ObjectSetInteger(0,o,OBJPROP_CORNER,CORNER_LEFT_UPPER); ObjectSetString(0,o,OBJPROP_TEXT,t); - ObjectSetString(0,o,OBJPROP_FONT,b?"Consolas":"Consolas"); + ObjectSetString(0,o,OBJPROP_FONT,"Consolas"); + ObjectSetInteger(0,o,OBJPROP_BOLD,b?1:0); ObjectSetInteger(0,o,OBJPROP_FONTSIZE,fs); ObjectSetInteger(0,o,OBJPROP_COLOR,c); ObjectSetInteger(0,o,OBJPROP_BACK,false);