From 78ccb1d81923683e7a6600044dff613e74beb2fd Mon Sep 17 00:00:00 2001 From: Pietro Giacobazzi Date: Tue, 16 Jun 2026 19:12:34 +0000 Subject: [PATCH] PaPP v2 indicatore: fix compile - OBJPROP_BOLD inesistente in MQL5, grassetto via font Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- PaPP v2/PaPP_Median.mq5 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PaPP v2/PaPP_Median.mq5 b/PaPP v2/PaPP_Median.mq5 index 8d37f00..585cc30 100644 --- a/PaPP v2/PaPP_Median.mq5 +++ b/PaPP v2/PaPP_Median.mq5 @@ -191,8 +191,7 @@ 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,"Consolas"); - ObjectSetInteger(0,o,OBJPROP_BOLD,b?1:0); + ObjectSetString(0,o,OBJPROP_FONT,b?"Consolas Bold":"Consolas"); ObjectSetInteger(0,o,OBJPROP_FONTSIZE,fs); ObjectSetInteger(0,o,OBJPROP_COLOR,c); ObjectSetInteger(0,o,OBJPROP_BACK,false);