All matrix functions (40+) are not yet implemented (π΄). This includes creation, element access, modification, statistical, operations, linear algebra, properties, and sorting.
15. Plots
Function
Status
Description
plot()
β
Plot a series
hline()
β
Horizontal line
plotchar()
β
Plot character markers
plotshape()
β
Plot shape markers
plotarrow()
π΄
Plot arrow markers
plotbar()
π΄
Plot bar chart
plotcandle()
π΄
Plot candlestick chart
barcolor()
β
Set bar color
bgcolor()
β
Set background color
16. Request
Function
Status
Description
request.security()
β
Multi-timeframe/cross-symbol data (simple OHLCV fields)
request.security_lower_tf()
π΅
Lower timeframe data
request.currency_rate()
π΄
Currency rate
request.splits()
π΄
Splits data
17. String
Query
Function
Status
str.contains()
β
str.endswith()
β
str.length()
β
str.match()
π‘ (substring only, no regex)
str.pos()
β
str.startswith()
β
Formatting
Function
Status
str.format()
β
str.format_time()
β
Transformation
Function
Status
str.lower()
β
str.repeat()
β
str.replace()
β
str.replace_all()
β
str.trim()
β
str.upper()
β
Parsing & Conversion
Function
Status
str.split()
π΅
str.substring()
β
str.tonumber()
β
str.tostring()
β
18. Strategy
Declaration
Function
Status
strategy()
β
Order Functions
Function
Status
Description
strategy.entry()
β
Submit entry order
strategy.close()
β
Close by entry ID
strategy.close_all()
β
Close all positions
strategy.exit()
β
Set SL/TP exit
strategy.order()
β
Submit generic order
strategy.cancel()
β
Cancel pending order
strategy.cancel_all()
β
Cancel all pending
Properties
Property
Status
strategy.position_size
β
strategy.position_avg_price
β
strategy.equity
β
strategy.openprofit
β
strategy.netprofit
β
strategy.initial_capital
β
strategy.closedtrades
β
strategy.opentrades
β
strategy.wintrades
β
strategy.losstrades
β
strategy.grossprofit
π΅
strategy.grossloss
π΅
strategy.max_drawdown
π΅
Constants
Constant
Status
strategy.long
β
strategy.short
β
Trade History Functions
All strategy.closedtrades.* and strategy.opentrades.* functions (14 total) are planned (π΅).
19. Table
Cell Operations
Function
Status
table.cell()
β
table.cell_set_bgcolor()
β
table.cell_set_height()
β
table.cell_set_text()
β
table.cell_set_text_color()
β
table.cell_set_text_halign()
β
table.cell_set_text_size()
β
table.cell_set_text_valign()
β
table.cell_set_tooltip()
β
table.cell_set_width()
β
table.merge_cells()
π΅
Management
Function
Status
table.new()
β
table.clear()
β
table.delete()
β
Settings
Function
Status
table.set_bgcolor()
β
table.set_border_color()
β
table.set_border_width()
β
table.set_frame_color()
β
table.set_frame_width()
β
table.set_position()
β
20. Technical Analysis
Moving Averages
Function
Status
Description
ta.vwap
β
Volume Weighted Average Price (variable)
ta.alma()
β
Arnaud Legoux MA
ta.ema()
β
Exponential Moving Average
ta.hma()
β
Hull Moving Average
ta.linreg()
β
Linear Regression
ta.rma()
β
Rolling Moving Average
ta.sma()
β
Simple Moving Average
ta.swma()
β
Symmetrically Weighted MA
ta.vwap()
β
Volume Weighted Average Price
ta.vwma()
β
Volume Weighted MA
ta.wma()
β
Weighted Moving Average
Oscillators & Momentum
Function
Status
Description
ta.cci()
β
Commodity Channel Index
ta.change()
β
Price Change
ta.cmo()
β
Chande Momentum Oscillator
ta.cog()
β
Center of Gravity
ta.macd()
β
MACD
ta.mfi()
β
Money Flow Index
ta.mom()
β
Momentum
ta.roc()
β
Rate of Change
ta.rsi()
β
Relative Strength Index
ta.stoch()
β
Stochastic
ta.tsi()
β
True Strength Index
ta.wpr()
β
Williams %R
Volatility & Range
Function
Status
Description
ta.tr
β
True Range (variable)
ta.atr()
β
Average True Range
ta.bb()
β
Bollinger Bands
ta.bbw()
β
Bollinger Bands Width
ta.dev()
β
Mean Absolute Deviation
ta.kc()
β
Keltner Channels
ta.kcw()
β
Keltner Channels Width
ta.range()
β
Range
ta.stdev()
β
Standard Deviation
ta.tr()
β
True Range (function)
ta.variance()
β
Variance
Volume Indicators
Function
Status
Description
ta.accdist
β
Accumulation/Distribution (variable)
ta.iii
β
Intraday Intensity Index (variable)
ta.nvi
β
Negative Volume Index (variable)
ta.obv
β
On-Balance Volume (variable)
ta.pvi
β
Positive Volume Index (variable)
ta.pvt
β
Price-Volume Trend (variable)
ta.wad
β
Williams Accumulation/Distribution (variable)
ta.wvad
β
Williams Variable Accumulation/Distribution (variable)
Trend Analysis
Function
Status
Description
ta.cross()
β
Cross (either direction)
ta.crossover()
β
Crossover
ta.crossunder()
β
Crossunder
ta.dmi()
β
Directional Movement Index
ta.falling()
β
Falling Detection
ta.rising()
β
Rising Detection
ta.sar()
β
Parabolic SAR
ta.supertrend()
β
SuperTrend
Statistical
Function
Status
Description
ta.correlation()
β
Correlation Coefficient
ta.highest()
β
Highest Value
ta.highestbars()
β
Bars Since Highest
ta.lowest()
β
Lowest Value
ta.lowestbars()
β
Bars Since Lowest
ta.max()
β
Maximum Value
ta.median()
β
Median Value
ta.min()
β
Minimum Value
ta.mode()
β
Mode Value
ta.percentile_linear_interpolation()
β
Percentile (Linear)
ta.percentile_nearest_rank()
β
Percentile (Nearest Rank)
ta.percentrank()
β
Percentile Rank
Utility
Function
Status
Description
ta.barssince()
β
Bars Since Condition
ta.cum()
β
Cumulative Sum
ta.rci()
β
Rank Correlation Index
ta.valuewhen()
β
Value When Condition Met
Support & Resistance
Function
Status
Description
ta.pivothigh()
β
Pivot High
ta.pivotlow()
β
Pivot Low
ta.pivot_point_levels()
β
Pivot Point Levels
21. Timeframe
Type Checks
Property
Status
timeframe.isdaily
β
timeframe.isdwm
β
timeframe.isintraday
β
timeframe.isminutes
β
timeframe.ismonthly
β
timeframe.isseconds
β
timeframe.isticks
β
timeframe.isweekly
β
Properties
Property
Status
timeframe.main_period
π΄
timeframe.multiplier
β
timeframe.period
β
Functions
Function
Status
timeframe.change()
β
timeframe.from_seconds()
π΄
timeframe.in_seconds()
β
22. Syminfo
Property
Status
syminfo.tickerid
β
syminfo.ticker
β
syminfo.mintick
β
syminfo.pointvalue
β
syminfo.currency
β
syminfo.basecurrency
β
syminfo.description
β
syminfo.type
β
syminfo.timezone
β
syminfo.session
β
syminfo.volumetype
β
23. User-Defined Types
Feature
Status
type declaration
β
TypeName.new()
β
Field access obj.field
β
Field assignment :=
β
var persistence
β
na handling
β
obj.copy()
β
Method calls
β
array<UDT> fields
π΅
24. User-Defined Functions
Feature
Status
Single-line f(x) => expr
β
Multi-line block body
β
Default parameters
β
Named arguments
β
Nested function calls
β
var/varip in functions
β
Recursion guard (max 50)
β
method keyword
β
export keyword
β (skipped, no library support)
25. Operators
Operator
Status
+-*/%
β
==!=><>=<=
β
andornot
β
=:=+=-=*=/=
β
[] (series access)
β
26. Constants & Types
Barmerge
Constant
Status
barmerge.gaps_off
β
barmerge.gaps_on
β
barmerge.lookahead_off
β
barmerge.lookahead_on
β
Extend
Constant
Status
extend.both
β
extend.left
β
extend.none
β
extend.right
β
Position
Constant
Status
position.bottom_center
β
position.bottom_left
β
position.bottom_right
β
position.middle_center
β
position.middle_left
β
position.middle_right
β
position.top_center
β
position.top_left
β
position.top_right
β
Size
Constant
Status
size.auto
β
size.huge
β
size.large
β
size.normal
β
size.small
β
size.tiny
β
Hline Styles
Constant
Status
hline.style_dashed
β
hline.style_dotted
β
hline.style_solid
β
Text Alignment
Constant
Status
text.align_center
β
text.align_left
β
text.align_right
β
Categories Not Yet Started
The following categories are entirely not yet implemented (π΄):
Chart β chart.* (properties, type detection, visible range, chart points)