Docs

ITMScript · Migrate

From Pine Script

How a Pine Script study becomes an ITMScript study, line by line, and which lines are refused and why.

Convert a script

There are two ways in. In the study builder, select Import, leave the language on Auto or choose Pine Script, paste the script and select Convert. Or paste the script into the chart console, which reads it as Pine Script, converts it on your device and adds the study to the chart.

Both use the same converter. It reads the script as text and uses no model, so the same script always gives the same result. The builder page covers the import view.

What you get

A converted study is plain ITMScript. It opens with //@itmscript 2. Each statement is on its own line, in the order of the original. You can read it, change it and add it to the chart like any study you wrote.

A line the converter cannot carry over stays in the study as a comment. The comment starts with // refused, then names the code, the line and what to write instead. The rest of the study still converts, so you can fix the comment by hand.

A line that converts with a difference carries a note in the report. The report lists every line as converted, converted with a note, refused or dropped. A dropped line is one that has no effect on values, such as a log message. Nothing is lost without a note.

What was measured

The converter was measured on 541 original scripts in common shapes, written for this converter, never copied from a published script. 174 converted without a note. 224 converted with at least one note. 143 had at least one refused line.

A count is of scripts. The set includes the shapes that are refused by design, so it is a record of what the converter does and not a promise about your script. The report on your script is the last word.

Same, close, not yet and refused

Each row of the tables below carries one of four words.

Same
The numbers agree with the original once the warm-up has passed.
Close
The line converts and the report carries a note. Read the note and check the result against the original.
Not yet
The language cannot say this today. The line is refused with a code and a rewrite, and a later release may convert it.
Refused
ITMScript does not do this by design. The line is refused with a code and a rewrite.

A row describes a name. A name can convert in one shape and be refused in another, so the report is the last word on a script.

Other symbols and timeframes

A call to request.security becomes a declared series. The converter writes a declaration such as d = series(timeframe="1d") once and reads the fields of d where the script read the request. Two requests for the same symbol and timeframe share one declaration. The other data page explains declared series.

A declared series shows the last completed bar. The source script can show the bar that is still forming on a live chart. The report says so in a note on every converted request.

A crossing of the chart and a requested value, such as ta.crossover(close, prevHigh), converts as the difference crossing zero, ta.crossover(close - prevHigh, 0). The difference runs on the chart's bars, where the source crosses. Any other window, read of an earlier bar or running total over a requested value is refused. The source computes it on the chart's bars, and the converted name would read the bars of the requested timeframe. Write the calculation inside the request instead.

A request that reads a bar before it closes is refused. That covers a request with lookahead switched on and no offset, and a request with gaps switched on. A request with lookahead switched on and a one bar offset, such as close[1], reads the day before and converts. The open of a day, a week, a month, three months or twelve months, requested with lookahead switched on, converts to the open of the regular session's first bar of that period. The note on it says which bar that is. The open of a shorter period is refused. A request for bars finer than the chart is refused, because a study runs on the chart's own clock. Financial, economic and earnings requests are refused because they are not price series.

Time and sessions

The calendar fields convert to the field of the same name: time, year, month, dayofmonth, dayofweek, hour, minute and the session.* facts. They follow the exchange calendar of the chart. The time and sessions page says what each one reads.

A volume weighted price that restarts at a period converts with the matching reset. The variable ta.vwap resets on each session in the source, so it is written ta.vwap(hlc3, reset=day) and the report notes that here it resets on each day. The anchor of ta.vwap, written with timeframe.change, converts. A period of a day, a week, a month, three months or twelve months gives reset=day, reset=week, reset=month, reset=quarter or reset=year. A new day, written timeframe.change("D"), converts to session.isfirstbar. It is true on the regular session's first bar on this chart. The test ta.change(time("D")) converts the same way when it is compared with 0 or used as a condition. In any other place, or with a length, it is refused. A new bar of any other timeframe is refused, and so is a read of the chart's own timeframe.

Functions, choices and shifts

A function written on the lines under => converts. A switch or an if inside it converts when every branch gives one value. An arm that draws, assigns or holds a block is refused, and the report names the line. A parameter may carry a default written as a literal: a number, true, false, na, a colour or text. A call may leave that argument out. The type words on a parameter are dropped.

An if chain over a plain variable converts when every branch gives that variable one value. The chain becomes a new name that holds a condition for each branch, with the earlier value when no branch holds, and later lines read the new name. A branch that draws, a name set twice in one branch, or a second name inside a function body is refused. Several names set in one branch convert as one chain each. A := on one name in every arm of a switch converts. The report for a refused block says what converts and names its first row that does not.

A variable set again with := converts. A line above the change that reads the variable's earlier value, such as x[1], is refused, because the source reads the value after the change.

A text input with a list of options becomes a choice input. A switch or an if over it becomes a chain of comparisons with the options, in order, with the default as the last branch. A choice compares with one of its own options and nowhere else, so a choice read in any other way is refused. A case that is not one of the options is refused as a mistyped line. The colour of a fill may change bar by bar, as the colour of a plot may.

