Skip to main content
All guides
WiSE · Learn

Signal export

Write the entries WiSE shows to a JSON Lines file, live, so a bot, an AI agent, a journal or a spreadsheet can read the same signals you see.

WiSE can write the entries it shows on your chart to a file, live. A bot, an AI agent, a journal or a spreadsheet can then read the same signals you see, without copying WiSE's rules.

Signal export is off by default. When it is off, WiSE writes nothing and makes no folder.

Settings

You find these four settings in the WiSE Properties dialog, group Signal export.

  • Export signals to file: Off by default. Writes every entry WiSE shows (1, 2, 3 ...), its later changes, and the end of its fail watch (success or failed) to a file, live.
  • Include history: Off by default. Shows only while Export signals to file is on. Also writes the entries of the bars loaded before real time, once, when the chart goes real time. Use it for tests and backfill. When it is off, rows start at real time. Each chart reload writes these rows again, with the same id, so a reader skips ids it already has.
  • Keep signal files (days): 30 by default. Shows only while Export signals to file is on. WiSE deletes its own signal files older than this many days (only files named WiSE_..._<date>.jsonl in the signals folder, nothing else). 0 = keep all files.
  • Export pending entries: Off by default. Shows only while Export signals to file is on. When you turn it on, the signal file also lists each entry WiSE takes if the next bar breaks the high (long) or low (short) of the last closed bar, with its trigger, entry price and stop. A later row says what happened to it: changed, filled, voided or cancelled (see Pending rows). A bot can then place its stop order before the entry bar.

Filtered entries are written too. They have "filtered": true, so your bot can choose to use them or not.

Where the file is

  • Folder: Documents\NinjaTrader 8\WiSE\signals\. WiSE makes the folder the first time it writes.
  • One file per instrument, bar type and trading day: WiSE_<instrument>_<bar type>_<trading day>.jsonl. Example: WiSE_ES_12-26_2000Tick_20261009.jsonl.
  • The trading day starts at 18:00 New York time, so a new file starts at the 18:00 roll.
  • Two copies of WiSE on the same instrument and bar type each get their own file. The second one adds _2 to its file name.
  • If you restart WiSE on the same day, it adds to the same file.
  • File size: a full day on an ES 2000 tick chart is about 200 KB. With Keep signal files (days) at 30, one chart keeps about 4 MB. Old files go away by themselves; set 0 to keep them all.

File format

The file is JSON Lines (.jsonl): one JSON object per line, UTF-8. You can read the file while WiSE writes it. WiSE writes each line whole.

Every row has these fields

  • v: format version (1).
  • wise: the WiSE version that wrote the row.
  • seq: row number in this file: 1, 2, 3 ... A jump in seq means rows were lost.
  • id: a stable id for the event. Treat it as opaque text. A reload gives the same id for the same signal, so you can skip rows you already have.
  • event: the kind of row (see below).
  • ts_bar: bar close time, in your NinjaTrader time zone.
  • ts_utc: the same time in UTC.
  • ts_write: when WiSE wrote the row (UTC).
  • instrument, bartype: for example ES 12-26, 2000Tick.
  • phase: live, or history for rows from Include history.

Kinds of rows (event)

  • start: the first row of every file. It has a settings object with the WiSE settings that change what is written (filters, Max position, Min channel width, Show measured move, Watch for fail until, Profit target, Calculate), and since 2.12.0 also lines_per_side, which_lines (PerTrendRun, DayMain or Both), require_3_touches and show_ended_lines. Since 2.13.0 its settings also has "pending": true when Export pending entries is on (on the stop row too). Each new day file after the 18:00 roll also starts with a start row, so one file is enough to know the settings.
  • entry: WiSE made a 1, 2, 3 ... on a closed bar.
  • entry_changed: WiSE changed an entry it already wrote. Example: it now shows or hides the entry, or a filter changed. ref is the id of the entry row. The row has all entry fields again, with the new values.
  • success / failed: the fail watch of an entry ended. ref is the id of the entry row. price and bar_time tell where it ended.
  • gap: rows were lost (for example, the disk was full). dropped is how many, from_seq and to_seq are the missing row numbers.
  • stop: WiSE stopped writing (indicator removed or chart closed). It has the same settings object.
  • pending, pending_changed, filled, voided, cancel: only with Export pending entries on. See Pending rows.

