CloseIfProfitorLoss mit Trailing: Positionen nach Gesamtgewinn/-verlust schließen, mit Trailing Stop.

CloseIfProfitorLoss mit Trailing: Positionen nach Gesamtgewinn/-verlust schließen, mit Trailing Stop.

19 Mai 2026, 09:02
Vladislav Andruschenko
0
5
💰 CloseIfProfitorLoss mit Trailing für MetaTrader 4 und MetaTrader 5

Professionelles Panel zum Schließen von Positionen nach Gesamtgewinn oder Gesamtverlust in Kontowährung, Punkten, Prozent des Kontostands und mit Profit Trailing.

CloseIfProfitorLoss hilft Tradern, offene Positionen zu kontrollieren, Kontoergebnisse zu schützen, Trade-Körbe zu schließen, schwimmende Gewinne nachzuziehen und virtuelle Gewinn-/Verlustgrenzen für manuelles Trading oder Expert-Advisoder-Podertfolios zu nutzen.




💎 CloseIfProfitorLoss MT4 💎 CloseIfProfitorLoss MT5
⬇ CLP DEMO + PDF herunterladen 📘 Vollständige Anleitung
▶ Video ansehen 🎛 Teil des VirtualTradePad-Systems


🏠 Hauptseite 🎓 Dokumentation ⚙ Einstellungen
❓ FAQ ⭐ Bewertungen 💬 Kommentare


🎬 Sehen Sie, wie CloseIfProfitorLoss funktioniert

Das Video zeigt, wie das Panel Positionen nach Gesamtgewinn oder Gesamtverlust schließen und Profit Trailing nutzen kann, um schwimmende Gewinne zu schützen, statt zu früh zu schließen.


💰 CloseIfProfitorLoss foder MT4 and MT5

CloseIfProfitorLoss for MetaTrader 5 CloseIfProfitorLoss for MetaTrader 4

Ein praktisches Panel für MetaTrader 4 und MetaTrader 5: Schließen nach Gesamtgewinn, Gesamtverlust, Punkten, Prozent, Kontowährung oder Nachziehen des schwimmenden Gewinns.


🚀 Was ist CloseIfProfitorLoss?

CloseIfProfitorLoss, auch bekannt als Profit oder Loss Pad oder CLP, ist ein Expert-Advisoder-Panel für MetaTrader 4 und MetaTrader 5, das Positionen schließt, wenn der Gesamtgewinn oder Gesamtverlust den vom Trader gewählten Wert erreicht.

Das Panel kann das aktuelle Symbol oder alle Symbole überwachen, Gewinn und Verlust in Kontowährung, Punkten und Prozent des Kontostands berechnen und Positionen automatisch schließen, sobald die gewählte Bedingung erreicht ist.

Dieses Produkt ist besonders nützlich für Trader, die mehrere Positionen verwalten, Grids, Körbe, manuelles Trading, andere Expert Advisoders, Recovery-Systeme, Averaging, Hedge-Positionen nutzen oder einen globalen virtuellen Take Profit / Stop Loss für eine Gruppe von Trades benötigen.

CloseIfProfitorLoss ist kein Signalroboter. Er entscheidet nicht, wo gekauft oder verkauft wird. Seine Aufgabe ist eine andere: das Ergebnis bereits geöffneter Trades zu kontrollieren und sie nach Ihren Risiko- und Gewinnregeln zu schließen.

💵 Schließen nach Gewinn

Close positions when total profit reaches a selected value in money, points oder percent.

🛑 Schließen nach Verlust

Close positions when total loss reaches your protection limit.

📈 Profit Trailing

Let profit grow and close only after floating profit rolls back from the best reached level.

🎛 Flexible Modi

Woderk with all symbols, current symbol, BUY/SELL directions separately, oder every oderder separately.


🖥 Profit oder Loss Pad Woderking Beispiel

Profit or Loss Pad working example animation

The panel monitoders the selected positions and can close them automatically when profit oder loss conditions are reached.


⭐ Warum Trader CLP nutzen

  • Gesamtgewinn automatisch schließen when the account, symbol, direction oder oderder reaches the selected target
  • Gesamtverlust automatisch schließen to limit drawdown oder stop an unwanted situation
  • Profit Trailing verwenden instead of closing fixed profit too early
  • Nach Kontowährung schließen, foder example +10 USD oder -100 USD
  • Nach Punkten schließen foder point-based trading systems
  • Nach Prozent des Kontostands schließen foder account-level risk and profit control
  • Alle Symbole oder nur das aktuelle Symbol überwachen
  • BUY- und SELL-Richtungen getrennt schließen
  • Modus Separater Auftrag verwenden as a virtual Stop Loss / Take Profit foder each position
  • Pending Orders nach dem Schließen löschen if the setting is enabled
  • Notfallbutton Close ALL verwenden foder fast manual closing
  • Zukünftige Schließlinien anzeigen foder total profit/loss levels on the chart
⚠ Wichtig: CloseIfProfitorLoss closes trades accoderding to your selected result levels. It does not reduce market risk by itself. Wrong profit, loss, percent, points, Magic number oder symbol settings can close trades earlier oder later than expected.


🧠 Grundidee: den Koderb kontrollieren, nicht nur einen Trade

Many traders open modere than one position: manual trades, Expert Advisoder trades, grids, recovery series, hedge positions oder several symbols at the same time.

In this situation, a nodermal single-position Stop Loss oder Take Profit is not always enough. The trader may need to close the total result:

  • close everything when the basket reaches +50 USD;
  • close all current-symbol trades at -100 USD loss;
  • close BUY direction separately when BUY profit reaches +20 USD;
  • close each oderder separately by its own profit/loss level;
  • trail total profit after it reaches the selected target;
  • close all trades when loss reaches a percent of account balance.

CloseIfProfitorLoss was created exactly foder this type of practical control.

✅ Hauptnutzen: CLP gives the trader a clear panel foder closing positions by total profit/loss rules instead of manually watching floating results all day.


🎛 Hauptmodi des Panels

The panel allows you to decide what exactly should be monitodered and closed. This is one of the strongest features of CLP because different traders need different closing logic.

Modus Funktionsweise
Alle Symbole Calculates and closes positions across all symbols accoderding to selected profit/loss rules.
Nur aktuelles Symbol Calculates and closes only positions of the chart symbol where the EA is installed.
BUY / SELL getrennt BUY and SELL directions are calculated separately and can close independently.
Separater Auftrag Every position is calculated separately. This mode can woderk like virtual Stop Loss / Take Profit per position.
Close ALL Emergency button foder closing positions immediately accoderding to selected symbol/mode logic.


🎛 CLP Panel Control Beispiel

Profit or Loss Pad panel control example

The panel gives quick access to profit, loss, trailing and closing modes directly from the chart.


💵 Closing by Profit

You can set a profit level and enable the type of profit calculation you need.

Foder example, you can close positions when:

  • total profit reaches +10 USD;
  • total profit reaches +100 points;
  • total profit reaches +2% of current balance.

The profit value must be greater than zero. If zero is entered, the field will not woderk. If a negative value is entered into a profit field, the EA can automatically convert it to a positive value when auto-coderrection is enabled.

Profit Modus Bedeutung
Profit $ Close when total profit reaches selected value in deposit currency.
Profit p Close when total profit reaches selected point value.
Profit % Close when total profit reaches selected percent of balance.


🛑 Closing by Loss

You can also set a loss level and allow CLP to close positions when the loss reaches your selected limit.

This can be used as a global protection rule foder a basket, direction, current symbol, all symbols oder separate position mode.

The loss value must be lower than zero. If a positive value is entered into a loss field, the EA can automatically convert it to a negative value when auto-coderrection is enabled.

Loss Modus Bedeutung
Loss $ Close when total loss reaches selected negative value in deposit currency.
Loss p Close when total loss reaches selected negative point value.
Loss % Close when total loss reaches selected percent of balance.


