PINE DIGGAGet access
Guide

Three steps, then you're running.

Everything below applies from the first minute of your 10-day trial.

  1. 01Open a five-minute chart

    Gold, silver or palladium — spot or futures. The script is designed and tuned for the five-minute timeframe.

  2. 02Fill in “Start from here”

    One group at the top of the settings holds everything needed before the first chart.

    • Accept the terms — the script stays inactive until you do
    • Set your session timezone, because session behaviour depends on it
    • Enter your account size and your risk percentage
  3. 03Create the alert in TradingView

    The script's own alert toggles are already on, so there is nothing to switch on inside the settings. What TradingView still needs is an alert of its own: add one on the indicator and choose “Any alert() function call”. It fires on the confirmation candle.

  4. 04Make it yoursPRO ULTRA

    Presets load themselves and are what PRO runs on. ULTRA adds the switch that turns them off, unlocking every threshold so you can tune a symbol nobody has tuned yet — and save that as a preset of your own.

Reading the Strategy Tester

Two things worth knowing

One trade at a time

A confirmed setup arriving while a position is open is skipped by design. On-chart marks will always outnumber the tester's trades: the chart shows every valid setup, the tester shows what a single-position account could actually have taken.

The Properties tab changes everything

Order size, starting capital, commission and slippage all live there and all move the results. If your numbers do not match what you expected, check Properties first.