A plot drawn ahead by an input converts, and so does a shift written as arithmetic over int inputs, such as offset=ahead - 1. The converter narrows the range of the input so the shift stays from 0 to 500, and the report names a bound of the script that it moves. A shift that works out outside that range at the defaults of its inputs is refused. A shift from a float input or from a series is refused. A shift backward is refused, except the mark of a pivot drawn back by the pivot's own length, which is drawn on the bar that confirms the pivot with a note that says so. To use a value from n bars ago, write x[n]. A signed bound on an input is kept, so minval=-100 becomes min=-100.

Refused by design

Some lines are refused because ITMScript does not do what they ask, not because the converter is incomplete. Each has a code, a meaning and a rewrite. The codes also appear on the error codes page.

  • Strategies. A strategy places simulated orders. A study draws an indicator and never trades. Convert the indicator logic and mark entries and exits with markers or alerts.
  • Drawings. Labels, lines, boxes and tables at chart coordinates have no equivalent. A study produces series and markers.
  • Shifts backward. A plot is drawn at the bar that computed it or ahead of it, never behind it. The mark of a pivot is the one exception, as above. Read an earlier value with x[n].
  • Lookahead and repainting. A script that reads a bar before it closes, or a value that changes after the bar, cannot be reproduced. ITMScript reads history backward only.
  • Loops with no fixed bound and state between ticks. The work of a study must be known before it runs. Use a rolling operator with a fixed window.
  • Arrays, matrices and maps. They hold state that the language does not model. A rolling window over the series replaces most uses.
CodeWhat the line doesWhat to write instead
convert-parseThe line could not be read as a statement of the source language.Check the line for a typo, or write it by hand in ITMScript.
convert-strategyA strategy places simulated orders. An ITMScript study draws an indicator and never trades.Convert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition.
convert-drawingLabels, lines, boxes and tables drawn at chart coordinates have no equivalent. A study produces series and markers.Plot the level as a series with plot or hline. Use value or events for a table of numbers.
convert-lookaheadThe script reads a bar that has not closed yet. ITMScript reads history backward only.Read the previous bar with x[1] and accept the one bar delay.
convert-varipA varip variable keeps state between ticks inside a bar. The result depends on the tick feed and cannot be reproduced.Compute the value once per bar. Use ta.* operators and x[1] for history.
convert-loop-unboundedThe loop has no fixed bound, so its work cannot be limited before it runs.Use a rolling operator with a fixed window, such as ta.sma(x, N) or ta.highest(x, N).
convert-collectionArrays, matrices and maps hold state that ITMScript does not model.Use a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values.
convert-string-opString arithmetic and string comparison are not part of ITMScript. Text is used for titles and labels only.Compare numbers or conditions instead of text. Keep text for titles and labels.
convert-security-lookaheadThe request reads a higher timeframe bar before it closes. The value changes after the fact.Declare the series with series(timeframe="1d"). ITMScript reads the last completed bar only.
convert-security-gapsThe request leaves gaps between updates of another timeframe. ITMScript repeats the last completed bar instead.Declare the series with series(timeframe=...). It repeats the last completed bar between updates.
convert-security-lower-tfThe request asks for bars finer than the chart. A study runs on the chart clock.Run the study on the finer chart and declare the coarser series with series(timeframe=...).
convert-request-feedThe request asks for data that is not a price series, such as financials, economic series or earnings.Use a price series declared with series(symbol=...), or enter the value as an input.float.
convert-series-lengthA window length that changes from bar to bar cannot size the state of an operator.Use a constant or an input for the length, for example len = input.int(14).
convert-plot-offsetA plot shifts ahead by a whole number of bars from 0 to 500, written in the call or given by an int input and arithmetic over int inputs. A shift backward draws a later bar's value on an earlier bar, which this language cannot draw, and a shift on any output but plot is not carried.Write the shift as a number or an int input on the plot. For a value from n bars ago, read it with x[n]. A plot shifted back has no form.
convert-dynamic-offsetA history offset that changes from bar to bar cannot be bounded before the run.Use a constant or an input for the offset, for example x[len] with len = input.int(5).
convert-dynamic-textText built from values at run time, such as a label that shows a price, is not supported.Plot the number. Use value for a single readout.
convert-host-visualCandle, bar and price colouring replace the drawing of the chart itself. A study adds series and markers on top of it.Use plotshape markers, or tint the background with bgcolor.
convert-nondeterministicRandom numbers, the wall clock and other values that differ between runs break reproducibility.Remove the value, or replace it with a fixed input.
convert-instrument-metaFacts about the instrument, such as tick size, point value or currency, are not available to a study.Enter the value as an input.float and set it for the instrument.
convert-unknown-callThe function or variable has no equivalent in the converter tables.Write the calculation with ITMScript operators, or remove the line.
convert-libraryA library declaration or an import brings code from another script.Paste the library's functions into the script, or write them as functions.
convert-period-openA period's own open, high, low or close read without an offset is the forming period's value, which this language cannot state exactly on this chart.Read the closed period with a shift of one, for example d.close[1].
convert-limitThe script is larger or more deeply nested than the converter accepts.Split the script into smaller studies and convert each one.