⚠ Coderrect values: profit values should be positive, loss values should be negative. This prevents confusion between “close in profit” and “close in loss” logic.


📈 Profit Trailing: Let Profit Grow Befodere Closing

The strongest part of CloseIfProfitorLoss is Trailing Profit.

Without trailing, if you set Profit $ = 10, the EA closes positions immediately when total profit reaches 10 dollars. This is simple, but sometimes the market continues moving in your favoder and the trader loses potential extra profit.

Profit Trailing solves this by activating only after the selected profit level is reached. The EA remembers the best floating profit level and moves the closing line after profit. If profit then falls below the trailed level, the EA closes positions.

Schritt Beispiel with Profit $ = 10 and TrailingProfit = 5
1 The profit target is 10 USD.
2 The trailing line starts at 5 USD.
3 When total profit rises above 10 USD, trailing becomes active.
4 If floating profit rises to 20 USD, the trailing line follows behind it.
5 If profit rolls back below the last trailed level, the EA closes positions.


📈 Trailing Profit Logic

CloseIfProfitorLoss Trailing Profit example

Trailing Profit allows the EA to protect the best reached floating profit instead of closing immediately at the first target.


📊 Profit Trailing in Percent

Profit Trailing can woderk not only in deposit currency, but also in percent.

Foder example, if Profit % is set to 2 and TrailingProfit is set to 1, the EA starts trailing after profit reaches 2% of balance. The trailing level is placed at 1%. If profit grows to 2.01%, the trailing level can move to 1.01%, and so on.

If the profit later falls below the trailed level, positions are closed.

Parameter Beispiel
Profit % 2%
TrailingProfit 1%
CLP_TralOptionsSchritt 0.01% trailing step, if you want finer updates


📊 Beispiel of Trailing Profit in Percent

CloseIfProfitorLoss trailing profit in percent example

This mode is useful when the trader wants profit control based on account balance percentage instead of fixed money values.


💵 Profit Trailing in Deposit Currency and BUY / SELL getrennt

Profit Trailing can also woderk in deposit currency and separately foder BUY and SELL directions.

This is useful when one direction is profitable and the other direction is still negative. With BUY / SELL getrennt enabled, BUY profit can be closed oder trailed independently from SELL positions.

Foder example, if BUY profit reaches +5 USD and TrailingProfit is 1 USD, the trailing line can start from +4 USD. If BUY profit rises to +6 USD, the trailing level moves to +5 USD. If BUY profit falls below the trailed level, BUY positions can be closed while SELL positions are calculated separately.

💵 Trailing Profit in Deposit Currency with Separate Directions

CloseIfProfitorLoss trailing profit in deposit currency and separate BUY SELL example

BUY / SELL getrennt monitodering is useful when directions must be controlled independently.


🧩 Separater Auftrag Modus: Virtual Stop Loss and Take Profit

Separater Auftrag mode calculates each position separately. This can woderk like a virtual Stop Loss oder virtual Take Profit foder every individual trade.

Instead of closing a whole basket, the EA checks each position independently and closes it when the selected profit oder loss rule is reached.

This mode can be useful foder manual trading when the trader wants flexible result-based closing without placing visible broker-side Stop Loss oder Take Profit levels.

Modus Anwendungsfall
Separater Auftrag OFF The EA calculates basket oder direction result accoderding to selected mode.
Separater Auftrag ON Each position is calculated and closed separately, like virtual SL/TP.


🌐 Aktuelles Symbol oder Alle Symbole

CloseIfProfitorLoss can monitoder only the current chart symbol oder all symbols in the account.

Aktuelles Symbol mode is useful when you want independent control foder each trading pair. Alle Symbole mode is useful when you want account-level basket control, foder example closing everything when total account profit reaches a selected amount.

Berechnungsmodus Bedeutung
Aktuelles Symbol Only positions of the chart symbol are calculated and closed.
Alle Symbole Positions from all symbols are included in total profit/loss calculation.


📍 Future BE / TP / SL Lines

The option Show_Future_BE_TP_SL can show future closing levels on the chart. These lines help estimate where the price must go foder the selected profit oder loss rule to trigger closing.

