Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

eInTradePanel - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

eInTradePanel - expert for MetaTrader 5

eInTradePanel - expert for MetaTrader 5

eInTradePanel - expert for MetaTrader 5

eInTradePanel - expert for MetaTrader 5

InTradePanel trading panel for manual trading.

eInTradePanel - expert for MetaTrader 5

Figure 1. Control Panel Project (Mode 1).

control panel items

1. Show/hide panel buttons.
2. Enable/disable sounds when taking profit or pending orders are triggered.
3. Send an email when a take profit or pending order is triggered.
4. Order type:

5. Order button (sell/buy).
6. Trade volume.
7. Stop loss (in points).
8. Take profit (in points).

Two modes are supported:

Mode 1 (Fig. 1) - opening a position with specified Stop Loss and Take Profit levels (in pips).
Mode 2 (Fig. 2) - Orders with Stop Loss and Take Profit levels depending on the position of the horizontal lines.

Mode 1 is for market orders.

Mode 2 is for pending orders. In this mode, the order button will be displayed instead of the "Sell" and "Buy" buttons. The specified price, take profit and stop loss levels are displayed on the chart. By moving the lines you can change the order parameters:

eInTradePanel - expert for MetaTrader 5

Figure 2. Mode 2 (select buystoplimit order)

When you press the "Lots" tab, the minimum value for the trading volume (position 6 in Figure 1) is set. If a position is opened, it will set the position quantity to simplify closing the position.

Stop Loss and Take Profit

Stop Loss and Take Profit levels defined in points. If you don't want to use SL/TP, set them to 0. Click the "sl"/"tp" button to set the minimum allowed sl and tp.

The program checks the values ​​of Stop Loss and Take Profit, invalid values ​​are displayed in red:

eInTradePanel - expert for MetaTrader 5

Figure 3. Invalid values ​​for Stop Loss and Take Profit

In pending order mode (mode 2), the values ​​of Stop Loss and Take Profit depend on the Stop Loss and Take Profit lines.

The Expert Advisor saves the values ​​of the last used order volume, stop loss and take profit levels (for each symbol) and loads them after restarting the client.

The position of the trading panel can be changed.

To move a panel you need to double click on the panel (grey) and move the panel to any position on the chart. All items (buttons, edits, labels) will be hidden (Figure 4) and restored after double-clicking.

eInTradePanel - expert for MetaTrader 5
Figure 4. Panel movement

Panel positions for each chart are saved and restored across client restarts.

Other functions

Stop Loss and Take Profit can also be specified in the spread. If you enter "s" after the value, this means specifying Stop Loss/Take Profit in the spread. If you enter "s" you will see the spread.

"m" behaves the same way. In this case, Stop Loss/Take Profit is specified as the minimum Stop Loss level. If you enter "t", the program will display the elapsed time from the beginning of the current H4 section. Other commands "t2", "t3", "t4", "t6", "t8", "t12" correspond to H2, H3, H4, H6, H8, H12 time frames. If you enter "d" you will see the current date and day of the week.

Unzip the compressed package to the client's folder. The file CIntegerTradePanel.mqh will appear in the MQL5/Include folder and eInTradePanel.mq5 will appear in the MQL5/Experts folder. After compiling eInTradePanel.mq5, you can start Expert Advisor.


Attachment download

📎 cintegertradepanel_2.mqh (91.11 KB)

📎 eintradepanel_2.mq5 (2.2 KB)

Source: MQL5 #220

Verification code Refresh