Tick Scalper
Tick Scalper is a strategy that trades XAUUSD on 1-minute bars, checking its rules on every price change. It holds at most 1 open trade.
inside the bar
strategy "Tick Scalper"market: XAUUSDbars: 1mevaluate: tickmax_open: 1input max_stretch = 2.0when crosses_above(close, vwap()) once per bar cooldown 2 bars:buy risk: 0.5%, stop: 30 points, target: 1.5R, ghost: trueon tick:if not bar.confirmed and close < vwap() - atr(14) * max_stretch:close_all side: longTick Scalper is a strategy that trades XAUUSD on 1-minute bars, checking its rules on every price change. It holds at most 1 open trade.
You can change one input: max_stretch (default 2.0).
When the close crosses above VWAP (at most once per bar and waiting at least 2 bars between actions), it buys at market, risking 0.5% of the balance, with a stop 30 points from the entry, with a target 1.5R from the entry and kept hidden from the broker until it triggers.
On every price change, it checks whether not the bar has closed and the close is below VWAP minus the 14-bar ATR × max_stretch and, if so, closes all long trades.