Examples

Each example is a script run through the converter. The left side is the script as written. The right side is what the converter wrote, unedited.

The close of the day before

A request for the daily close, offset by one bar, becomes a read of one declared daily series. The note says where the two differ.

Pine Script
//@version=5
// The close of the day before, read with the lookahead option on, on an intraday chart.
indicator("Prior day close", overlay=true)

priorClose = request.security(syminfo.tickerid, "D", close[1], lookahead = barmerge.lookahead_on)
plot(priorClose, "Prior day close", color=color.orange)
ITMScript
//@itmscript 2
study("Prior day close", overlay=true)
d = series(timeframe="1d")
priorClose = d.close
plot(priorClose, "Prior day close", color=color.orange)

Report: 2 converted, 1 with a note, 0 refused, 0 dropped.

  • On the last bar of each day the series moves on to the day that has just closed. The source is still one day behind. The mapping assumes a chart finer than 1d.

A volume weighted price that restarts each day

The average restarts each day in the source, so the converted call is written with reset=day.

Pine Script
//@version=5
// A volume weighted price on an intraday chart.
indicator("Daily weighted price", overlay=true)

vw = ta.vwap(hlc3)
plot(vw, "Weighted price", color=color.orange)
ITMScript
//@itmscript 2
study("Daily weighted price", overlay=true)
vw = ta.vwap(hlc3, reset=day)
plot(vw, "Weighted price", color=color.orange)

Report: 1 converted, 1 with a note, 0 refused, 0 dropped.

  • The source resets the average on each session. Here it resets on each day.

A timeframe chosen by an input

An input that picks the timeframe feeds a declared series. The input stays an input and the series follows it.

Pine Script
//@version=5
// The close of the last completed bar of a timeframe chosen by an input, read with the lookahead option on.
indicator("Prior close, chosen timeframe", overlay=true)

tf = input.timeframe("D", "Timeframe")
priorClose = request.security(syminfo.tickerid, tf, close[1], lookahead=barmerge.lookahead_on)
plot(priorClose, "Prior close", color=color.orange)
ITMScript
//@itmscript 2
study("Prior close, chosen timeframe", overlay=true)
tf = input.timeframe("1d", "Timeframe")
tf_bars = series(timeframe=tf)
priorClose = tf_bars.close
plot(priorClose, "Prior close", color=color.orange)

Report: 2 converted, 2 with a note, 0 refused, 0 dropped.

  • The frequency of a series is an input here. The chart has to serve the frequency that is chosen.
  • On the last bar of each period the series moves on to the period that has just closed. The source is still one period behind. The mapping assumes a chart finer than the chosen frequency.

A switch over a choice

A text input with a list of options becomes a choice. A switch on it becomes a chain of comparisons with the options, and the default is the last branch.

Pine Script
//@version=5
// A switch over a text choice picks the kind of average, with a plain close as the default.
indicator("Average by kind", overlay=true)

kind = input.string("Weighted", "Kind", options=["Simple", "Exponential", "Weighted"])
span = input.int(34, "Span", minval=2)
trend = switch kind
    "Simple" => ta.sma(close, span)
    "Exponential" => ta.ema(close, span)
    "Weighted" => ta.wma(close, span)
    => close
plot(trend, "Trend", color=color.navy)
ITMScript
//@itmscript 2
study("Average by kind", overlay=true)
kind = input.choice("Weighted", ["Simple", "Exponential", "Weighted"], "Kind")
span = input.int(34, "Span", min=2, max=10000)
trend = kind == "Simple" ? ta.sma(close, span) : (kind == "Exponential" ? ta.ema(close, span) : (kind == "Weighted" ? ta.wma(close, span) : close))
plot(trend, "Trend", color=color.navy)

Report: 2 converted, 2 with a note, 0 refused, 0 dropped.

  • A text input with a list of options became a choice input. It compares with one of its options, and the comparison picks a value.
  • The average starts from the mean of the first window. The source script starts from the first value. Later values agree. For the same start, use ta.ewm(x, 2 / (len + 1)).

A function written under the arrow

A function written on the lines under => converts, and so does the switch inside it. The choice is passed in as an argument.

Pine Script
//@version=5
// A function picks the kind of average with a switch over the choice it is given. The dropdown is passed in as an argument.
indicator("Chosen average band", overlay=true)

kind = input.string("EMA", "Average", options=["SMA", "EMA", "RMA", "WMA"])
len = input.int(20, "Length", minval=2)
width = input.float(2.0, "Width", minval=0.1)

average(source, length, mode) =>
    switch mode
        "SMA" => ta.sma(source, length)
        "EMA" => ta.ema(source, length)
        "RMA" => ta.rma(source, length)
        => ta.wma(source, length)

