Gold Session Breaks

Gold Session Breaks trades the breakout of gold's overnight range. Every day it does the same thing:

  1. Builds the range. It records the high and low from 00:00 to 07:00 server time, while gold is quiet overnight.
  2. Places the orders. At 07:00 it puts a Buy Stop on the range high and a Sell Stop on the range low.
  3. Takes one trade. When one side fills, the other order is cancelled. The EA takes only one trade per day.
  4. Exits. The trade ends at the stop-loss or at 20:00 server time, whichever comes first. Nothing is held overnight.

Key features

  • Never chases price. The EA never enters at market. If price is already outside the range when trading opens, that side waits until price comes back inside, then places its stop order on the boundary.
  • Fixed, simple risk. The stop-loss is 1% of the fill price. After a fill, the stop is reset once from the actual fill price, so slippage doesn't change your risk distance. There is no take-profit; the winning trades come from the session close.
  • Position sizing by % of equity. You choose the risk per trade. Lot size is calculated from that risk and the stop distance, then rounded down so it never risks more than you set.
  • Built-in leverage cap. Position size is capped at 10x your equity.
  • Margin check. If your account can't carry the margin for a side, that side is skipped instead of being sent and rejected.
  • Small account friendly. If the calculated size is below the broker's minimum lot, the EA trades the minimum lot, as long as the margin check passes.
  • Optional daily drawdown guard. Set a daily loss limit in %. If it's reached, the EA closes all positions and stops trading until the next day. The guard keeps its state if the terminal restarts.
  • Clear chart visuals. The chart shows the range box, the range lines across the session, entry and exit markers, stop-loss zones, and each trade's result in money and R. It also draws the last 30 days of ranges when you attach the EA.
  • Live info panel. The panel shows signal status, where price is relative to the range, session hours, range levels and open P&L.

Inputs

  • Risk per Trade (% of Equity): default 1.0, maximum 10
  • Daily Drawdown Limit (%): 0 = off
  • Show Panel: on/off
  • Magic Number: change this if you run other EAs on the same account

That's all there is to set up. The strategy settings are fixed on purpose: attach it and choose your risk.


Filter:
No reviews
Reply to review