Showcase concept. Quietbar Systems is a fictional brand, built by Forex Marketer to show an expert-advisor IB website.Back to Forex Marketer
Latest vx.x.xGet a licence
QB-LDGvx.x.xMT5 only

Ledge

Pullbacks in an established H4 trend. Silence everywhere else.

Ledge only acts when a trend on the four-hour chart is already clear, and then only on a pullback to a level the trend has respected before. In ranges and choppy weeks it holds nothing.

Quietbar Ledge · vx.x.xUSDJPY · H4
Licence
Valid · account xxxxxxxx
Window
Any time the market is open, except the stand-down periods
State
Sitting out
Reason
No clear H4 trend · x.x > x.x
Trades this session
x / x
Daily loss used
x.x% / x.x%
  • xx:xxWindow open. Range measured.
  • xx:xxSpread x.x > cap x.x — sitting out
  • xx:xxRange x.xx ATR > cap x.xx — sitting out
  • xx:xxWindow closed. No trades this session.
Illustration of the EA's own on-chart panel and journal. Values shown as x.
What it trades

Trend pullback

Symbols
USDJPY, AUDUSD, XAUUSD
Timeframe
H4
Window
Any time the market is open, except the stand-down periods
Holding
Days; can hold over the weekend unless you switch that off
Trades a month
about x (forward test)
The logic in plain words
  1. It checks for a trend on the H4 chart: price on one side of two moving averages that are themselves in order and sloping.

  2. It waits for price to pull back to the slower average, then for an H4 bar to close back in the trend's direction.

  3. One position opens with a stop beyond the pullback's low or high. There is no fixed target; the stop trails as the trend continues.

  4. If the trend condition breaks while a trade is open, the trade is closed at the next bar.

  5. A circuit breaker stops new entries if the account is down more than a set amount from its peak.

When it does not trade

Ledge stands down when any of these is true.

In the forward test Ledge sat out xx% of the sessions it was eligible for. Each stand-down writes one journal line naming the rule and the value that triggered it.

SD-01No clear H4 trend

Most of the time there is none. Ledge does not try to find one.

SD-02Equity drawdown above the circuit breaker

If the account is well below its peak, conditions are not what the EA was built for. It waits for you to review and reset it.

SD-03Friday after 18:00 server time (optional)

With weekend holding switched off, it will not open a trade it would have to close a few hours later.

SD-04Rate decision for the pair's currencies within the next bar

A rate decision can move a pair further in one bar than a week of normal trading.

SD-05Swap cost above the cap

For multi-day holds, a large overnight charge can outweigh the expected move.

SD-06Gold spread above its own cap

Gold spreads widen sharply at rollover and around news. Ledge treats it separately from the currency pairs.

Risk settings

Every input, its default and its limits

Ranges are enforced: a value outside them is refused when the EA starts. Defaults are the settings the forward test runs on.

Ledge inputs, vx.x.x
InputTypeDefaultRangeWhat it does
RiskPerTradedoublex.xx.x – x.xPercent of balance at risk per position.
MaxOpenPositionsintxx – xAcross all three symbols. Correlated pairs count towards the same cap.
CircuitBreakerdoublexx.xx.x – xx.xPercent drawdown from peak equity at which new entries stop until you reset the EA.
HoldOverWeekendboolfalsetrue / falseWhen false, open positions are closed on Friday and no new ones open late on Friday.
MaxSwapPointsdoublex.xx.x – x.xLedge will not open a position whose overnight charge is above this.
GoldMaxSpreadintxxxx – xxThe spread cap for XAUUSD, separate from the currency pairs.
MagicNumberintxxxxxxanyTags Ledge's orders so it never touches anything else.

Raising the caps or the risk to make the EA trade more does not make it better. The caps sit where testing showed the edge disappears, and every extra trade costs you spread and commission.

Required account

What the account needs

Platform
MT5 only
Account
Raw-spread account; swap-free accounts are not supported
Positions
Hedging
Minimum balance
$x,xxx
Broker
Ferncastle Markets (fictional broker)

Gold has a higher margin requirement than currency pairs at most brokers. Check yours before enabling XAUUSD.

Ledge holds for days, so it needs a terminal that stays connected: a VPS, not a laptop.

Not for

Anyone uncomfortable holding a losing position for several days, or who cannot run a terminal around the clock.

Latest Ledge release: vx.x.x · xx.xx.xxxx

Swap filter and a separate gold spread cap.

Frequency: Fewer trades

Changelog
Results

Ledge in testing

Two separate measurements. The backtest is hypothetical; the forward test is past performance on one live account. Drawdown is printed before return.

Ledge: backtest and forward test, kept apart
TestPeriodMax drawdownNet resultTradesSat out
Backtest (hypothetical)Out-of-sample, xxxx – xxxx−x.x%xx.x%xxxxx%
Forward test (live)xx.xx.xxxx – today−x.x%xx.x%xxxxx%
Hypothetical performance

Backtest results are hypothetical. They come from running the EA on historical prices, with costs modelled rather than paid, and with the benefit of hindsight in how the rules were chosen. No backtest accounts for every effect of real trading, such as liquidity at the moment of an order or a broker's execution on a given day.

Forward-test results are past performance on one live account at one broker. Your results will differ with your broker, account type, terminal, settings and start date. Past performance is not a reliable indicator of future results.

All figures on this showcase are shown as x.

How these were measured, and their limits