ProRealCode Studio is on its way. As soon as it is published, this button will take you straight to its Chrome Web Store page.
A backtest looks back. An armed strategy keeps going: at each new bar it reads the chart again, and every order it fills rings a chime and can leave as a signal for your own program. It never sends an order to a broker.
Real time is off until you allow it. The switch allows it; arming is what starts one strategy.
| You see | It means |
|---|---|
| “backtest only” | Not armed. The strategy still shows its results on the past. |
| “armed — realtime” | Armed. It acts on each new bar of the chart it watches. |
| “signals” and a number | The fills it has sent as signals since you armed it. |
| “Realtime strategies are off — turn them on in ⚙ Preferences → Backtest” | You clicked the triangle with the switch off. Switch it on first. |
| Preferences → Backtest → Realtime | At first | Effect |
|---|---|---|
| Run strategies in realtime | off | Allows arming. Off disarms everything. |
| Send each fill to the webhook | on | Each fill leaves in the same JSON object as an alert, to the address of the tab “Alert” (chapter 17). Off, the strategy stays armed and sends nothing. |
| Sound on each fill | on | A rising two-note chime, unlike the single beep of an alert, so you can tell a fill from an alert without looking. Switching it on plays it once. |
barTime and skip the fills that are not recent.Switch on “Run strategies in realtime”, then arm one strategy with its triangle. From then on, at each new bar, it fills its orders on paper, rings, and sends each fill to your webhook. Whatever happens next, a real order included, is up to the program that receives the signal.
No. “An armed strategy places no real order.” It only sends a signal, if you set a webhook.
No. It runs in the ProRealTime tab and nowhere else. A minimised window is fine; a closed tab is not.
The results window marks a live run “Realtime”: it saw the last candle while it was forming. Its figures are not those of a backtest of the same bars. “Completed runs” marks such a run with ◉.
Those are the fills already in the run, sent once. Filter on barTime.
It was disarmed: a code change, a reload, or the switch turned off. Arm it again.
Yes. Switch off “Send each fill to the webhook”. The strategy goes on running and sends nothing.
No investment advice. An armed strategy simulates orders on live prices and reports them. Its fills and P&L are not a forecast, not investment advice and not a recommendation to buy or sell anything. What a program you connect does with its signals is your decision and your responsibility.
Chapter 20 · Optimizing a strategy