Dream EA
Logic:
Scalping:
- Determines buy and sell signals based on the opening and closing prices of the current bar.
- Executes trades within specified time intervals.
- Monitors account margin to ensure sufficient funds for new trades.
Grid Trading:
- Opens new orders if certain conditions are met and adds to existing positions.
- Maintains a grid of orders with a maximum limit (MaxOrders).
Multi-Currency:
- Can be applied to multiple currency pairs.
- Uses a magic number to identify and manage trades across different currency pairs.
Dynamic Lot Sizing:
- Calculates lot size based on account balance and specified risk percentage.
- Ensures lot size adheres to broker’s minimum and maximum limits.
Profit Protection:
- Closes all open orders when a specified profit level (ProfitPips) is reached.