Premium tide
Two lines under the chart sum the whole options market's premium (money paid for options) each session.
The up-colour line is calls (bets on a rise) and the down-colour line is puts (bets on a fall). Each line is net: bought at the ask (the seller's price) minus sold at the bid (the buyer's price). Rising calls or falling puts lean bullish, the reverse bearish, and a pane below shows the same in contracts. Use it to read the whole options market's mood from a crypto, CME (Chicago futures exchange) or US stock chart.
Under the hood: the recipe reads options_flow net premium and contract fields under scope: "market". Each tide's set sits behind its own option of a multi setting through when and when_bit (Data sources). It takes the trade date and session from the time source (Data sources) and the market's clock from market.zone() (The market's facts). It draws a histogram in a named pane and a render.hud card in the chart's default look from data-only readings and string texts (HUD cards). It is also the premium-tide template, the Premium Tide card under Order flow in the editor's starter list, and it compiles as written.
The wrun indicator
// Premium Tide: two lines under the chart sum the whole options market's premium (money paid for options) each session.
// The up-colour line is calls (bets on a rise) and the down-colour line is puts (bets on a fall). Each line is net:
// bought at the ask (the seller's price) minus sold at the bid (the buyer's price). Rising calls or falling puts lean
// bullish, the reverse bearish, and a pane below shows the same in contracts. Use it to read the whole options market's
// mood from a crypto, CME (Chicago futures exchange) or US stock chart.
//
// Technical notes: the tide reads the whole options market (every US listed underlying, the coin on every crypto venue,
// or CME's market), summed through the session: the regular session on a US stock, the whole trading day on CME. The
// net call premium is the call premium bought at the ask minus the call premium sold at the bid (the taker's side on
// crypto and CME), the net put premium the same on puts, each print's premium counted up to 2,000,000 so one block
// cannot swamp the market. Both run from the session's start (09:30 New York on a US stock; the 17:00 Chicago open on
// CME, whose evening, night and hours after the regular window count too; 00:00 UTC on crypto, where every bar is in
// session; each trade date starts again) as two lines under the chart, calls in the up colour and puts in the down
// colour, and a pane below sums the net volume (coins on crypto): call contracts bought at the ask minus sold at the
// bid, minus the same on puts. Prints at the mid or with no quote count in neither. Tides picks what is summed: the
// whole market or the contracts expiring that day (0DTE), each over every strike or only the out-of-the-money ones,
// each pick one more read fetched only while it is picked. With one tide picked the two lines are its calls and its
// puts; with several, each picked tide draws one line, its net call minus net put premium, in its own tier of white
// (the whole market's brightest), and the net volume and the card follow the first one picked. The rows come from
// options_flow's market scope, one per bar: 1-minute rows reach back 7 days, 5-minute rows 30 and daily rows are kept,
// so older intraday bars carry none. A bar the tide sums (in the regular session, on CME in any part of its trading
// day) without a row adds nothing and is counted, the sums a floor while that count is above 0; bars outside the
// session draw nothing. Every print takes a side, cross and late trades too: the card says so above the count of bars
// with no row, and the lines' and sums' hover too.
param.multi("tides", ["Whole market", "Whole market, out of the money", "0DTE", "0DTE, out of the money"], ["Whole market"], { label: "Tides", description: "Which options the tide sums. 0DTE means options that expire today. Out of the money means calls whose strike (price level) is above the price, and puts whose strike is below. Each pick loads extra data, and with several picked each draws its own net line." });
input("close", ohlcv.close); // the chart's own candles: the bar grid (the tide reads the chart's whole options market)
input("trade_date", time.trade_date); // the bar's trade date (the New York date on a US stock, on CME the one that opens at 17:00 Chicago): the sums start again on each
input("session", time.session); // 1 in the regular session, 2 before it, 3 after it, 0 closed: the tide sums 1, and 1 to 3 on CME
market.zone(); // the market's clock, written by the chart: 2 Chicago (CME), whose whole trading day the tide sums
// Six fields a tide, each set read only while its tide is picked (when_bit is the tide's place in Tides): the net call
// and net put premium with each print capped, then the call and put contracts at the ask and at the bid.
input("mkt_ncp", options_flow.net_call_prem_capped, { scope: "market", when: "tides", when_bit: 0, missing: "nan", description: "Whole market: net call premium in dollars, each trade capped at $2,000,000." });
input("mkt_npp", options_flow.net_put_prem_capped, { scope: "market", when: "tides", when_bit: 0, missing: "nan", description: "Whole market: net put premium in dollars, each trade capped at $2,000,000." });
input("mkt_ca", options_flow.call_contracts_ask, { scope: "market", when: "tides", when_bit: 0, missing: "nan", description: "Whole market: call contracts bought at the ask" });
input("mkt_cb", options_flow.call_contracts_bid, { scope: "market", when: "tides", when_bit: 0, missing: "nan", description: "Whole market: call contracts sold at the bid" });
input("mkt_pa", options_flow.put_contracts_ask, { scope: "market", when: "tides", when_bit: 0, missing: "nan", description: "Whole market: put contracts bought at the ask" });
input("mkt_pb", options_flow.put_contracts_bid, { scope: "market", when: "tides", when_bit: 0, missing: "nan", description: "Whole market: put contracts sold at the bid" });
input("otm_ncp", options_flow.net_call_prem_capped, { scope: "market", moneyness: "otm", when: "tides", when_bit: 1, missing: "nan", description: "Whole market, out of the money: net call premium in dollars, each trade capped at $2,000,000." });
input("otm_npp", options_flow.net_put_prem_capped, { scope: "market", moneyness: "otm", when: "tides", when_bit: 1, missing: "nan", description: "Whole market, out of the money: net put premium in dollars, each trade capped at $2,000,000." });
input("otm_ca", options_flow.call_contracts_ask, { scope: "market", moneyness: "otm", when: "tides", when_bit: 1, missing: "nan", description: "Whole market, out of the money: call contracts bought at the ask" });
input("otm_cb", options_flow.call_contracts_bid, { scope: "market", moneyness: "otm", when: "tides", when_bit: 1, missing: "nan", description: "Whole market, out of the money: call contracts sold at the bid" });
input("otm_pa", options_flow.put_contracts_ask, { scope: "market", moneyness: "otm", when: "tides", when_bit: 1, missing: "nan", description: "Whole market, out of the money: put contracts bought at the ask" });
input("otm_pb", options_flow.put_contracts_bid, { scope: "market", moneyness: "otm", when: "tides", when_bit: 1, missing: "nan", description: "Whole market, out of the money: put contracts sold at the bid" });
input("zd_ncp", options_flow.net_call_prem_capped, { scope: "market", dte: "0dte", when: "tides", when_bit: 2, missing: "nan", description: "0DTE (expiring today): net call premium in dollars, each trade capped at $2,000,000." });
input("zd_npp", options_flow.net_put_prem_capped, { scope: "market", dte: "0dte", when: "tides", when_bit: 2, missing: "nan", description: "0DTE (expiring today): net put premium in dollars, each trade capped at $2,000,000." });
input("zd_ca", options_flow.call_contracts_ask, { scope: "market", dte: "0dte", when: "tides", when_bit: 2, missing: "nan", description: "0DTE (expiring today): call contracts bought at the ask" });
input("zd_cb", options_flow.call_contracts_bid, { scope: "market", dte: "0dte", when: "tides", when_bit: 2, missing: "nan", description: "0DTE (expiring today): call contracts sold at the bid" });
input("zd_pa", options_flow.put_contracts_ask, { scope: "market", dte: "0dte", when: "tides", when_bit: 2, missing: "nan", description: "0DTE (expiring today): put contracts bought at the ask" });
input("zd_pb", options_flow.put_contracts_bid, { scope: "market", dte: "0dte", when: "tides", when_bit: 2, missing: "nan", description: "0DTE (expiring today): put contracts sold at the bid" });
input("zd_otm_ncp", options_flow.net_call_prem_capped, { scope: "market", dte: "0dte", moneyness: "otm", when: "tides", when_bit: 3, missing: "nan", description: "0DTE (expiring today), out of the money: net call premium in dollars, each trade capped at $2,000,000." });
input("zd_otm_npp", options_flow.net_put_prem_capped, { scope: "market", dte: "0dte", moneyness: "otm", when: "tides", when_bit: 3, missing: "nan", description: "0DTE (expiring today), out of the money: net put premium in dollars, each trade capped at $2,000,000." });
input("zd_otm_ca", options_flow.call_contracts_ask, { scope: "market", dte: "0dte", moneyness: "otm", when: "tides", when_bit: 3, missing: "nan", description: "0DTE (expiring today), out of the money: call contracts bought at the ask" });
input("zd_otm_cb", options_flow.call_contracts_bid, { scope: "market", dte: "0dte", moneyness: "otm", when: "tides", when_bit: 3, missing: "nan", description: "0DTE (expiring today), out of the money: call contracts sold at the bid" });
input("zd_otm_pa", options_flow.put_contracts_ask, { scope: "market", dte: "0dte", moneyness: "otm", when: "tides", when_bit: 3, missing: "nan", description: "0DTE (expiring today), out of the money: put contracts bought at the ask" });
input("zd_otm_pb", options_flow.put_contracts_bid, { scope: "market", dte: "0dte", moneyness: "otm", when: "tides", when_bit: 3, missing: "nan", description: "0DTE (expiring today), out of the money: put contracts sold at the bid" });
pane("volume", { title: "Net volume", height_frac: 0.16, format: "si" });
// One tide picked: its calls and its puts. Several: one net premium line per picked tide, in the tide's tier.
output("ncp", line, lower, { color: "theme.up", width: 2, label: "Net call premium", format: "usd", hint: "Includes cross and late trades", description: "With one tide picked: its net call premium (money paid for calls) since the session opened, in dollars. The session opens at 09:30 New York on US stocks and 17:00 Chicago on CME. Empty with several tides picked or outside the session." });
output("npp", line, lower, { color: "theme.down", width: 2, label: "Net put premium", format: "usd", hint: "Includes cross and late trades", description: "With one tide picked: its net put premium (money paid for puts) since the session opened, in dollars." });
output("net_mkt", line, lower, { color: "theme.text", width: 2, label: "Whole market", format: "usd", hint: "Includes cross and late trades", description: "With several tides picked: the whole market's net call premium minus net put premium since the session opened, in dollars. Above zero calls lead, below zero puts lead." });
output("net_otm", line, lower, { color: "theme.text", opacity: 0.55, width: 1.5, label: "Whole market, out of the money", format: "usd", hint: "Includes cross and late trades", description: "With several tides picked: the same for out-of-the-money options, calls with a strike above the price and puts below it." });
output("net_zd", line, lower, { color: "theme.text", opacity: 0.32, width: 1, label: "0DTE", format: "usd", hint: "Includes cross and late trades", description: "With several tides picked: the same for 0DTE options, the ones that expire today." });
output("net_zd_otm", line, lower, { color: "theme.text", opacity: 0.32, width: 1, label: "0DTE, out of the money", format: "usd", hint: "Includes cross and late trades", description: "With several tides picked: the same for options that expire today and are out of the money." });
output("zero", line, lower, { color: "theme.muted", width: 1, line_style: "dashed", legend: false, description: "The zero line of the premium pane." }); // keeps zero inside the pane's scale
output("net_volume", histogram, lower, { pane: "volume", color_by: "volume_tone", colors: ["theme.down", "theme.up"], width: 0.8, label: "Net volume", format: "si", description: "The first picked tide's net contracts since the session opened, in coins on crypto. That is calls bought at the ask minus sold at the bid, minus the same for puts. Above zero calls lead, below zero puts lead." });
// The readings, data-only: the card reads them and the Console can too.
output("volume_tone", none, lower, { description: "The net volume's colour: 0 below zero, 1 at or above zero." });
output("lead_ncp", none, lower, { format: "usd", description: "The first picked tide's net call premium this session, in dollars. Empty before its first options data." });
output("lead_npp", none, lower, { format: "usd", description: "The first picked tide's net put premium this session, in dollars." });
output("net_premium", none, lower, { format: "usd", description: "The first picked tide's net call premium minus net put premium this session, in dollars. Above zero the tide leans bullish, below zero bearish. Includes cross and late trades." });
output("lead_volume", none, lower, { format: "si", description: "The first picked tide's net volume this session, in contracts or coins on crypto." });
output("bar_ncp", none, lower, { format: "usd", description: "This bar's net call premium for the first picked tide in dollars, empty on a bar with no options data." });
output("bar_npp", none, lower, { format: "usd", description: "This bar's net put premium for the first picked tide in dollars, empty on a bar with no options data." });
output("missing_bars", none, lower, { description: "Bars this session that the first picked tide sums but that had no options data. The tide sums regular-session bars, and every bar of the trading day on CME. Above 0, read the sums as at least what they show." });
output("tone", none, lower, { description: "The side that leads: 0 puts, 1 even or no reading, 2 calls." });
string("read", { max_bytes: 48 }); // the headline: which side leads the tide, or why there is no reading
string("title", { max_bytes: 64 }); // the card's title: the first picked tide, and how many more
// The card: the first picked tide's lean leads as the headline, then its two sums, their difference, its net volume
// and the bars with no row, under the line that the sums include cross and late trades.
render.hud("tide_card", {
position: "top_right",
safe_area: true,
title: "{{title}}",
columns: 2,
tiles: [
tile.pill("Tide", "read", { headline: true }),
tile.value("Net call premium", "lead_ncp", { format: "usd", hint: "Includes cross and late trades" }),
tile.value("Net put premium", "lead_npp", { format: "usd", hint: "Includes cross and late trades" }),
tile.value("Calls minus puts", "net_premium", { format: "usd", hint: "Includes cross and late trades" }),
tile.value("Net volume", "lead_volume", { format: "si" }),
tile.rows("Includes cross and late trades", [["Bars with no options data", "missing_bars", "int"]]),
],
});
const TIDES = 4; // the options of Tides, in its order
const FIELDS = 6; // the fields read per tide
const NAMES: StaticArray<string> = ["Whole market", "Whole market, out of the money", "0DTE", "0DTE, out of the money"];
const ncp = new StaticArray<f64>(TIDES); // this session's sums, per tide
const npp = new StaticArray<f64>(TIDES);
const vol = new StaticArray<f64>(TIDES);
const rows = new StaticArray<i32>(TIDES); // summed bars of this session that carried a row
const missing = new StaticArray<i32>(TIDES); // summed bars of this session without one
const runRows = new StaticArray<i32>(TIDES); // summed rows over the whole run
const cur = new StaticArray<f64>(FIELDS); // this bar's fields of one tide
let picks = 0.0; // the Tides bitmask, read in onStart()
let lead = -1; // the first picked tide, -1 with none
let picked = 0; // how many tides are picked
let day: f64 = NaN; // the trade date the sums run over
let zone = 0; // the market's clock, read in onStart()
function onStart(): void {
picks = p_tides();
zone = i32(p_market_zone());
lead = -1;
picked = 0;
for (let t = 0; t < TIDES; t += 1) {
if (!multiHas(picks, t)) continue;
if (lead < 0) lead = t;
picked += 1;
}
}
// This bar's six fields of tide t into cur: the capped net call and net put premium, then the call and put contracts
// at the ask and at the bid.
function readTide(t: i32): void {
if (t == 0) { cur[0] = in_mkt_ncp(); cur[1] = in_mkt_npp(); cur[2] = in_mkt_ca(); cur[3] = in_mkt_cb(); cur[4] = in_mkt_pa(); cur[5] = in_mkt_pb(); }
else if (t == 1) { cur[0] = in_otm_ncp(); cur[1] = in_otm_npp(); cur[2] = in_otm_ca(); cur[3] = in_otm_cb(); cur[4] = in_otm_pa(); cur[5] = in_otm_pb(); }
else if (t == 2) { cur[0] = in_zd_ncp(); cur[1] = in_zd_npp(); cur[2] = in_zd_ca(); cur[3] = in_zd_cb(); cur[4] = in_zd_pa(); cur[5] = in_zd_pb(); }
else { cur[0] = in_zd_otm_ncp(); cur[1] = in_zd_otm_npp(); cur[2] = in_zd_otm_ca(); cur[3] = in_zd_otm_cb(); cur[4] = in_zd_otm_pa(); cur[5] = in_zd_otm_pb(); }
}
// Tide t's net premium line, drawn with several tides picked.
function writeNet(t: i32, value: f64): void {
if (t == 0) out_net_mkt(value);
else if (t == 1) out_net_otm(value);
else if (t == 2) out_net_zd(value);
else out_net_zd_otm(value);
}
// The card's words, on the live bar.
function writeWords(): void {
sb_clear();
if (lead < 0) sb_text("Pick a tide");
else if (runRows[lead] == 0) sb_text("No options flow on this chart yet");
else if (rows[lead] == 0) sb_text("No options flow yet this session");
else if (ncp[lead] - npp[lead] > 0.0) sb_text("Calls lead the tide");
else if (ncp[lead] - npp[lead] < 0.0) sb_text("Puts lead the tide");
else sb_text("Calls and puts even");
str_read_sb();
sb_clear();
sb_text("Premium tide");
if (lead >= 0) {
sb_text(", ");
sb_text(NAMES[lead]);
}
if (picked > 1) {
sb_text(" +");
sb_int(picked - 1);
}
str_title_sb();
}
// onBar() runs once per bar: a new trade date starts every tide's sums again; on a bar the tide sums each picked
// tide's row adds to its sums, or counts as missing; then the lines, the net volume, the readings and, on the live
// bar, the words. A tide that is not picked is skipped even on a host that fetches its lane anyway.
function onBar(): void {
const date = in_trade_date();
if (!isNaN(date) && date != day) {
day = date;
for (let t = 0; t < TIDES; t += 1) {
ncp[t] = 0.0;
npp[t] = 0.0;
vol[t] = 0.0;
rows[t] = 0;
missing[t] = 0;
}
}
// The bars the tide sums: the regular session (time.session 1), and on CME (zone 2) its whole trading day, from the
// 17:00 Chicago open through the evening, the night and the hours after the regular window (1 to 3).
const regular = zone == 2 ? in_session() >= 1.0 : in_session() == 1.0;
let barNcp: f64 = NaN;
let barNpp: f64 = NaN;
for (let t = 0; t < TIDES; t += 1) {
if (!multiHas(picks, t)) {
writeNet(t, NaN);
continue;
}
readTide(t);
let served = true;
for (let f = 0; f < FIELDS; f += 1) if (isNaN(cur[f])) served = false;
if (regular) {
if (served) {
ncp[t] += cur[0];
npp[t] += cur[1];
vol[t] += cur[2] - cur[3] - (cur[4] - cur[5]);
rows[t] += 1;
runRows[t] += 1;
} else missing[t] += 1;
}
if (t == lead && served) {
barNcp = cur[0];
barNpp = cur[1];
}
writeNet(t, picked > 1 && regular && rows[t] > 0 ? ncp[t] - npp[t] : NaN);
}
const reading = lead >= 0 && rows[lead] > 0;
const drawn = reading && regular;
const net = reading ? ncp[lead] - npp[lead] : NaN;
out_ncp(drawn && picked == 1 ? ncp[lead] : NaN);
out_npp(drawn && picked == 1 ? npp[lead] : NaN);
out_zero(0.0);
out_net_volume(drawn ? vol[lead] : NaN);
out_volume_tone(drawn ? (vol[lead] >= 0.0 ? 1.0 : 0.0) : NaN);
out_lead_ncp(reading ? ncp[lead] : NaN);
out_lead_npp(reading ? npp[lead] : NaN);
out_net_premium(net);
out_lead_volume(reading ? vol[lead] : NaN);
out_bar_ncp(barNcp);
out_bar_npp(barNpp);
out_missing_bars(lead >= 0 ? f64(missing[lead]) : NaN);
out_tone(reading ? (net > 0.0 ? 2.0 : net < 0.0 ? 0.0 : 1.0) : 1.0);
if (bar.isLast()) writeWords();
}How it works
The tide. Each bar's row carries the market's premium at the ask and at the bid, calls and puts apart, each print's premium capped at 2,000,000 (net_call_prem_capped, net_put_prem_capped). The net call premium rises when calls are bought at the ask and falls when they are sold at the bid; the net put premium does the same on puts. Prints at the mid or with no quote to side them count in neither; on crypto and CME every print carries the taker's side. The net volume is the same reading in contracts: calls bought at the ask minus sold at the bid, minus the puts' (call_contracts_ask and the rest).
The session. The sums start again on each trade date (time.trade_date) and add only the session's bars: on a US stock the regular session (time.session reads 1), so the tide runs from 09:30 to 16:00 New York. Index options trade before the open too, so the market serves rows on pre-market bars; the tide leaves them out and draws nothing there. On crypto every bar is in session and the trade date is the UTC day. On CME (market.zone() 2) the tide counts the whole trading day, from the 17:00 Chicago open through the evening, the night and the hours after the regular window (time.session reads 1 to 3), because the exchange's options trade through all of it; the daily halt adds nothing. On a daily chart every bar is a whole session, so each bar is that day's tide.
Tides. tides is a multi setting, one option per tide: the whole market (scope: "market"), its out-of-the-money contracts (moneyness: "otm", a strike within 0.5% of the underlying counting as out), the contracts expiring on the print's own trade date (dte: "0dte") and those out of the money. Every tide's six inputs carry when: "tides" and that option's when_bit, so the chart fetches a tide's rows only while it is picked; the code reads the same bits (multiHas), so a tide that is not picked draws nothing even on a host that fetched its lane anyway. One tide picked draws its calls and puts (ncp, npp); several draw one net line each (net_mkt, net_otm, net_zd, net_zd_otm) in the tide's tier of the text colour (the whole market at full strength and widest, its out-of-the-money tide fainter, the two same-day tides faintest and thinnest), and the net volume, the card and its readings follow the first one picked.
Cross and late trades. The data plane sides every print by the quote, cross trades and late or out-of-sequence prints included, because the feed carries no sale conditions, so a source that leaves those prints unsided shows a different net premium. The package says so where its net premium shows: the line over the card's count of bars with no flow row, the hover of each tide's line and of the card's three premium values, and the description of net_premium.
What the settings do
- Tides: Picks what to sum, from the whole market to 0DTE (expiring today) options, and several picks draw one line each.
- Tide: Names the side that leads the first picked tide this session, calls or puts.
- Net call premium: Calls bought at the ask minus calls sold at the bid this session, in dollars.
- Net put premium: Puts bought at the ask minus puts sold at the bid this session, in dollars.
- Calls minus puts: Net call premium minus net put premium, where above zero leans bullish and below zero bearish.
- Net volume: Net call contracts minus net put contracts this session, in coins on crypto.
- Bars with no options data: Bars the tide sums this session without data, so above 0 read the sums as at least what they show.
Where it runs
It works on three kinds of charts. On a coin with listed options, the tide reads that coin's options on every crypto exchange. A copy you run from the editor (where you write and run your own indicators) reads them too. On a US stock or ETF chart, every indicator in your browser can read it. The same goes for the charts of that stock's option contracts. On a CME futures chart, every indicator in your browser can read it too, once you accept the CME market data terms (Limitations). The tide reads the whole market, whatever symbol the chart shows. On a US stock that means every US listed option, so it fits well on SPY. On CME it means the whole exchange's options. US options data runs 15 minutes behind unless you have real-time US options data. CME data runs 10 minutes behind unless you have real-time CME data. The legend shows which delay you get. It shows the last 7 days on 1-minute charts and the last 30 days on 5-minute charts. Daily charts keep every day. On an intraday chart, older sessions stay blank. Alerts and Protected indicators (published ones that run on OpenMarket's servers) cannot read it. They say which data they lack.
When data is missing
The card says why instead of going blank. It reads "Pick a tide" while Tides has nothing picked. It reads "No options flow on this chart yet" while the first picked tide has no options data yet. It reads "No options flow yet this session" while the newest session has none. Bars with no options data counts the bars the first tide sums this session that had no data. On CME those are the whole trading day's bars. Above 0, read the sums as at least what they show. A tide with no options data draws no line. If the chart cannot load a data source, the legend shows a chip with the reason.
Customize it
- The whole picture at once. Pick all four tides: the market's net line, its out-of-the-money one and the same-day contracts' two, side by side.
- Another tide. Change one tide's knobs:
scope: "index"withdte: "0dte"reads the indices' same-day contracts,dte: "week"the contracts expiring in one to seven days. The equity and ETF scopes read empty until the data plane stamps each underlying's kind, and a crypto or CME chart serves no issue-type scope. A sheet reads at most 32 inputs, so a fifth tide of six inputs takes the place of one of the four. - Uncapped premium. Swap
net_call_prem_cappedandnet_put_prem_cappedfornet_call_premandnet_put_premto count every print's premium in full.
Run it
- In the editor's Explorer, press the Templates icon ("Browse starter templates") and pick Premium Tide under Order flow.
- Press Run on a BTC chart or a US stock chart: the tide draws under the chart, the net volume below it and the card at the top right. On a US stock or a CME future the copy reads the market flow at your own tier, and the legend names the tier. On a CME future, accept the CME market data terms first.
- At the editor's Console prompt, type
lead_ncp,lead_nppandnet_premiumto read the first tide's sums on the live bar, ormissing_barsto see how many bars carried no row.
Concepts used
- Data sources for the
options_flowclass, its fields and thescope,dteandmoneynessknobs - Data sources for
time.trade_dateandtime.session - The market's facts for
market.zone(), which counts CME's whole trading day - Setting kinds for
param.multiand its bitmask - HUD cards and Blocks and tiles for the card, its pill and values
- Limitations for the US options rule