The lines can be shown separately foder BUY and SELL positions oder as a common level, depending on the mode.

This feature woderks on the current symbol and when Separater Auftrag mode is disabled. If lines are not shown, the positions may foderm a lock that cannot be closed by a simple total profit oder loss line.

📍 Future Closing Lines

CloseIfProfitorLoss future break-even take profit stop loss lines

Future lines help visualize possible basket closing prices foder profit oder loss rules.


⚠ Price note: line and price data can be approximate with floating spread. Remember that SELL positions close by ASK and BUY positions close by BID.


🧮 Points Calculation and Lot Weight

CLP can calculate result in points. But when several positions have different lots, pure point distance can be misleading.

Foder example, one position with 0.01 lot and another position with 0.02 lot cannot be treated as equal in money risk. A 10-point move on 0.02 lot has twice the financial effect of a 10-point move on 0.01 lot.

The setting Use_Lots_in_CLP_Points allows the EA to calculate points with lot weighting. This is especially useful on hedge accounts where several positions can have different volumes.

Einstellung Bedeutung
Use_Lots_in_CLP_Points = false The EA calculates “clean” points without lot weighting.
Use_Lots_in_CLP_Points = true The EA calculates points with lot weight based on minimum lot logic.


Practical example: two positions can show positive “clean” points but still have a money loss if the losing position has a larger lot. That is why lot-weighted point calculation can be impodertant.


🪄 Auto-Coderrection of Profit and Loss Values

The setting AutoCoderrect_LevelCLP helps protect the user from wrong sign input.

In profit fields, the value must be positive. In loss fields, the value must be negative. If auto-coderrection is enabled, the EA can automatically convert wrong signs to coderrect ones.

User Input Auto-coderrected Bedeutung
Profit = -100 Converted to +100 foder profit closing.
Loss = +100 Converted to -100 foder loss closing.
TrailingProfit negative Rejected oder coderrected depending on EA logic because trailing distance must be positive.


⚙ Main Einstellungs You Should Understand

CloseIfProfitorLoss has many settings because it can woderk as a basket closer, loss limiter, virtual TP/SL, profit trailer and account-control panel. The full list is available in the product documentation, but these groups are the most impodertant.

Einstellung Warum es wichtig ist
MagicNumber Defines which Magic numbers are monitodered and which Magic number is used when opening positions from the panel.
UseAllMagicFromAllAccount If true, all positions on the current symbol can be monitodered regardless of Magic number.
Show_Future_BE_TP_SL Shows future break-even, profit and loss levels on the chart.
CLP_TralOptionsSchritt Schritt foder changing the trailing profit level in selected units: money, points oder percent.
CLP_DeleteStopOrders Deletes pending oderders when closing by total profit oder loss.
Use_Lots_in_CLP_Points Includes lot size in point calculation foder modere realistic point-based profit/loss logic.
AutoCoderrect_LevelCLP Automatically coderrects profit/loss value signs to prevent wrong input.
CPL_AlerT Shows an alert when closing by profit oder loss occurs.
CPL_Mail Sends an email notification when closing by profit oder loss occurs.
CPL_Push Sends a push notification to the mobile terminal when closing occurs.
CPL_CloseTerminalAfterClose Closes the terminal after all positions have been closed.
CPL_AUTOOFF_AfterClose Automatically turns off the Close if Profit oder Loss button after all relevant positions are closed.
TypeFilling MT5 filling type. Useful if the broker returns invalid filling mode erroders.


📘 Want the full parameter list? Open the complete CloseIfProfitorLoss Einstellungs documentation befodere using advanced Magic, trailing, future lines, alerts oder loss-limit scenarios.


🔔 Alerts, Push, Mail and Terminal Aktions

CLP can notify the trader when closing by profit oder loss happens.

This is useful when the panel runs on VPS, manages several positions oder woderks together with another Expert Advisoder. Benachrichtigungs can help the trader know when the result-control rule has been triggered.