basis = average(close, len, kind)
spread = width * ta.stdev(close, len)
plot(basis, "Basis", color=color.blue)
plot(basis + spread, "Upper", color=color.gray)
plot(basis - spread, "Lower", color=color.gray)
ITMScript
//@itmscript 2
study("Chosen average band", overlay=true)
kind = input.choice("EMA", ["SMA", "EMA", "RMA", "WMA"], "Average")
len = input.int(20, "Length", min=2, max=10000)
width = input.float(2.0, "Width", min=0.1)
average(source, length, mode) => mode == "SMA" ? ta.sma(source, length) : (mode == "EMA" ? ta.ema(source, length) : (mode == "RMA" ? ta.rma(source, length) : ta.wma(source, length)))
basis = average(close, len, kind)
spread = width * ta.stdev(close, len)
plot(basis, "Basis", color=color.blue)
plot(basis + spread, "Upper", color=color.gray)
plot(basis - spread, "Lower", color=color.gray)

Report: 7 converted, 2 with a note, 0 refused, 0 dropped.

  • A text input with a list of options became a choice input. It compares with one of its options, and the comparison picks a value.
  • The average starts from the mean of the first window. The source script starts from the first value. Later values agree. For the same start, use ta.ewm(x, 2 / (len + 1)).

Typed parameters and a default

The type words are dropped. A parameter default is kept, and a call may leave that argument out.

Pine Script
//@version=5
// A helper whose parameters carry a qualifier and a type, the last one with a default.
indicator("Typed helper parameters", overlay=false)

spread(series float a, series float b, simple int n, series float gain = 1.0) =>
    gain * (ta.sma(a, n) - ta.sma(b, n))

plot(spread(close, open, 14), "Spread", color=color.teal)
plot(spread(high, low, 14, 0.5), "Half range", color=color.gray)
ITMScript
//@itmscript 2
study("Typed helper parameters", overlay=false)
spread(a, b, n, gain=1.0) => gain * (ta.sma(a, n) - ta.sma(b, n))
plot(spread(close, open, 14), "Spread", color=color.teal)
plot(spread(high, low, 14, 0.5), "Half range", color=color.gray)

Report: 3 converted, 0 with a note, 0 refused, 0 dropped.

An if chain over a plain variable

Each branch sets the same name. The chain becomes one new name that holds a condition for each branch, and later lines read the new name. With no else, the name keeps its earlier value.

Pine Script
//@version=5
// A name set by an if chain at the top level. With no else the name keeps its earlier value.
indicator("Gap direction")

float dir = 0
if close > high[1]
    dir := 1
else if close < low[1]
    dir := -1
plot(dir, "Gap direction", color=color.orange)
plot(ta.ema(dir, 5), "Smoothed", color=color.purple)
ITMScript
//@itmscript 2
study("Gap direction", overlay=false)
dir = 0
dir2 = close > high[1] ? 1 : (close < low[1] ? -1 : dir)
plot(dir2, "Gap direction", color=color.orange)
plot(ta.ema(dir2, 5), "Smoothed", color=color.purple)

Report: 3 converted, 1 with a note, 0 refused, 0 dropped.

  • The average starts from the mean of the first window. The source script starts from the first value. Later values agree. For the same start, use ta.ewm(x, 2 / (len + 1)).

A shift from an input

A plot drawn ahead by an input, or by arithmetic over it, converts. The colour of the fill follows the bars. A shift backward has no form, so that plot is refused and the rest converts.

Pine Script
//@version=5
// Two lead lines drawn ahead by an input, the band between them, and a lag line that would be drawn back.
indicator("Lead band by input", overlay=true)

fastLen = input.int(10, "Fast")
slowLen = input.int(30, "Slow")
ahead = input.int(26, "Bars ahead")

mid(n) => math.avg(ta.lowest(low, n), ta.highest(high, n))
leadA = math.avg(mid(fastLen), mid(slowLen))
leadB = mid(slowLen)
pa = plot(leadA, "Lead A", color=color.green, offset=ahead - 1)
pb = plot(leadB, "Lead B", color=color.red, offset=ahead - 1)
fill(pa, pb, color=leadA > leadB ? color.new(color.green, 85) : color.new(color.red, 85))
plot(close, "Lag", color=color.gray, offset=-ahead + 1)
ITMScript
//@itmscript 2
study("Lead band by input", overlay=true)
fastLen = input.int(10, "Fast")
slowLen = input.int(30, "Slow")
ahead = input.int(26, "Bars ahead", min=1, max=500)
mid(n) => math.avg(ta.lowest(low, n), ta.highest(high, n))
leadA = math.avg(mid(fastLen), mid(slowLen))
leadB = mid(slowLen)
pa = plot(leadA, "Lead A", color=color.green, offset=ahead - 1)
pb = plot(leadB, "Lead B", color=color.red, offset=ahead - 1)
fill(pa, pb, color=leadA > leadB ? color.new(color.green, 85) : color.new(color.red, 85))
// refused convert-plot-offset: plot(close, "Lag", color=color.gray, offset=-ahead + 1). A plot is not drawn back. Draw the mark on the bar that confirms it, without the offset, or read the earlier value with x[n].

Report: 9 converted, 0 with a note, 1 refused, 0 dropped.

  • A shift is a whole number from 0 to 500 at the defaults of its inputs, and this one is not known.

An input with a negative bound

A range that runs below zero is kept as written.

