TZ_Gold_Round_Levels_Strategy by TradZoo

By TradZoo

Performance Metrics

Description

TZ_Gold_Round_Levels_Strategy is a self-contained 15-minute strategy for studying XAUUSD breakouts around a configurable round-price grid. It extends the separate TZ_Gold_Round_Levels indicator with mechanical entries, a minimum reward/risk filter, fixed exits and Strategy Tester orders. The original indicator remains useful for displaying levels without simulated trades.LEVELSWith default inputs, blue lines are multiples of 50 price units, green lines are 10 above each blue line, and red lines are 10 below. The displayed grid follows the nearest round level and includes two sets above and below it. These are price distances, not a broker's pip or tick definition.BUY RULESA confirmed 15-minute candle must be bullish (close above open), with the previous close at or below a green trigger and the current close strictly above that same trigger. The strategy must be flat. The stop is the blue line below that green trigger, and the final target is the next red line above. Reward to the final target divided by risk to the stop must be at least 1.5; equality qualifies.SELL RULESA confirmed candle must be bearish (close below open), with the previous close at or above a red trigger and the current close strictly below that same trigger. The strategy must be flat. The stop is the blue line above the trigger, and the final target is the next green line below. The same minimum reward/risk filter applies.TRADE MANAGEMENTEntry, blue stop, orange 1R reference and final target freeze when a signal occurs. The 1R target is a visual marker only: it does not take a partial exit or move the stop. The full simulated position exits at the stop or final target. Both buy and sell entries are blocked while a position remains open; pyramiding is disabled.For example, a buy signal at 4312 has a 4300 stop, a 4324 reference at 1R and a 4340 final target: risk 12, reward 28, or about 2.33R. A sell at 4288 has a 4300 stop, a 4276 reference and a 4260 final target, also about 2.33R. These examples illustrate the rules, not trade recommendations.DISPLAY AND INPUTSThe panel shows the active direction and fixed trade levels. Grid spacing, offset, displayed levels and visibility are adjustable. The minimum final reward/risk can be raised from 1.5. Use standard 15-minute candles; other timeframes produce an error. The current grid extends across the chart as a present-price reference. Historical signals are calculated from each bar's own price levels, not from the latest displayed grid.SIMULATION ASSUMPTIONSDefaults are USD 100,000 initial capital, one symbol-defined contract/unit per trade, 100% long and short margin, zero commission and zero slippage. Spread is not explicitly modeled. The capital and fixed unit provide a simple, unleveraged reference for comparing the rules; they are not a recommended account size or position size. Zero costs are intentional for inspecting the gross entry/exit logic without assuming a broker's charges. Results are therefore not realistic net returns. Set appropriate capital, quantity, commission and slippage in Properties before assessing a specific trading setup.Orders are modeled at the confirmed signal-bar close. Calculations run on bar closes, not every tick or immediately after fills. Bar Magnifier is enabled where available; intrabar data, gaps and the broker emulator can affect fill prices and which exit occurs first. Reward/risk qualification uses signal-close price distances before costs. This script does not send orders to MetaTrader 5, and TradingView quantity is not an MT5 lot setting. Historical results do not guarantee future performance.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView