Trade Assistant - page 5

 

Percentage of Balance - expert for MetaTrader 5

----------------

The EA closes all positions and removes all pending orders based on the following:

  • Close and delete all:% of profit from Balance - percentage of profit from Balance.
  • Close and delete all:% of loss from Balance - percentage of loss from Balance.
  • Start Balance ('<= 0.0' -> off) - the initial balance - if it is less than or equal to '0.0' - then the parameter uses the balance of the trading accoun.

The check is carried out at each tick - as soon as the size of the Trading Account Funds changes by a specified percentage (in "plus" or "sine"), the adviser will begin the process of closing all positions and deleting all pending orders. In this case, no exceptions are made either by symbol or by Magic number. Also, no checks are made on the close location of the stops - the adviser will stubbornly try to complete his task.

Percentage of Balance
Percentage of Balance
  • www.mql5.com
Всего три входных параметра: Close and delete all: % of profit from Balance - процент прибыли от Баланса Close and delete all: % of loss from Balance - процент убытка от Баланса Start Balance (' off) - начальный баланс - если он меньше или равен '0.0' - значит параметр использует Баланс торгового счёта Проверка проводится на каждом тике - как...
 

Trailing Activate - expert for MetaTrader 5

Trailing Activate - expert for MetaTrader 5

For trailing, a new parameter ' Trailing activate if profit is >= ' is used - this is essentially a breakeven for trailing. Trailing activates only after the position reaches profit in ' Trailing activate if profit is >= ' Points.

Trailing Activate
Trailing Activate
  • www.mql5.com
Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters
 
Thank you for sharing.
 

Forum on trading, automated trading systems and testing trading strategies

trade manager(scalping manual tool)

Sergey Golubev, 2025.05.08 07:06

MQL5 Trading Tools (Part 1): Building an Interactive Visual Pending Orders Trade Assistant Tool

MQL5 Trading Tools (Part 1): Building an Interactive Visual Pending Orders Trade Assistant Tool

In this article, we introduce a custom MetaQuotes Language 5 (MQL5) Expert Advisor (EA) that empowers traders with a Trade Assistant Tool, combining graphical precision with user-friendly controls to place Buy/Sell Stop and Limit orders efficiently. We’ll cover these steps in this order:

  1. Conceptual Design and Objectives of the Trade Assistant Tool
  2. Implementation in MQL5
  3. Backtesting
  4. Conclusion

By the end, you’ll have a clear understanding of how to build and test this tool, paving the way for advanced enhancements in the preceding parts.


 

Forum on trading, automated trading systems and testing trading strategies

trade manager(scalping manual tool)

Sergey Golubev, 2025.05.10 07:08

MQL5 Trading Tools (Part 2): Enhancing the Interactive Trade Assistant with Dynamic Visual Feedback

MQL5 Trading Tools (Part 2): Enhancing the Interactive Trade Assistant with Dynamic Visual Feedback

In our previous article, Part 1, we built a Trade Assistant Tool in MetaQuotes Language 5 (MQL5) for MetaTrader 5 to simplify placing pending orders. Now, we take it further by enhancing its interactivity with dynamic visual feedback. We introduce features like a draggable control panel, hover effects for intuitive navigation, and real-time order validation to ensure our trade setups are precise and market-relevant.