Pine Script
//@version=5
// An input whose range runs below zero, kept as written.
indicator("Signed input range", overlay=false)

bias = input.int(-25, "Bias", minval=-100, maxval=0)
plot(ta.roc(close, 10) + bias, "Biased change", color=color.teal)
ITMScript
//@itmscript 2
study("Signed input range", overlay=false)
bias = input.int(-25, "Bias", min=-100, max=0)
plot(ta.roc(close, 10) + bias, "Biased change", color=color.teal)

Report: 2 converted, 0 with a note, 0 refused, 0 dropped.

A strategy

Orders are refused. The indicator logic around them still converts.

Pine Script
//@version=5
// A crossing system that places orders.
strategy("Crossing system", overlay=true)

fast = ta.sma(close, 10)
slow = ta.sma(close, 30)
strategy.entry("Long", strategy.long, when=ta.crossover(fast, slow))
plot(fast, "Fast")
plot(slow, "Slow")
ITMScript
//@itmscript 2
study("Crossing system", overlay=true)
// refused convert-strategy: strategy("Crossing system", overlay=true). Convert the indicator logic as a study. Mark entries and exits with `plotshape` or `alertcondition`.
fast = ta.sma(close, 10)
slow = ta.sma(close, 30)
// refused convert-strategy: strategy.entry("Long", strategy.long, when=ta.crossover(fast, slow)). Convert the indicator logic as a study. Mark entries and exits with `plotshape` or `alertcondition`.
plot(fast, "Fast")
plot(slow, "Slow")

Report: 4 converted, 0 with a note, 2 refused, 0 dropped.

  • strategy cannot be converted. A strategy places simulated orders. An ITMScript study draws an indicator and never trades.
  • strategy.entry cannot be converted. A strategy places simulated orders. An ITMScript study draws an indicator and never trades.

Functions and names

Every function and built-in name the converter knows. A call has arguments. A name is read as it stands.

