명시
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging.
Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move with the movement in price. Initial entry can set the high price and low price (say + and - 2000 pips/20 points) for the grid system ie the range it should operate in and then be able to move dynamically as the price moves.
The system creates a dynamic two-sided grid where both BUY and SELL positions coexist, allowing the system to react to real market fluctuations.
Lot Management
- fixed lot size
- The pending orders need to be virtual and not sent to order book until price trigger
-
Grid spacing, number of orders/levels AND open positions should be a control feature - after which:
- If price moves up → additional SELL positions are opened
- If price moves down → additional BUY positions are opened
Exit Strategy
-
individual Take Profit per trade (if possible)
- If above is not possible all open positions need to be managed as a basket
- BUY and SELL positions are averaged separately (again part of basket strategy)
- Basket position exit should be implemented for BUY, SELL and both BUY = SELL (combined) positions depending on which basket for each achieves profitable exit first
- When total profit reaches target → all trades are closed (if profitable). If not profitable - current cycle is completed as per rules set above and no new trades are opened
Grid display on chart - with trade mapping
-
if there are price swings (beyond defined %) from the mean point of the GRID system price and open positions are in LOSS then hedging position needs to be executed depending on LOSS amount and direction of the open position contributing to the LOSS.
No Technical Indicators are required to be configured in this system.