This MetaTrader 4 Expert Advisor (EA) is designed to place multi-target pending orders (both buy and sell) with individual take profit levels and shared stop loss. Here's how it operates:
Multi-Target Order Placement: Creates pending orders (Stop or Limit) with up to 4 take profit targets
Risk Management: Calculates position size based on account balance and user-defined risk percentage
User Interface: Provides input fields for entry prices, stop losses, take profits, and lot size
Order Management: Includes functions to close all orders and toggle between stop/limit orders
Creates a GUI with input fields for:
Buy/Sell entry prices
Stop loss levels
Take profit targets (4 levels)
Lot size
Sets up buttons for placing orders, closing all positions, toggling order type, and calculating lot size
Displays risk management information (account balance, risk percentage, max lot size)
User enters parameters in the input fields:
Entry prices (buy and/or sell)
Stop loss levels
Take profit targets (up to 4)
Lot size (or calculates automatically)
When "Place Orders" is clicked:
Converts pending orders into 4 separate orders (one for each TP level)
Each order has 1/4 of the total lot size
Uses either stop or limit orders based on toggle setting
Assigns unique magic numbers and comments to track orders
Calculates maximum lot size based on:
Account balance
User-defined risk percentage (default 5%)
Distance between entry and stop loss
Updates risk information in real-time on the chart
Close All: Closes all open positions and deletes pending orders
Order Type Toggle: Switches between stop and limit orders
Auto Lot Calculation: Calculates appropriate lot size based on stop loss distance
Trailing Stop: Moves stop loss to breakeven when first TP is hit
Security Checks: Validates authorized accounts and license expiration
Uses separate orders for each TP level rather than partial closes
Maintains visual feedback through chart labels
Includes error handling for order operations
Designed for forex markets (handles JPY pairs correctly)
This EA provides a structured way to implement multi-target trading strategies while maintaining strict risk control parameters.
If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: [email protected].
Refund requests received more than 30 days after purchase will be rejected.