Pine ScriptFormBecomesMatchNote
ta.accdistNameta.accdist()Same
ta.iiiNameta.iii()Same
ta.nviNameta.nvi()Same
ta.obvNameta.obv()Same
ta.pviNameta.pvi()Same
ta.pvtNameta.pvt()Same
ta.wadNameta.wad()Same
ta.wvadNameta.wvad()Same
ta.trNameta.tr()Same
ta.trCallta.trSame
ta.almaCallta.almaCloseThe floor option is not supported. A script that turns it on is refused.
ta.atrCallta.atrSame
ta.barssinceCallta.barssinceSame
ta.bbCallta.bbSame
ta.bbwCallta.bbwSame
ta.cciCallta.cciSame
ta.changeCallta.changeCloseA change of a condition was written as ta.change(cond ? 1 : 0, len) != 0. A change of a text value is not supported.
ta.cmoCallta.cmoSame
ta.cogCallta.cogSame
ta.correlationCallta.correlationSame
ta.crossCallta.crossSame
ta.crossoverCallta.crossoverSame
ta.crossunderCallta.crossunderSame
ta.cumCallta.cumSame
ta.devCallta.devSame
ta.dmiCallta.dmiSame
ta.emaCallta.emaCloseThe average starts from the mean of the first window. The source script starts from the first value. Later values agree. For the same start, use ta.ewm(x, 2 / (len + 1)).
ta.fallingCallta.fallingCloseThis language tests that the series fell on each of the last N bars. The source script may test the current value against the window. Check the result against the original.
ta.highestCallta.highestSame
ta.highestbarsCallta.highestbarsCloseThe source script returns a negative offset. This language counts bars as a positive number. The sign was flipped.
ta.hmaCallta.hmaSame
ta.kcCallta.kcCloseWith the true range switched off, the width of the channel is the smoothed average of high minus low. A gap between bars does not widen it.
ta.kcwCallta.kcwCloseWith the true range switched off, the width is written out from its definition, because the operator has no such option.
ta.linregCallta.linregSame
ta.lowestCallta.lowestSame
ta.lowestbarsCallta.lowestbarsCloseThe source script returns a negative offset. This language counts bars as a positive number. The sign was flipped.
ta.macdCallta.macdCloseThe averages inside start from the mean of the first window. The source script starts from the first value. Early values can differ. Later values agree.
ta.maxCallta.maxSame
ta.medianCallta.medianSame
ta.mfiCallta.mfiSame
ta.minCallta.minSame
ta.modeCallNot convertedNot yetWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
ta.momCallta.momSame
ta.percentile_linear_interpolationCallta.percentile_linear_interpolationSame
ta.percentile_nearest_rankCallta.percentile_nearest_rankSame
ta.percentrankCallta.percentrankSame
ta.pivot_point_levelsCallNot convertedNot yetDeclare d = series(timeframe="1d") and write the levels from d.high, d.low and d.close. convert-unknown-call
ta.pivothighCallta.pivothighSame
ta.pivotlowCallta.pivotlowSame
ta.rangeCallta.highestCloseThe range of a series over a window is the highest value minus the lowest value. It was written that way.
ta.rciCallta.rciSame
ta.risingCallta.risingCloseThis language tests that the series rose on each of the last N bars. The source script may test the current value against the window. Check the result against the original.
ta.rmaCallta.rmaSame
ta.rocCallta.rocSame
ta.rsiCallta.rsiCloseThe smoothing of gains and losses starts from the mean of the first window. Early values can differ from the source script. Later values agree.
ta.sarCallta.sarSame
ta.smaCallta.smaSame
ta.stdevCallta.stdevCloseThe unbiased form was written as ta.stdev(x, len) * math.sqrt(len / (len - 1)).
ta.stochCallta.stochCloseThe source script passes high and low as arguments. This language reads them from the bars. Other series are written out as a formula.
ta.supertrendCallta.supertrendSame
ta.swmaCallta.swmaSame
ta.tsiCallta.tsiCloseThis language scales the index by 100. The value was divided by 100 to match the source script.
ta.valuewhenCallta.valuewhenSame
ta.varianceCallta.varianceCloseThe unbiased form was multiplied by len / (len - 1).
ta.vwapCallta.vwapCloseThe source resets the average on each session. Here it resets on each day.
ta.vwapNameta.vwap(hlc3, reset=day)CloseThe source resets the average on each session. Here it resets on each day.
ta.vwmaCallta.vwmaSame
ta.wmaCallta.wmaSame
ta.wprCallta.wprSame
math.absCallmath.absSame
math.acosCallmath.acosSame
math.asinCallmath.asinSame
math.atanCallmath.atanSame
math.ceilCallmath.ceilSame
math.cosCallmath.cosSame
math.expCallmath.expSame
math.floorCallmath.floorSame
math.logCallmath.logSame
math.log10Callmath.log10Same
math.signCallmath.signSame
math.sinCallmath.sinSame
math.sqrtCallmath.sqrtSame
math.tanCallmath.tanSame
math.todegreesCallmath.todegreesSame
math.toradiansCallmath.toradiansSame
math.powCallmath.powSame
math.avgCallmath.avgClosemath.avg takes two arguments here. More were averaged as their sum divided by their count.
math.maxCallmath.maxClosemath.max takes two arguments here. More were nested.
math.minCallmath.minClosemath.min takes two arguments here. More were nested.
math.eNamemath.e()Closemath.e is a call here. It was written math.e().
math.piNamemath.pi()Closemath.pi is a call here. It was written math.pi().
math.phiName1.618033988749895Closemath.phi was written as its value.
math.rphiName0.6180339887498949Closemath.rphi was written as its value.
math.roundCallmath.roundCloseHalves round away from zero here. A precision was written as a scaling by a power of ten.
math.atan2CallNot convertedRefusedThe source language has no two-argument arctangent, so there is nothing to convert. Write math.atan2(y, x) directly in ITMScript. convert-unknown-call
math.sumCallta.sumClosemath.sum is ta.sum here.
math.randomCallNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
math.round_to_mintickCallNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
nzCallnzSame
naCallnaSame
fixnanCallfixnanSame
openNameopenSame
highNamehighSame
lowNamelowSame
closeNamecloseSame
volumeNamevolumeSame
hl2Namehl2Same
hlc3Namehlc3Same
ohlc4Nameohlc4Same
hlcc4Name(high + low + close + close) / 4Closehlcc4 is not a source field. It was written as (high + low + close + close) / 4.
bar_indexNamebar_indexClosebar_index counts from the first bar of the run, not from the first bar of the chart.
naNamenaSame
timeNametimeSame
time_closeNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
time_tradingdayNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
last_bar_indexNameNot convertedRefusedRead the previous bar with x[1] and accept the one bar delay. convert-lookahead
last_bar_timeNameNot convertedRefusedRead the previous bar with x[1] and accept the one bar delay. convert-lookahead
barstate.isfirstNamebar_index == 0Closebarstate.isfirst was written bar_index == 0. The count starts at the first bar of the run.
barstate.islastNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
barstate.islastconfirmedhistoryNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
barstate.isconfirmedNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
barstate.isnewNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
barstate.isrealtimeNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
barstate.ishistoryNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
timeframe.periodNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.multiplierNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.issecondsNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.isminutesNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.isintradayNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.isdailyNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.isweeklyNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.ismonthlyNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.isdwmNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.main_periodNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.changeCallsession.isfirstbarCloseIt is true on the regular session's first bar on this chart. The source is true on the first bar of the day, extended hours included.
timeframe.in_secondsCallNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
syminfo.tickeridNameNot convertedRefusedDeclare the symbol with series(symbol=...). convert-instrument-meta
syminfo.tickerNameNot convertedRefusedDeclare the symbol with series(symbol=...). convert-instrument-meta
syminfo.mintickNameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
syminfo.pointvalueNameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
syminfo.currencyNameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
syminfo.timezoneNameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
syminfo.sessionNameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
syminfo.typeNameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
dayofweekNamedayofweekSame
hourNamehourSame
minuteNameminuteSame
monthNamemonthSame
yearNameyearSame
dayofmonthNamedayofmonthSame
weekofyearNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
secondNameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
dayofweek.sundayName1Same
dayofweek.mondayName2Same
dayofweek.tuesdayName3Same
dayofweek.wednesdayName4Same
dayofweek.thursdayName5Same
dayofweek.fridayName6Same
dayofweek.saturdayName7Same
session.ismarketNamesession.ismarketSame
session.ispremarketNamesession.ispremarketSame
session.ispostmarketNamesession.ispostmarketSame
session.isfirstbar_regularNamesession.isfirstbarSame
session.islastbar_regularNamesession.islastbarSame
session.isfirstbarNamesession.isfirstbarCloseThe first bar counts from the regular open. The source counts from the first bar of the day, extended hours included.
session.islastbarNamesession.islastbarCloseThe last bar ends at the regular close. The source counts to the last bar of the day, extended hours included.
timenowNameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
chart.bg_colorNameNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
dividends.grossNameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
earnings.grossNameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
splits.grossNameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.security_lower_tfCallNot convertedRefusedRun the study on the finer chart and declare the coarser series with series(timeframe=...). convert-security-lower-tf
request.financialCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.economicCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.earningsCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.dividendsCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.splitsCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.quandlCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.seedCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.footprintCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.currency_rateCallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
str.tostringCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.tonumberCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.formatCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.containsCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.replaceCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.splitCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.substrCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.upperCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.lowerCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.lengthCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.trimCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.startswithCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.endswithCallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
strategy.entryCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.orderCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.exitCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.closeCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.close_allCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.cancelCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.cancel_allCallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
label.newCallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
line.newCallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
box.newCallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
table.newCallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
linefill.newCallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
polyline.newCallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
array.*CallNot convertedRefusedUse a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values. convert-collection
array.*NameNot convertedRefusedUse a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values. convert-collection
matrix.*CallNot convertedRefusedUse a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values. convert-collection
matrix.*NameNot convertedRefusedUse a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values. convert-collection
map.*CallNot convertedRefusedUse a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values. convert-collection
map.*NameNot convertedRefusedUse a rolling window over the series. For example ta.highest(x, N) replaces a scan of an array of the last N values. convert-collection
str.*CallNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
str.*NameNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
strategy.*CallNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
strategy.*NameNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
request.*CallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
request.*NameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
label.*CallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
label.*NameNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
line.*CallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
line.*NameNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
box.*CallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
box.*NameNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
table.*CallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
table.*NameNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
linefill.*CallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
linefill.*NameNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
polyline.*CallNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
polyline.*NameNot convertedRefusedPlot the level as a series with plot or hline. Use value or events for a table of numbers. convert-drawing
barstate.*CallNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
barstate.*NameNot convertedRefusedRemove the value, or replace it with a fixed input. convert-nondeterministic
timeframe.*CallNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
timeframe.*NameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
session.*CallNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
session.*NameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
syminfo.*CallNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
syminfo.*NameNot convertedRefusedEnter the value as an input.float and set it for the instrument. convert-instrument-meta
dayofweek.*CallNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
dayofweek.*NameNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
dividends.*CallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
dividends.*NameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
earnings.*CallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
earnings.*NameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
splits.*CallNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
splits.*NameNot convertedRefusedUse a price series declared with series(symbol=...), or enter the value as an input.float. convert-request-feed
chart.*CallNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
chart.*NameNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
color.newCallcolor.newSame
color.rgbCallcolor.newCloseA colour built from numbers was written as a hex colour.
color.from_gradientCallNot convertedNot yetChoose between constant colours with a condition, such as rsi > 50 ? color.green : color.red. convert-series-color
color.rCallNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
color.gCallNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
color.bCallNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call
color.tCallNot convertedRefusedWrite the calculation with ITMScript operators, or remove the line. convert-unknown-call

