TradeZoro
Notifications

Mentis course

Lesson 10. Our data: order book, order flow, GEX and options

40 min, intermediate level

Zscript can read the extra data TradeZoro charts show. book.* is the order book, flow.* is order flow, gex.* is GEX levels and opt.* is ZoroOptions numbers.

//@zscript 1
indicator("Delta and walls", overlay=false)
plot(flow.delta, "Delta", style=plot.style_columns)
plot(gex.callwall, "Call wall")

These follow your plan like the charts do. If your plan does not include a kind of data, the call returns na and you see one short notice. Always protect your math with nz().

Every value is the one known at that bar: no peeking ahead. GEX and options numbers are updates stored a few minutes at a time, not an instant feed.

Exercises

  1. Delta bars. Plot flow.delta as columns, green above zero and red below.
  2. Two kinds. Plot gex.callwall and opt.range("expected") on one chart. What shows if one is missing for your plan?

Quick quiz

What does a data call return if your plan lacks it?

The script keeps running with na.

Can a script read future order book data?

Data is always as of the bar.

Next lesson

Education only. Not financial advice. Examples are teaching samples, not trading results.

Zscript is coming soon

The manual opens when Zscript launches.

Back to home