diff --git a/mql5/SR_Levels.mq5 b/mql5/SR_Levels.mq5 index 69f1f69..431fab0 100644 --- a/mql5/SR_Levels.mq5 +++ b/mql5/SR_Levels.mq5 @@ -12,7 +12,9 @@ //| 4) Der Bot muss laufen (schreibt die CSV alle ~5 s). | //+------------------------------------------------------------------+ #property copyright "Oil Trading Bot" -#property version "1.26" +#property version "1.27" +// v1.27 (2026-07-30): S/R-Label zeigt nur noch die Prozentzahl statt +// „Durchbruch 34%" (User-Wunsch) — der ausgeschriebene Text bleibt im Tooltip. // v1.26 (2026-07-30): Beschriftungen + Pfeile stehen jetzt GANZ rechts am // Chartrand — auf Hoehe des Kurs-Labels (User: „genau so angeordnet wie der // aktuelle Kurs"). RightTime() rechnet dafuer das Ende des Shift-Bereichs @@ -399,12 +401,13 @@ void Redraw() double price = StringToDouble(p[1]); if(price <= 0) continue; // Feld 3 (optional) = P(Durchbruch) in % aus dem kalibrierten Modell des - // Bots (User-Wunsch 2026-07-30). Niedrig = Level haelt eher, hoch = bricht - // eher. Wird ans Label gehaengt: „Widerstand 84.536 · Durchbruch 34%". + // Bots. Niedrig = Level haelt eher, hoch = bricht eher. Im LABEL steht nur + // die nackte Zahl („Widerstand 84.536 · 34%", User-Wunsch 2026-07-30); + // der ausgeschriebene Hinweis bleibt im Tooltip der Linie. string lbl = (typ=="R" ? "Widerstand " : "Unterstuetzung ") + DoubleToString(price, (int)_Digits); if(InpShowPBreak && k > 2 && StringLen(p[2]) > 0) - lbl += " · Durchbruch " + p[2] + "%"; + lbl += " · " + p[2] + "%"; // nur die Zahl (User-Wunsch 2026-07-30) color col = (typ=="R" ? InpResColor : InpSupColor); string nm = PFX + typ + "_" + IntegerToString(idx); if(ObjectCreate(0, nm, OBJ_HLINE, 0, 0, price))