Statements and inputs

Declarations, inputs, outputs, control flow and the forms the converter lowers itself. Match words are as above.

Pine ScriptBecomesMatchNote
intx >= 0 ? math.floor(x) : math.ceil(x)Closeint truncates toward zero. It was written as the floor of a positive value and the ceiling of a negative one.
floatxClosefloat returns its argument unchanged.
boolx != 0Closebool was written as a test that the value is not zero.
//@version//@itmscript 2Same
indicatorstudySame
strategyNot convertedRefusedConvert the indicator logic as a study. Mark entries and exits with plotshape or alertcondition. convert-strategy
libraryNot convertedRefusedPaste the library's functions into the script, or write them as functions. convert-library
importNot convertedRefusedPaste the library's functions into the script, or write them as functions. convert-library
exportNot convertedRefusedPaste the library's functions into the script, or write them as functions. convert-library
varNot convertedNot yetWrite the recurrence by hand with scan(x, init, f), or use an operator such as ta.ema, ta.cum, latch or hold. convert-state
varipNot convertedRefusedCompute the value once per bar. Use ta.* operators and x[1] for history. convert-varip
:=Not convertedNot yetWrite the recurrence by hand with scan(x, init, f), or use an operator such as ta.ema, ta.cum, latch or hold. convert-state
ifNot convertedNot yetWrite the value as a ternary, cond ? a : b, with one expression for each branch. convert-parse
switchNot convertedNot yetWrite the value as a ternary, cond ? a : b, with one expression for each branch. convert-parse
forNot convertedRefusedUse a rolling operator with a fixed window, such as ta.sma(x, N) or ta.highest(x, N). convert-loop-unbounded
whileNot convertedRefusedUse a rolling operator with a fixed window, such as ta.sma(x, N) or ta.highest(x, N). convert-loop-unbounded
methodNot convertedNot yetWrite a function and call it with its argument. convert-parse
typeNot convertedRefusedUser types are not supported. Use separate names for each value. convert-parse
enumNot convertedRefusedUser types are not supported. Use a choice input or separate names. convert-parse
request.securityseries(symbol=, timeframe=)CloseA request for another symbol or timeframe was written as a series declaration and reads of its fields. Live bars show the last completed bar. The source shows the forming one.
log.infoDroppedCloseA log line has no effect on values.
log.warningDroppedCloseA log line has no effect on values.
log.errorDroppedCloseA log line has no effect on values.
runtime.errorDroppedCloseA runtime.error call has no effect on values.
max_bars_backDroppedCloseThe history depth is set by the windows used.
input.intinput.intSame
input.floatinput.floatSame
input.boolinput.boolSame
input.sourceinput.sourceSame
input.colorinput.colorSame
input.stringinput.choiceCloseA text input with a list of options became a choice input. It compares with one of its options, and the comparison picks a value.
input.timeframeinput.timeframeCloseThe frequency of a series is an input here. The chart has to serve the frequency that is chosen.
input.symbolinput.symbolCloseThe symbol of a series is an input here. It can be changed in the settings.
input.sessionNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
input.timeNot convertedNot yetUse a calendar field such as hour or session.ismarket, a reset= word, or one study for each timeframe. convert-calendar
input.priceinput.floatCloseThe price input became a number input. Clicking a price on the chart is not available.
input.text_areaNot convertedRefusedCompare numbers or conditions instead of text. Keep text for titles and labels. convert-string-op
input.enumNot convertedRefusedUser types are not supported. Use a choice input. convert-parse
inputinput.floatCloseAn untyped input took its kind from its default value.
plotplotSame
hlinehlineSame
fillfillSame
bgcolorbgcolorSame
alertconditionalertconditionSame
plotshapeplotshapeSame
plot.offsetoffsetSame
plotcharplotshapeCloseplotchar was written as plotshape with a text label.
plotarrowplotshapeCloseplotarrow was written as two shapes, an up arrow and a down arrow.
alertNot convertedNot yetUse alertcondition(condition, "Title", "Message") with the condition that fires the alert. convert-unknown-call
plotcandleNot convertedNot yetUse plotshape markers, or tint the background with bgcolor. convert-host-visual
plotbarNot convertedNot yetUse plotshape markers, or tint the background with bgcolor. convert-host-visual
barcolorNot convertedNot yetUse plotshape markers, or tint the background with bgcolor. convert-host-visual