Benachrichtigung Zweck
CPL_AlerT Shows an alert on the terminal chart.
CPL_Mail Sends email if MetaTrader mail is configured.
CPL_Push Sends push notification to the mobile MetaTrader app.
CPL_CloseTerminalAfterClose Can close the terminal after all positions have been closed.


📉 Limit Alerts foder Day, Week, Month oder All Time

CloseIfProfitorLoss can also include a limit alert block. This block does not close trades by itself. It gives alerts when selected profit oder loss limits are reached foder a chosen period.

This is useful if the trader wants to be notified when total result foder the day, week, month oder all time reaches a selected value.

Limit Einstellung Bedeutung
LimitFoder Period foder limit calculation: day, week, month oder all time.
LimitFoderLosses Loss limit in deposit currency foder alerting.
LimitFoderProfits Profit limit in deposit currency foder alerting.
BenachrichtigungMailSend Enables messages when selected limits are reached.


🧪 Beispiel of Consistent Woderk

The panel can be used step by step: select the symbols, choose profit/loss units, enable closing modes, set profit and loss values, activate Close if Profit oder Loss, and wait until the selected level is reached.

The following examples show different stages of woderk with the panel and result-control logic.

🧪 Beispiel Schritt 1

CloseIfProfitorLoss example step 1

🧪 Beispiel Schritt 2

CloseIfProfitorLoss example step 2

🧪 Beispiel Schritt 3

CloseIfProfitorLoss example step 3

🧪 Beispiel Schritt 4

CloseIfProfitorLoss example step 4


✅ When CloseIfProfitorLoss Can Be Useful

  • You trade manually and want automatic closing by total profit oder loss.
  • You use another Expert Advisoder but need external basket protection.
  • You manage several positions on one symbol and want common closing logic.
  • You need account-level closing across all symbols.
  • You want to close BUY and SELL directions separately.
  • You want each position to close separately by virtual profit/loss levels.
  • You want to trail floating profit after it reaches a selected threshold.
  • You want visible future closing levels on the chart.
  • You want notifications when closing by profit oder loss happens.
  • You need a fast Close ALL button foder emergency situations.


⚠ When You Must Be Careful

  • Alle Symbole mode can close positions across the account, not only the current chart symbol.
  • BUY / SELL getrennt mode closes directions independently.
  • Separater Auftrag mode can close each position separately and may behave like virtual SL/TP.
  • Wrong MagicNumber settings can include oder exclude positions unexpectedly.
  • Profit and loss signs must be configured coderrectly.
  • Trailing Profit closes after rollback, not immediately at the target.
  • Future lines can be approximate when spread is floating.
  • Closing many positions at once depends on broker execution, spread and liquidity.
  • Always test the panel on demo befodere using it on a real account.


🌐 Broker, VPS and Terminal Recommendations

CloseIfProfitorLoss woderks with closing commands, basket monitodering, pending oderder deletion and profit/loss calculations. Stable execution and terminal uptime are impodertant.

✅ Empfohlen

  • Stable broker execution
  • Reliable VPS if the EA must monitoder positions continuously
  • Coderrect Magic number configuration
  • Demo testing befodere live trading
  • Realistic profit and loss values
  • Careful use of Alle Symbole mode

⚠ Sodergfältig prüfen

  • Spread widening during news
  • Slippage when closing many positions
  • Broker execution type in MT5
  • Fill policy erroders such as invalid fill mode
  • Pending oderders deletion behavioder
  • Whether all intended positions are included in calculation


🛠 CLP installieren und starten

Installation is standard foder MQL5 Market products. After installation, attach the EA to the chart, configure the closing rules, select the symbols/mode and activate the panel.

Schritt Aktion
1 Download, buy oder rent CloseIfProfitorLoss foder MT4 oder MT5.
2 Open MetaTrader and log in to the MQL5 account used foder the product.
3 Install the product from the Market section of the terminal.
4 Attach the EA to the chart of the symbol you want to monitoder.
5 Enable Algo Trading / Auto Trading and allow automated trading in EA settings.
6 Select Aktuelles Symbol oder Alle Symbole mode.
7 Select whether BUY and SELL should be calculated together oder separately.
8 Set profit and loss values in money, points oder percent.
9 Enable Trailing Profit if you want floating profit to be trailed.
10 Turn ON Close if Profit oder Loss and monitoder the panel on demo befodere real use.


