Integrations / thinkorswim

FirmTape levels in thinkorswim

Beta · version 0.1.1 · thinkScript study, typed levels · Paste, updated when you type them · part of the LIVE plan

A thinkScript study that draws the flip and the walls as horizontal lines from numbers you type in. thinkorswim cannot fetch data. These are measurements of dealer positioning, not trade signals: the plugin places no orders and raises no alerts.

FirmTape Levels for thinkorswimBeta
Download 0.1.1FirmTapeLevels-0.1.1.ts · 4.5 KB
SHA-256 40a56ccbc95fc2eea04ff7b41a2958901c4357622e5509e1a39d6ff0fc4b6771

The download is the script's own text: open it, select all and paste it into the thinkScript editor.

What you need

The levels

No token goes into thinkorswim: the levels travel as a string you copy on /account#integrations (LIVE plan).

Install

  1. Open the study's text below (the download is the script itself) and copy all of it.
  2. In thinkorswim: Studies > Edit studies... > Create...
  3. Name it FirmTapeLevels, delete the default line, paste the script, OK.
  4. On a chart: Studies > Edit studies..., find FirmTapeLevels, Add selected, OK.

Which levels on which chart

ChartUse the numbers of
/ES, /MES (any month)ES
/NQ, /MNQNQ
$SPXSPX
QQQ, SPY and other tickersthat ticker

ES and NQ levels are already moved by the day's basis, so they are futures prices: do not type SPX levels on an ES chart. When the flip is more than 5% from the chart's price the study says "Levels do not fit this chart's price".

Updating the levels

thinkScript cannot split a pasted string, so the levels are numbers typed into the study's inputs. Read them from the levels string copied on /account#integrations (under TradingView and thinkorswim):

InputFrom the levels stringExample
flip levelflip=7760.56
call wallcr=7780.25
put wallps=7750.25
show OIno
OI flip leveloflip=7733.15
OI call wallocr=7810.25
OI put wallops=7710.25
levels datethe date in the block's header, as yyyymmdd20260930
levels timethe time in the block's header, as hhmm1517

To change them, click the study's name on the chart (or the gear next to FirmTapeLevels in Edit studies), type the numbers, OK. A level left at 0 is not drawn. The date label turns red, "OLDER THAN TODAY", from the next day on, so yesterday's levels never pass for today's.

The levels do not move by themselves. Refresh them when the terminal's flip or a wall has moved (for example after the first 30 minutes, at midday and in the last hour), and always after a large move through a level. For lines that follow the session, use a platform that can call the levels API. Each chart holds its own copy of the study and its inputs; save the chart as a Style or a Flexible Grid to reuse a set.

Settings

SettingDefaultWhat it does
flip level, call wall, put wall0The volume book's levels. 0 is not drawn.
show OInoAlso draws the open-interest flip and walls.
OI flip level, OI call wall, OI put wall0The open-interest book's levels.
levels date, levels timeWhen the levels were taken, for the age label.

What is drawn

Troubleshooting

Status saysMeaning and fix
Levels do not fit this chart's priceThe numbers belong to another symbol (for example SPX levels on /ES). Type the chart's own block.
OLDER THAN TODAYThe typed levels are from an earlier day. Type today's.
A line is missingIts input is 0, or the level is outside the visible price range.

More

Beta software, provided as is, not yet verified inside every version of thinkorswim. thinkorswim is a trademark of its owner; no affiliation with, or endorsement by, it is implied. Not investment advice.