Constants

Colours, plot styles, marker styles and locations. The names on the right are listed on the colours and styles page.

Pine ScriptBecomesMatchNote
color.aquacolor.aquaSame
color.blackcolor.blackSame
color.bluecolor.blueSame
color.fuchsiacolor.fuchsiaSame
color.graycolor.graySame
color.greencolor.greenSame
color.limecolor.limeSame
color.marooncolor.maroonSame
color.navycolor.navySame
color.olivecolor.oliveSame
color.orangecolor.orangeSame
color.purplecolor.purpleSame
color.redcolor.redSame
color.silvercolor.silverSame
color.tealcolor.tealSame
color.whitecolor.whiteSame
color.yellowcolor.yellowSame
plot.style_linelineSame
plot.style_histogramhistogramSame
plot.style_areaareaSame
plot.style_columnscolumnsSame
plot.style_steplinesteplineSame
plot.style_circlescirclesSame
plot.style_crosscrossSame
plot.style_linebrlineCloseThe line break at a gap is not drawn. A line was used.
plot.style_areabrareaCloseThe break at a gap is not drawn. An area was used.
plot.style_stepline_diamondsteplineCloseThe diamond markers are not drawn. A step line was used.
shape.triangleuptriangleupSame
shape.triangledowntriangledownSame
shape.arrowuparrowupSame
shape.arrowdownarrowdownSame
shape.circlecircleSame
shape.labeluplabelCloseA label marker was used.
shape.labeldownlabelCloseA label marker was used.
shape.xcrosscircleCloseThis shape is not available. A circle was used.
shape.crosscircleCloseThis shape is not available. A circle was used.
shape.diamondcircleCloseThis shape is not available. A circle was used.
shape.squarecircleCloseThis shape is not available. A circle was used.
shape.flagcircleCloseThis shape is not available. A circle was used.
location.abovebarabovebarSame
location.belowbarbelowbarSame
location.absoluteabsoluteSame
location.topabsoluteCloseThe top of the pane is not available. An absolute location was used.
location.bottomabsoluteCloseThe bottom of the pane is not available. An absolute location was used.
hline.style_solidsolidSame
hline.style_dasheddashedSame
hline.style_dotteddottedSame
display.nonenoneSame