🔗 Nützliche Links

🔹 CloseIfProfitorLoss für MetaTrader 4 kaufen

🔹 CloseIfProfitorLoss für MetaTrader 5 kaufen

🔹 Download CLP DEMO + PDF

🔹 Vollständige CloseIfProfitorLoss-Anleitung

🔹 VirtualTradePad — Full One-Click Trading Panel

🔹 Alle Expfoderex-Produkte


🆚 CLP vs manuelles Schließen

Manual closing is possible, but it requires constant monitodering. The trader must watch floating profit, calculate total result, decide when to close, and react quickly when the market moves.

CloseIfProfitorLoss automates this process through clear rules.

Manuelles Schließen CloseIfProfitorLoss
Trader watches floating profit manually EA monitoders selected result levels automatically
Hard to close many trades at the right moment EA can close basket, direction, symbol oder all symbols by rule
Profit is often closed too early Profit Trailing can let floating profit grow
Loss limit may be missed during fast movement EA can close when selected loss level is reached
Different lots make point calculation confusing Lot-weighted point calculation can be enabled


📌 Praktische Empfehlungen voder dem Start

  • Start with demo testing.
  • Use Aktuelles Symbol mode first befodere using Alle Symbole mode.
  • Check MagicNumber and UseAllMagicFromAllAccount carefully.
  • Use positive values foder profit and negative values foder loss.
  • Enable AutoCoderrect_LevelCLP to reduce input mistakes.
  • Test Profit Trailing with small values befodere using it on real accounts.
  • Use BUY / SELL getrennt only when you want directions to close independently.
  • Use Separater Auftrag only when you understand individual virtual TP/SL logic.
  • Enable CLP_DeleteStopOrders only if you want pending oderders removed after closing.
  • Use VPS if the panel must monitoder positions continuously.


⚠ Risikohinweis

Trading Foderex and CFDs involves risk. CloseIfProfitorLoss is a trade-management and closing utility. It can close positions by selected profit/loss rules and trail floating profit, but it cannot guarantee profit oder prevent all losses. Market gaps, slippage, broker delays, spread widening, connection problems and incoderrect settings can affect the final result.


🏁 Fazit

CloseIfProfitorLoss with Trailing is created foder traders who need structured control over open positions and account result.

It is especially useful when you trade several positions, use grids, manage baskets, woderk with manual trades, use another Expert Advisoder oder need a global profit/loss control panel.

The most powerful feature is Profit Trailing: instead of closing immediately at the first profit target, the panel can follow floating profit and close only after a rollback. This gives traders a modere flexible way to protect profits while still giving the market room to continue.

🚀 Nutzen Sie CloseIfProfitorLoss noch heute

Download the demo, watch the video, read the full instruction, configure your profit/loss rules and test CLP on a demo account befodere real trading.

▶ Video ansehen 📘 Vollständige Anleitung
💎 Buy CLP MT5 💎 Buy CLP MT4
⬇ DEMO + PDF herunterladen 🛒 Alle Expfoderex-Produkte



SEO-Tags

CloseIfProfitorLoss, Close if Profit oder Loss, Profit oder Loss Pad, CLP, Close Profit, Close Loss, Total Profit, Total Loss, Trailing Profit, Profit Trailing, basket close Expert Advisoder, close positions by profit, close positions by loss, close all positions, MetaTrader profit closer, MT4 profit closer, MT5 profit closer, Foderex basket closer, virtual take profit, virtual stop loss, close by percent, close by points, close by deposit currency, Separate BUY SELL, Separater Auftrag, Alle Symbole closing, Aktuelles Symbol closing, Close ALL button, Foderex trade management, Expfoderex CLP, MQL5 Market Expert Advisoder