EA Masyuk v3
Logic:
Grid Trading:
- Opens multiple orders within a specified range (pEURUSD_Step, pGBPUSD_Step, etc.) for different currency pairs.
- Adds new orders at set intervals (grid) when price moves by a certain number of pips.
Trend-Following:
- Uses price action (open and close prices) to determine buy and sell signals.
- Buys if the open price is lower than the close price for three pairs and higher for two pairs.
- Sells if the open price is higher than the close price for three pairs and lower for two pairs.
Order Management:
- Manages up to a maximum of MaxOrders.
- Trades within specified hours if enabled (between TimeStart and TimeEnd).
Dynamic Lot Sizing:
- Adjusts lot size based on account balance and Risk parameter or uses ManualLot if UseLotManual is enabled.
- Option to increase lot size using previous lot sizes (UseUPlot).
Profit Protection:
- Closes trades when a specified profit level (ProfitPips) is reached.
- Closes all trades or specific trades (e.g., profitable or losing trades) based on user interaction with the trading panel.
Loss Management:
- Closes all trades if the account balance drops below a certain percentage (StopLossProcent).
Graphical User Interface (GUI):
- Provides a comprehensive trading panel for manual intervention, displaying account information and allowing manual trade closures and settings adjustments.
- Allows selection of trading pairs and other settings through buttons and inputs on the chart.