Fields of an entry row

  • dir: long or short.
  • count: 1, 2, 3 ...
  • setup: first_entry, second_entry, or entry (3 and up).
  • signal_bar_time, signal_bar_high, signal_bar_low: the signal bar.
  • entry: signal bar high plus 1 tick for a long, low minus 1 tick for a short.
  • stop: signal bar low minus 1 tick for a long, high plus 1 tick for a short. This is the price that fails the entry.
  • target: entry plus Profit target ticks for a long, entry minus Profit target ticks for a short. Use this as a profit target.
  • watch_target: the price WiSE's fail watch uses to mark the entry as success. For a long it is the high of the bar before the entry bar plus 2 ticks plus the fail watch's target ticks (Fail target, or Profit target); for a short it is the low of that bar minus the same ticks. With Watch for fail until = Measured move, it is the measured move target. It can sit on either side of entry. It is not a profit target.
  • mm_target: the measured move target when Show measured move gives one, else null.
  • visible: true when the entry is drawn on the chart.
  • filtered: true when a filter hides the entry on the chart.
  • filters: which filters hide it, when known: side, inside_bar, hide_0_1, entry_filters.

All prices are on the instrument's tick grid, as the chart shows them, with a dot as the decimal mark.

Pending rows

With Export pending entries on, WiSE also writes the entries it takes if the next bar breaks out. Each one gets a pending id. Every later row about it has ref set to that pending id, so a bot can match it to its order. Each row also has its own id.

  • pending: WiSE armed an entry on the last closed bar. If the next bar trades at trigger, it can become an entry. Its id is the pending id.
  • pending_changed: WiSE changed a pending it already wrote. Its trigger, outside price, entry, stop or signal bar is different, or it is now shown, hidden or filtered differently.
  • filled: WiSE made the entry. entry_id is the id of the entry row, or null when that entry row was not written.
  • voided: the next bar broke out but WiSE made no entry. reason is zero_broken (the bar went above the high of the 0 mark bar for a long, below its low for a short), outside_bar (the bar also broke the other side of the armed bar) or no_entry.
  • cancel: the pending ended without a fill or a void. reason is setup_ended (WiSE no longer arms it), export_stop (the export ended: a reload with F5, a settings change or the chart closed) or export_error. On export_stop and export_error every open pending gets a cancel row, so a bot never keeps an order without an end row. After export_error, that copy of WiSE writes no more pending rows until it is loaded again. The other rows go on, unless the whole export stopped on that error; then no more rows come and there is no stop row.

A pending row has dir, count, setup, the signal bar fields, entry, stop, target, visible, filtered and filters as an entry row has, plus:

  • zero_bar_time: the bar of the 0 mark, or null.
  • trigger: the price that can make the entry. The armed bar's high plus 1 tick for a long, its low minus 1 tick for a short.
  • outside_price: the armed bar's low minus 1 tick for a long, its high plus 1 tick for a short. A next bar that reaches both trigger and this price is an outside bar (see the outside_bar reason above).

Example (one entry row)

{
  "v": 1,
  "wise": "2.16.0",
  "seq": 2,
  "id": "ES 12-26|2000Tick|long|2|2026-10-08T18:20:39.112",
  "event": "entry",
  "ts_bar": "2026-10-08T18:20:39.112",
  "ts_utc": "2026-10-08T22:20:39.112",
  "ts_write": "2026-10-25T01:33:24.473",
  "instrument": "ES 12-26",
  "bartype": "2000Tick",
  "phase": "live",
  "dir": "long",
  "count": 2,
  "setup": "second_entry",
  "signal_bar_time": "2026-10-08T18:20:39.112",
  "signal_bar_high": 7826.5,
  "signal_bar_low": 7817,
  "entry": 7826.75,
  "stop": 7816.75,
  "watch_target": 7824.5,
  "target": 7827.75,
  "mm_target": null,
  "visible": true,
  "filtered": false,
  "filters": []
}

Good to know

  • The file never changes your chart, your signals or your alerts. When the disk is slow or full, WiSE drops rows and writes a gap row; the chart keeps running.
  • On a chart with custom bars inside WiSE, one file is written for the chart. The start row tells the custom bar type (custom_bar_type, custom_bar_value) and the chart's own bar type (chart_bartype).
  • Signal export does not place orders. It writes a file and nothing more.
Waitlist

Want an AI agent to trade the WiSE rules for you?

Our AI trading agent for NinjaTrader 8 trades the WiSE second entry rules from a plan written in plain words. It reads your chart, then places and manages orders on your own account. Access is limited, and we let traders in from the waitlist in small groups. Your email joins our product updates list, about once a week, and you can unsubscribe at any time. When we open the next group, that is where we will say so.

We keep your address in our own database and send from team@news.wizdough.com. Replies go to support@wizdough.com. Read how we handle your data in our Privacy Policy.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Read how the AI trading agent works

See Settings Reference for the settings next to the other WiSE groups.

Next: see what's new.

Get the product

WiSE

Price action, trend lines and measured moves. $25/mo · 7-day free trial.

View product