Formulas and Scripting Functions

A list of functions which can be used in Optuma Scripting formulas.


Absolute Value Function - ABS()

Accumulation Function - ACC()

Accumulation Since Signal Function - ACCSINCESIGNAL()

Anchored VWAP function - AVWAP()

Astro Scripting Functions

BARCOUNT() Function

BARDATE() and STRINGDATA() Functions

BARINDEX() Function

BARTYPES() Function

BARSTRUE() Function

CHANGE() Function

CANDLESTICKPATTERN() Function

CHANGESINCESIGNAL() Function

Correlation Function - CRL()

COUNTMATCHSINCESIGNAL() Function

Currency Conversion - FX()

DAYNUM(), MONTHNUM(), and YEARNUM()

DAYOFWEEK() Function

DIFFPCT() Function

DATAFIELD() Function

Days Up and Days Down Functions

FIRST() Function

FLOOR() Function

GANNSWING() Function

Gap Finder Function - GAP()

GETDATA() Function

GoNoGo Functions

Heikin-Ashi Candlestick Function - HAC()

HIDDEN() Function

HIGHESTHIGH() Function

ISMEMBER() Function

ISTICKER() Function

LAST() Function

Linear Regression Function - LRVAL()

LOWESTLOW() Function

MATCHFUNFIELD() Function

MAX() and MIN() Functions

MOD() Function

Multiple Output Plots

NEARESTALERT() Function

NOREPEAT() Function

NONZERO() Function

OFFSET() Function (and Square Bracket Syntax)

PARENT() Function

PERFORMANCE() Function

PIVOT() Function

Planetary Difference - PDIFF()

RATCHET() Function

Relative Index Comparison Function - RIC()

ROUNDING() Function

SCRIPT() Function

SHADE() Function

SIGNALAFTER() Function

STOCHSCAN() Function

SECURITY() Function

Show Bar - Scripted Settings

SWINGSTAT() Function

SWINGTRENDUP() and SWINGTRENDDOWN() functions

SWITCH() Function

TIMEFRAME() Function

TIMESINCESIGNAL() Function

Total Return Function - TRET()

VALUEWHEN() Function

VERGENCE() Function

WEIGHT() Function

WITHINRANGE() Function