Skip to content

Optuma Scripting Functions Table

By Optuma Team · Updated 2023-10-05

The following table contains a list of all the functions available in the Optuma formula language. If no adjustments are made within the functions parentheses, Optuma will use the default settings saved for that indicator.

FunctionNameDescription
ABSAbsolute ValueEnsures the value output of the script is a positive number.
ACCAccumulateCombines the values over a selected period (similar to SUM).
ACCBAcceleration BandsAcceleration Bands were created by Price Headley and are mentioned in his book Big Trends in Trading. Acceleration Bands use a period of 20 bars by default, to create an envelope of 2 lines.
ACCSINCESIGNALAccumulate Since SignalTakes two scripts, the first script is the one that is accumulated and the second is a Boolean script that signals a reset of the accumulation.
ADLAccumulation/ DistributionAccumulation Distribution displays the interaction between price and volume and is used to detect divergences between volume and price actions. Accumulation Distribution is an evolution of On Balance Volume, comparing opening and closing prices to the trading range for a set period, with the result used to weight the volume.
ADXAverage Directional Movement IndexThe Average Directional Movement Index is an indicator designed to measure the strength and direction of a trend. The indicator consists of three components: the plus directional indicator (+DI), minus directional indicator (-DI) and the Average Directional indicator.
ALPHAAlphaAlpha (a common measurement of investment performance and risk), compares the return of a security compared to an index or benchmark. A negative Alpha value would mean the security under-performed compared to the benchmark.
AMAAdaptive Moving AverageDeveloped by Perry Kaufman the Adaptive Moving Average is a single average which dynamically varies its own length, typically from a 2-period to a 30-period average, according to the degree of volatility and directionality in the market.
ANRAngle ReturnsThis indicator is based on the concept that angles which occur at a major turning point in the market will continue to have an influence. The Angle Returns tool reviews all the angles of the selected planets at the time of the selected turning point and searches for those same angles in the chart’s entire range (forwards and backwards from the selected point).
ARCCOSArcCosThe arccosine of x is defined as the inverse cosine function of x when -1?x?1.
ARCSINArcSinThe arcsine of x is defined as the inverse sine function of x when -1?x?1.
ARCTANArcTanThe arctangent of x is defined as the inverse tangent function of x when x is real (x??).
AROONAroonThe Aroon indicator was created by Tushar Chande in 1995. The Aroon up and the Aroon down fluctuates between 0 and 100. Values close to 100 represent a strong trend, Values close to 0 represent a weak trend. The lower the Aroon up, the weaker the uptrend, and the stronger the downtrend, and vice versa.
AROONOSCAroon OscillatorThe Aroon Oscillator was created by Tushar Chande. This indicator is designed to display the difference between the two lines which make up the Aroon indicator (Aroon Up and Aroon Down). This is done in an effort to both highlight and measure the strength of a new trend.
ARRAnnual Rate of ReturnUse to calculate the annual rate of return over a user-defined period.
ASPECTSAspectsUsed with the PVAL() function to allow the search of various aspects (Conjunction, Sextile, Square, etc) between two or more planets. Requires the Astro tools.
ASRAspect ReturnsThis indicator is based on the concept that aspects which occur at the point of a major change in trend will continue to influence the market. The Aspect Returns will highlight all the aspects between the selected planets for the date and time of the selected Low / High and searches for those same aspects in the chart’s entire range (forwards and backwards from the selected point).
ATRAverage True RangeAverage True Range is a measure of volatility. Introduced by Welles Wilder, he found that high Average True Range values often occur following a market sell off or “panic”.
ATRTSCANATR Trailing Stop ScanAverage True Range Stop Loss calculation compares the price range for today with the highs and lows of the previous day. The highest of these values (the largest range) is selected as the true average range for the period. This figure is calculated each day.
AUTOCORRAuto CorrelationAuto correlation (also referred to as cross-auto correlation or serial correlation) is the correlation of a chart with itself at different points in time designed to highlight repeating patterns within a chart.
AVBTAverage Volume By TimeThis indicator shows the current day”s volume bars compared to the same bars over a user-defined period. Here”s an example of a 15 minute chart of Microsoft. The shaded area below the current day is the average volume over the past 2 weeks. The red bars indicate where the volume is above the average for that 15 minute period. Requires Intraday Data.
AVWAPAnchored VWAPThe Anchored Volume-Weighted Average Price indicator was developed by Brian Shannon at Alphatrends.net. The Anchored VWAP is applied to a specific bar, and from that point calculates the cumulative value and volume to determine the weighted-average price. These levels can be used to determine important support and resistance levels.
FunctionNameDescription
BARCOUNTBarCountUse this in a Show Plot to calculate an average of all bars being loaded.
BARDATEBarDateThis function takes the date of a bar and converts it into an integer. For example 19-06-2017 = 42902
BARINDEXBarIndexComing Soon
BARROMCONTRATRENDBarroM Contratrend ScanA scan based on the methods of Ray Barros which look for specific movements on the Midos SI and Value Chart indicators.
BARROSAVGVOLBarros Swing Average VolumesThe Barros Swing Average Volume tool, provides an average value for volume of bars contained within an initial, mid or final Barros Swing.
BARROSSWINGBarros SwingThe Barros Swing is a trend indicator and can be used much like Gann Swings. Trading methodology associated with the Barros Swings is accomplished through attending seminars hosted by Ray Barros. For further information on courses offered by Ray Barros, you can visit his website.
BARSTRUEBars TrueUsed in conjunction with a Boolean variable. Will output the total number of bars the boolean criteria has been true over a set lookback period (10 bars by default, but can be adjusted).
BARTYPESBar TypesAllows you to search for specific Bar Types in a script (e.g. Outside Bar, Inside Bar, Higher than Previous Day, etc).
BBBollinger BandsBollinger Bands are based on a standard Moving Average. The actual band lines are offset by a positive and negative standard deviation value from the central moving average value, to provide upper and lower bands.
BBIIBollinger II % Data ListAllows you to perform a scan using the Bollinger II % criteria devised by John Bollinger.
BBOABollinger Break Out Above Data ListAllows you to perform a scan using the Bollinger Break Out Above criteria devised by John Bollinger.
BBOBBollinger Break Out Below Data ListAllows you to perform a scan using the Bollinger Break Out Below criteria devised by John Bollinger.
BBWBollinger BandwidthThe Bollinger Bandwidth gives an indication of how wide the Bollinger Bands are as a function of the middle band. Used to identify the squeeze at low values and the end of trends at high values.
BETABetaThe Beta Coefficient tool is used to compare the volatility of the selected stock with that of the entire market (usually an Index such as the XJO or Dow).
BPBBollinger Percent BThe Bollinger %B tool is similar to the Stochastic tool, however the range is calculated from the Bollinger Bands rather than actual price. Whereas Stochastic’s will always oscillate in a range between zero and 100 since price can never penetrate above the price range (else it will increase the price range itself), price does penetrate the Bollinger Bands frequently. Thus Bollinger %B can move above 100 and below zero, this merely indicating that the close is outside of the bands.
BREADTHDATABreadth DataWhen applied to an equity the Breadth data for the parent index is used automatically. For example, a US Equity will display the S&P 500 Advance Decline Breadth values. Requires the Optuma Breadth Measures data group or a Bloomberg Connection.
FunctionNameDescription
CADChaikin A/D LineThe Chaikin A/D indicator was created by Marc Chaikin and has been designed to measure the cumulative flow of money into and out of an instrument. This tool is primarily used in an attempt to predict trend reversals.
CANDLESTICKPATTERNCandlestick PatternAllows you to search for a number of common candlestick chart patterns (Bullish Engulfing, Doji, etc).
CCFCross CorrelationComing Soon
CCICommodity Channel IndexCommodity Channel Index is used to give a measurement of how far a security is from its statistical mean. High values mean that the current price is higher than the mean.
CHANGEPercentage ChangeShow the change in value (as a percentage) measured over x number of bars.
CHANGESINCESIGNALChange Since SignalDisplays the change in price (value or percentage) since a triggered signal.
CHARTPATTERNChart PatternAllows you to search for a specific chart patterns such has AB=CD, etc.
CHOPPINESSINDEXChoppiness IndexThe Choppiness index was created by Bill Dreiss and is used as a measure of the current state of a stocks trend. There are lines placed on the Fib levels of 31.8 and 61.8. Choppiness Index values below the 31.8 generally indicate a trending market, where as those above 61.8 indicate a choppy market.
CHSTChandelier StopThe Chandelier Stop was developed by Charles Le Beau and plots a trailing stop loss calculated from Average True Range. The stop can be used on both bull and bear markets with the Chandelier line plotting above the price in a downtrend and below the price on an uptrend.
CIComposite IndexThe Composite Index is a proprietary tool, developed by Constance Brown from Aerodynamic Investments Inc. For more information, please visit
CIDXCongestion IndexCongestion Index is the ratio of the price change to the range change between highest price and the lowest price for a specific period (default 20 bars). The result is then smoothed to produce the final value.
CLOSECloseThe close function returns the closing value of each bar of the source data
CLUTime ClustersA number of tools in Optuma, (Fibonacci, Gann, Astronomical, etc) are designed to locate important dates on a chart. When multiple tools are applied to a chart it can be difficult finding important convergences of these tools, which can assist in highlighting important turning dates in the market. The cluster tool has been designed with this problem in mind, and resolves the issue by highlighting vertical tool convergences in a simple, uncluttered manner.
CMFChaikin Money FlowChaikin Money Flow, developed by Marc Chaikin, measures buying and selling pressure (Money Flow Volume) over a set period of time (21 days by default) oscillating between a value of 1 and -1.
COICoppock IndicatorThe indicator is named after Edwin Coppock. Coppock thought setbacks in the stock market were like bereavements and required a period of mourning before normal spirits revived. So he asked the church leaders of the day how long it took people to get over the death of a loved one. The answer was between 11 and 14 months. From this Coppock developed a series of calculations designed to signal when stock market mourning would be over.
CORRELPearson’s Correlation CoefficientThe Pearson’s Correlation Coefficient indicator represents the relationship between the selected stock and a comparison code (Dow or XJO for example) using variables that are measured on the same interval or ratio scale.
COSCosineThe trigonometric function that is equal to the ratio of the side adjacent to an acute angle (in a right-angled triangle) to the hypotenuse.
COSCChaikin OscillatorThe Chaikin Oscillator was created by Marc Chaikin, and is used to measure the momentum of the AD Line using MACD. The value of the Oscillator is the variation between the 3 day EMA of the AD Line and the 10 day EMA of the AD Line.
COTDATACOT ReportThe Commitments of Traders (COT) data provide a breakdown of each Tuesday’s open interest for US commodities markets in which 20 or more traders hold positions equal to or above the reporting levels established by the CFTC.
COTOCOT OscillatorComing Soon
COTSCOT SentimentComing Soon
COUNTBACKLINECountback Line ScanBased off the Countback Line Entry and Exit indicators found in the Guppy Tool Group.
COUNTMATCHCount MatchUsed in conjunction with a Boolean variable. Will output the total number of bars the boolean criteria has been true over a set lookback period (15 bars by default, but can be adjusted).
COUNTMATCHSINCESIGNALCount Match Since SignalHow many times has X occurred since Y. Requires two boolean scripts.
CRLCorrelationThis tool requires two overlayed securities. When available, the tool will show how closely the two securities are correlated.
CSICommodity Selection IndexThe Commodity Selection Index (CSI) is a momentum indicator used to identify which commodities are suitable fro short-term trading with higher value CSI’s indicating a stronger trend and higher volatility.
CVClark VolatilityClark Volatility takes the unique volatility calculation proposed by Dr Kalvert Clark and turns them into a handy tool.
FunctionNameDescription
DARVASBOXSCANDarvas Box ScanAllows you to look for Darvas boxes over a data set.
DATAFIELDExternal Data FieldAllows you to import values from a data field. This can include standard values, EDFs (Bloomberg), Custom EDFs (Excel) and Optuma Fundamental Data (PE Ratio, etc).
DATATOLOADData To LoadAllows you to limit the amount of historical data used to calculate a script (Last Year for example).
DAYDaily DataAllows you to set the time frame of the function to Day values when the underlying data is a different time frame (ie Weekly, etc).
DAYNUMDay NumberShows the Day of the Month (as an integer) oscillating between 1 and 31. For example October 18 would return 18 as the value.
DAYOFWEEKDay of Week (Sun=1)Returns the day of the week as an integer. Sunday=1, Monday=2 … Saturday=7
DDDays DownThe Days Down indicator is a visual representation of the number of consecutive days that current price is lower than previous price.
DEGTORADDegree To RadianConverts an output returned in Degrees into Radians
DHTSCANDays High Trailing Stop ScanDays Low Trailing Stop and Days High Trailing stop are standard indicators used to mark stops on a short or long basis. Based on the number of days set, the line of the stop will track to the highest high (or lowest low) over a set period.
DIDemand IndexThe Demand Index was developed by James Sibbet and combines price and volume in such a way that it is described as a leading indicator of price change.
DIVERGENCEDivergence SignalApply to any view tool applied to the chart to highlight areas of divergence between the indicator and the charts price.
DLTSCANDays Low Trailing Stop ScanDays Low Trailing Stop and Days High Trailing stop are standard indicators used to mark stops on a short or long basis. Based on the number of days set, the line of the stop will track to the highest high (or lowest low) over a set period.
DMPADynamic Market PortfolioThe Dynamic Market Price Analysis is an intraday variant of Peter Steidlmayer”s original MPA tool.
DOMENVHurst Dominancy EnvelopeThe Dominance Envelope is a pair of smooth zones bounding the upper and lower edges of the relatively long undulations in the price movement. This envelope encloses most of the price bars within a constant height channel. It contains within it the wave movements in the price action that are most visually evident. Requires the Hurst Module.
DONCHDonchian ChannelDonchian channels were developed by Richard Donchian. The two outer bands are plotted as the highest high and lowest low for a set period with the central band calculated as the average of the two.
DRAWDOWNSTOPDrawdown Trailing Stop LossAlan Hull’s Drawdown Trailing Stop tool trails behind the most recent highest closing price by a given percentage (20% by default). Every time a rising trend makes a higher closing price then the drawdown stop loss will increase to maintain the 20% buffer. The trailing stop is prevented from going lower when the price activity falls, but once the stop loss has been breached for several consecutive number of bars (10 by default) then it will reset to the drawdown percentage below the closing price of the 10th bar.
DROSCDerivative OscillatorThe Derivative Oscillator is a proprietary tool, based on the work of Constance Brown from Aerodynamic Investments Inc. For more information, please visit
DTBDGL Trade BandsDGL Trade Bands are entry/exit trade bands. There are two bands for buying and two for selling. Buy 1 and Buy 2 bands are used to determine possible entry points. Sell 1 and Sell 2 bands are used to determine possible exit points. Once a trade is entered the DGL Trade Bands can also be used as stops.
DUDays UpThe Days Up indicator is a visual representation of the number of consecutive days that current price is higher than previous price
DVANBSPDVAN Buy/Sell PressureThe DVAN methodology was created between 1985 and 1987 after 10+ years of self taught technical study and research. The original algorithms have never changed and continue to be the basis of all DVAN models today. For more information, please visit Requires the DVAN Module.
DVANLONGTERMDVAN Long-TermThe DVAN methodology was created between 1985 and 1987 after 10+ years of self taught technical study and research. The original algorithms have never changed and continue to be the basis of all DVAN models today. For more information, please visit Requires the DVAN Module.
DVANSHORTTERMCYCLEDVAN Short-Term CycleThe DVAN methodology was created between 1985 and 1987 after 10+ years of self taught technical study and research. The original algorithms have never changed and continue to be the basis of all DVAN models today. For more information, please visit Requires the DVAN Module.
DVANSMLSDVAN Smart LinesThe DVAN methodology was created between 1985 and 1987 after 10+ years of self taught technical study and research. The original algorithms have never changed and continue to be the basis of all DVAN models today. For more information, please visit Requires the DVAN Module.
DVANTRENDINGDVAN TrendingThe DVAN methodology was created between 1985 and 1987 after 10+ years of self taught technical study and research. The original algorithms have never changed and continue to be the basis of all DVAN models today. For more information, please visit Requires the DVAN Module.
DVANTRENDSIGDVAN Trend SignalsThe DVAN methodology was created between 1985 and 1987 after 10+ years of self taught technical study and research. The original algorithms have never changed and continue to be the basis of all DVAN models today. For more information, please visit Requires the DVAN Module.
DVIDivergence IndexThe divergence index takes the volatility-adjusted difference between two moving averages, 10 and 40 bars by default and uses a Standard Deviation in the change in values to introduce a volatility measure.
FunctionNameDescription
EARNINGSEarningsDisplays the Earnings information for a selected security. Requires Bloomberg data.
ECLEclipseThe Eclipse tool graphically displays on the chart the dates that Solar and/or Luna Eclipses occur. Requires the Astro tools.
EHLBFBandpass FilterComing Soon
EHLCCCorrelation CycleComing Soon
EHLCTCorrelation TrendComing Soon
EHLDCDeCyclerComing Soon
EHLDODeCycler OscillatorComing Soon
EHLEBSEven Better Sinewave IndicatorComing Soon
EHLERMAExponential Regularization Moving AverageComing Soon
EHLFSAFourier Series AnalysisComing Soon
EHLMSModified StochasticComing Soon
EHLRFARoofing Filter Indicator with AGCComing Soon
EHLSSSuper SmootherComing Soon
EHLTBFTruncated Bandpass FilterComing Soon
EHLTPSTwo Pole Super SmootherComing Soon
EHLVPFVoss Predictive FilterComing Soon
EXPExponentialExponential is a math function similar to Power() but with the default base e (e equals 2.71828182845904)
FunctionNameDescription
FDHSCANFixed Days High Stop ScanThis function allows you to scan for bars crossing the Fixed Days High Stop line, developed by HomeTrader.
FDLSCANFixed Days Low Stop ScanThis function allows you to scan for bars crossing the Fixed Days Low Stop line, developed by HomeTrader.
FIForce IndexForce Index is an indicator designed to measure price change in relation to volume.
FIELDLatest Field ValueSimilar to the DataField function, you can select EDFs, Fundamental data or Watchlist columns, however only the latest value will be returned.
FIRSTFirst ValueReturns only the first value of a script function or criteria. For example First(MA()) will return the first Moving Average value for the code(s).
FLDHurst Future Line of DemarcationThe FLD is probably the most important tool in all cycle analysis, according to Hurst. It’s many uses include: Location of wave troughs and crests during phasing analysis, Determination of price objectives, Assessment of trend by comparison of past-timeprice objectives with actual price movement, Price movement forecasts by means of FLD pattern analysis and Action signals. The FLD is constructed by shifting the centered moving average by half the length of the moving average. Half the cycle will be before the final data price on the chart and half after. When price intersects a Single FLD, Hurst would consider that at that point, Price was half way through the cycle (that is the cycle of length defined in the FLD). Requires the Hurst Module.
FLOORFloorThe Floor function is used to round down.
FLVSCANFixed Volatility Stop ScanAllows you to scan for bars crossing the Fixed Volatility Stop line (Back Tester only).
FOForecast OscillatorThe Forecast Oscillator compares the actual price to the Time Series Forecast and calculates a percentage between -100% and +100%.
FORECASTForecastThe Forecast tool will display one of the following data plots below the chart, including projections past the last bar: Earnings Per Share, Sales, Net Income, Dividends Per Share, Return on equity, EBIT, EBITDA, Pre-Tax Profit, Operating Profit, Net Asset Value. Requires a connection to Bloomberg Terminal.
FOURIERFourier WaveIn Signal Processing, Fourier analysis is used as a way to break up complex waves (cycles) into discrete sinusoidal components. The process uses the Fast Fourier Transform to examine the closing prices of the data and determine the cycles that have the highest correlation to the cycles in the data.
FSVSCANFixed Short Volatility Stop ScanAllows you to scan for bars crossing the Fixed Short Volatility Stop line (Back Tester only).
FTFisher TransformThe Fisher Transform indicator is an oscillator based on complex mathematical theories (such as probability density functions) and transforms prices into sine wave that seeks to pinpoint extremes in the market. The tools is made up of pair of lines moving above and below the central value of zero. One line is the current Fisher Transform value and the other, the trigger line. A signal, bullish or bearish, is generated when the Fisher Line crosses above or below the trigger line and/or when the indicator reaches bullish or bearish extremes.
FXFXAllows you to convert a value into a different currency.
FunctionNameDescription
GANNSWINGGann SwingAllows you to reference Gann swing points (Swing Start, Swing End, etc) in a script.
GETDATAGetDataAllows you to pull in data from a specific data code to reference in a script. [NEW: Now supports option to Use Source Timeframe]
GMAGuppy Multiple Moving AverageThe Guppy Multiple Moving Average tool was developed by Daryl Guppy and is introduced in his book, Trading Tactics . It is made up of two groups of exponential moving averages and is used to understand the strength and nature of the trend. The short-term group are 3, 5, 8, 10, 12 and 15 day exponential moving averages. The long-term group is made up of 30, 35, 40, 45, 50 and 60 day exponential moving averages.
GMPGann Mass PressureW.D. Gann’s Mass Pressure is a selective or incomplete Decennial Pattern: Each value of this composite is derived from 6 past price values of the DJIA exactly 80, 60, 40, 30, 20 and 10 years back. Gann Mass Pressure and the Decennial Pattern often times look very much the same, and have identical turning-points. Requires the Gann tools.
GNGOSCGoNoGo OscillatorRequires the GoNoGo tool module.
GNGSQUEEZEGoNoGo SqueezeRequires the GoNoGo tool module.
GNGTRENDGoNoGo Trend
GNGTRENDPROGoNoGo Trend ProRequires the GoNoGo tool module.
GPAGann Price AngleConverts price into an angle for use in Gann planetary indicators where price as an angle is measured against other angle tools. Requires the Astro tools.
GPSGartley ScanUsed to search for Gartley Patterns (bullish and bearish). Requires the Gartley Module.
FunctionNameDescription
HAC Heikin-Ashi CandlesThis function allows you to take a standard candlestick chart and covert the data into Heikin-Ashi values.
HAPHathaway Average PriceThe Hathaway Average Price tool is a proprietary indicator available with the Hathaway Tools add-on from Pattern to Profit. The tool takes the average closing prices from a designated starting point, which accumulates over time, as opposed to a simple moving average which averages the closing prices over a designated fixed period of time. Requires the Hathaway Module.
HARTSWINGHart SwingThe Hart Swing is a trend indicator and can be used much like Gann Swings. The tool was developed by Joseph Hart of Trend Dynamics. Through the use of a series of time filters, the tool segregates price action into encompassable components, and in doing so filters out the noise of other time frames.
HBSHundred BaseSimilar to the Relative Index Comparison tool however the Hundred base indicator differs by not dividing the source by an index. Instead the indicator sets a starting date and bases the value at 100 from that date (e.g. Left Screen Edge).
HBTHilbert TransformThe Hilbert Transform indicator is a linear operator, based on the separation of the cycle phase into two components, the Quadrature and InPhase and is designed to locate relative peaks and troughs on the chart.
HIDDENHiddenThe Hidden() function - in conjunction with an IF() statement - allows you to hide a plot until certain criteria are met.
HIGHHighThe high function returns the highest value of each bar of the source data.
HIGHERTIMEHigher Time Moving AverageThe Higher Time Moving Average is a Moving Average that is drawn based on a different time period. For example, you can apply a weekly moving average to a daily time period chart.
HIGHESTHIGHHIghest HighAllows you to search for the Highest value over x periods. You can define the look back period, or set it to All Time. This can be done on charts, or indicator values.
HIGHESTSINCEHighest High Since SignalAllows you to search for the Highest value over x periods but only after a specific criteria has first been met. For example, a Moving Averages highest value in the last 30 days, after the Close price crossed above the MA line.
HLTRHelion TransitsThe Helion transits tool will plot the times that selected planets are at Aphelion and Perihelion during their orbit. Requires the Astro tools.
HMAHull Moving AverageA moving average (weighted) based on Allan Hulls published calculations. For more information, please visit Alan’s website -
HMMAHull Multiple Moving AverageThe Hull Multiple Moving Average is a tool developed by Author and trader Alan Hull. HMA uses two groups of Moving average lines to track and filter price movements. For more information, please visit Alan’s website -
HPIHerrick Payoff IndexDeveloped by John Herrick, the Herrick Payoff Index is designed to show the amount of money flowing into (or out of) a futures contract. A value above zero represents money flowing in (bullish), below zero money flowing out (bearish). It is important to note that this indicator makes reference to Open Interest data, so the chart you apply this to must have OI values.
HVHistorical VolatilityA measure of the price changes of a security over a specific period of time. Defined as the standard deviation of the continuously compounded returns on the security.
HVBHistorical Volatility BandsTaking the Historical Volatility value and added positive and negative delta to it forms these bands that rise and fall based on the volatility of the security.
FunctionNameDescription
ICHIMOKUCLOUDIchimoku CloudThe Ichimoku Cloud indicator was developed before World War II by a Tokyo newspaper writer. It is designed to display support and resistance levels, trend direction, and entry/exit points.
IFIfAllows a script to produce multiple results based on which criteria is being met. For example, If the Close is Higher than a MA the script result is 1 otherwise it is zero.
IMPULSERIPPLESImpulse RipplesThe Impulse Ripples tool uses a proprietary Optuma algorithm to identify dates where a potential changes in trend may occur. The Impulse Ripple tool is typically applied to a significant pivot high or low point on the chart.
INDEXIndexAllows you to display data for the underlying codes primary index. For example ASX Codes will use XJO (Top 200), US Equity codes will use SPX (S&P 500).
INERTIAInertia IndicatorThe Inertia Indicator is a smoothed version of the RVI indicator and attempts to extrapolate the prevailing price trend. The smoothing effect is calculated with a combination of Exponential Moving Average and Linear Regression. When this indicator is above 50%, an increasing price trend is indicated. When the indicator falls below 50%, a decreasing price trend is indicated.
INVInverseAllows you to take the underlying value or plot of a script and inverse it (should not be confused with Invert which is a different process).
INVMAHurst Inverse Moving AverageThe Inverse Moving Average was a tool that Hurst used to assist him in determining the dominant cycles on the chart. In a complex market it can be difficult to spot the cycles, this tool helps with that. Hurst often referred to this as an “Inverse HalfSpan Average”. Requires the Hurst Module.
ISMEMBERIs MemberWill show a true results when the underlying chart is a member of the selected index (S&P 500 for example) and a false result when it is not a member. Requires Optuma Symbol Lists.
ISTICKERIs TickerReturns whether the source is the same code as the passed in. This can be used to match a single code when scanning a list of codes.
JDKFOREXJDK ForexAllows you to reference the RRG calculations specific to Foreign Exchange data. Requires at least a Professional services subscription or the RRG Module.
FunctionNameDescription
JDKRSRRG LinesThe RRG Lines tool is a proprietary tool, based on Relative Rotation Graphs by Julius de Kempenaer. Requires at least a Professional services subscription or the RRG Module.
FunctionNameDescription
KAGISWINGKagi SwingKagi charts are believed to have been created around the 1870’s in Japan. Kagi charts, as with Gann Swing charts, display rising and falling vertical lines to indicate price action while ignoring the time element. The lines created by Kagi charts are usually displayed as thick or thin depending on price action, direction and the point at which prices penetrate a previous high or low. Optuma, however, distinguishes between the thick and thin lines using colour. Blue represents thick lines and Green represents thin lines.
KCKeltner ChannelKeltner Channels are based on a standard Moving Average. The actual band lines are offset by a positive and negative standard deviation value from the central moving average value, to provide upper and lower bands.
KSTPring Know Sure ThingKnow Sure Thing was developed by Martin Pring to show the overall momentum of a stock, or other financial asset. Traders typically use KST for trade signals or to confirm trends.
FunctionNameDescription
LASTLast ValueDisplays only the last value of a script or data point.
LNNatural LogAllows you to apply a Natural Logarithm to the script value.
LOGLog 10Allows you to apply Log 10 to the script value.
LOGNLogNA Base N log function allowing you to set your own base value.
LOWLowThe low function returns the lowest value of each bar of the source data
LOWESTLOWLowest LowAllows you to search for the Lowest value over x periods. You can define the look back period, or set it to All Time. This can be done on charts, or indicator values.
LOWESTSINCELowest Low Since SignalAllows you to search for the Lowest value over x periods but only after a specific criteria has first been met. For example, a Moving Averages lowest value in the last 30 days, after the Close price crossed below the MA line.
LRINTLinear Regression InterceptThe Linear Regression Intercept tool calculates the line of best fit to the market price, using the least squares method, and is plotted on the chart in a way that is similar to a moving average. However, rather than being a simple averages calculation, the Linear Regression Intercept tool represents a statistically fitted line which reacts faster to changes in price when compared to a Moving Average.
LRSLOPELinear Regression SlopeThe Linear Regression Slope tool calculates a slope value of theoretical regression lines involving the current bar and the previous (user selected) bars, with the final value of the slope being normalized and displayed as a histogram.
LRVALLinear Regression ValueThe Linear Regression Value function calculates the correlation of the closing prices around the linear regression line. Based on the Trailing Linear Regression tool.
LTTRLatitude TransitsThe Latitude Transits tool will plot the times that selected planets are at maximum North and South latitude during their orbit. Requires the Astro tools.
FunctionNameDescription
MAMoving AverageA Moving Average is a continuous calculation of the average price for each bar. A simple Moving Average takes the last X number of bars, and averages the values of those bars.
MABMoving Average BandsMoving Average Bands are based on a standard Moving Average. The actual band lines are offset by a positive and negative value from the central moving average value, to provide upper and lower bands.
MACDMACD HistogramA MACD (Moving Average Convergence Divergence) is the difference between an Oscillator and a Moving Average of that Oscillator. MACD’s are usually calculated using exponential Moving Averages based on the close of the bars
MACLUSTERSCANMA Cluster ScanAllows you to search for the convergence or divergence of 3 (user defined) Moving Averages.
MAXMaximumAllows you to display the maximum value between two functions. For example if two Moving Average lines were on a chart (V1 and V2), the MAX(V1, V2) function would return the value of the highest Moving Average line.
MDMMinus Direction MovementAllows you to reference the -DM calculation which equals to Previous Low - Current Low.
MFIMoney Flow IndexMoney Flow Index is a similar indicator to the Relative Strength Index, however the Money Flow Index uses volume to measure the strength of the money flowing in and out of the security.
MIDASMidasThe Midas indicator was developed by Paul Levine. Midas is an acronym for Marketing Interpretation Data Analysis System. This system is designed to focus on the dynamic interplay of support/resistance and accumulation/distribution in determining price behaviour.
MINMinimumAllows you to display the minimum value between two functions. For example if two Moving Average lines were on a chart (V1 and V2), the MIN(V1, V2) function would return the value of the lowest Moving Average line.
MINUTEMinute DataAllows you to override the default time frame a script is placed on and reference minute values instead. Requires Intraday data access.
MKFMarket Facilitation IndexThe Market Facilitation Index is an indicator that relates price range to volume. This is calculated as MKF = (High - Low) divided by Volume
MODModuloThe modulo function MOD(x,y) returns the remainder after x has been divided by y. For example, MOD(23,5) will return a value of 3, where 23 ÷ 5 is 4 remainder 3.
MOMENTUMMomentumThe Momentum tool measures the price momentum of a security. High values indicate that the security is rapidly increasing in price, low values indicate the price is rapidly falling.
MONTHMonthly DataAllows you to override the default time frame a script is placed on and reference Monthly values instead.
MONTHNUMMonth NumberAllows you to represent the month as an integer between 1 (January) and 12 (December).
MOONMoon PhasesThe Moon Phases tool graphically displays on the chart the dates for the First Quarter, Full Moon, Third Quarter and New Moons. Requires the Astro tools.
MOONTRApogee PerigeeThe Apogee and Perigee mark the times when the moon is closest and furthest from Earth in its orbit around Earth. Requires the Astro tools.
MOVRMoving RetracementThe Moving Retracement tool is particularly useful to easily find price retracements within a time period, for example a year, month, or week, or from the start of a major range, where the high and low prices of a range change. The Moving Retracement is closely related to the Price Retracement tool. Requires the Gann tools.
MSIMidos SIThe MIDOS SI tool was developed by Dennis McNicholl and is documented in his book ”Taming complexity in Trading: beating the DOW 3 to 1”.
MVWAPMoving Volume Weighted Average PriceThe Moving Volume Weighted Average Price (MVWAP) is a longer term tool which is in essence an averaged value of multiple VWAP indicators.
FunctionNameDescription
NANatal TransitsThe Natal Transits tool allows you to display important aspects that correlate not with another planet, but with a selected date. This essentially allows you to plot when a planet is Trine, Square, Conjunct, Opposite (or any other selected angle) with its longitude position on the selected date. Requires the Astro tools.
NAVNet Asset ValueAllows you to reference the Net Asset Value. Requires Bloomberg Data Portfolio.
NEARESTALERTNearest AlertCalculates the proximity and the nearest alert.
NLRSXNonLag Inverse Fisher Transform of RSXThis indicator is the Inverse Fisher transform version of a nonlag smoothed RSI (RSX) which oscillates between a value of 1 and -1. values higher than 0.90 will highlight in blue, those below -0.9 will highlight in red.
NONZERONon-ZeroA quantity which does not equal zero is said to be nonzero. Useful when using boolean conditions.
NOREPEATNo RepeatOn a boolean script this function allows you to set a period of time where results are excluded after they have been met once. The exclusion time is set as x number of bars.
NOTNot Boolean FunctionAllows you to negate a script or data point which returns 1 when the data point is zero and returns 0 if the data point is not zero.
NUMSEARCHERNumber SearcherThe Number Searcher tool will display lines and labels between price swings for time (both calendar days and bars) and price, based on user-defined values. The tool can help save you a lot of time identifying specific cycles or patterns on a chart. Requires the Gann tools.
FunctionNameDescription
OBVOn-Balance VolumeOn Balance Volume is an oscillator, which relates price movement to volume.
OBVPOn-Balance Volume %On Balance Volume is an oscillator, which relates price movement to volume and is displayed as a percentage.
OFFSETOffsetThis function allows you to Offset a plot of value within the script. For example the offset is measured in bars, so a value of OFFSET(2) will push the script plot forward 2 bars and -2 will move the script plot back 2 bars.
OIOpen InterestOpen Interest is used to indicate the number of contracts outstanding, i.e. the number of contracts that must be settled before the expiry date of the commodity. Not all data files have Open Interest.
OLIVERWEDGESCANOliver Wedge ScanAllows you to scan for instances of a Wedge pattern forming on a chart (using Alan Oliver’s Gann Swing methods). Requires the Olivers Wedge Module.
OPENOpenThe open function returns the opening value of each bar of the source data
OPTEXOptex BandsThe OPTEX Bands is used to show or identify when a security has reached a potential price extreme. It is looking to find price exhaustion. The Balance Quotient (BQ) line in conjunction with the bands that run along the top and the bottom of the study pane is used to show when price reaches those potential extreme areas. When the BQ line breaches the red level 1 or is near level 2 price is potentially topping. When BQ line breaches the blue level 2 or is near level 1 price is potentially bottoming.
OPTTRIG250Optex Trigger 250This tool will highlight any bar where the BQ Line of an OPTEX Band touches the level 2 blue line.
OPTTRIG250TOptex Trigger 250 TrendThis tool will highlight any bar where the OPTEX Band touches the level 2 blue line and the main trend is up.
OPTTRIG300Optex Trigger 300This tool will highlight any bar where the BQ Line of an OPTEX Band is within a specified range tolerance of the level 1 blue line.
OPTTRIG300TOptex Trigger 300 TrendThis tool will highlight any bar where the BQ Line of an OPTEX Band is within a specified range tolerance of the level 1 blue line and the main trend is up.
OSCOscillatorAn Oscillator is a measure of the difference between two moving averages. The moving averages are usually defined as a fast (calculated over few periods so it reacts quickly to changes in the market) and slow (calculated over many periods, it reacts slowly).
OSOBOversold & OverboughtA colour overlay indicator to show whether the bar is oversold or overbought. Oversold occurs if the close is greater than the lowest low + ATR over a number of period. Overbought occurs if the close is lower than the lowest high + ATR over a number of period.
FunctionNameDescription
PAPlanetary AspectsThe Planetary Aspects tool will display the dates any user selected planetary relationship occurs. Requires the Astro tools.
PAGPlanetary AnglesThe Planetary Angles tool graphically displays on the chart the dates where a selected planet passes a user specified angle. Requires the Astro tools.
PARENTParentIs similar to Security() but it just gets the source of whatever tool it is added onto.
PATTERNMATCHERPattern MatcherThe Pattern Matcher tool generates a swing list between two selected mouse points and measures the highs and lows (in percent and bars). The Pattern Matcher will then run through the entire chart to find other instances where that same pattern occurred.
PCLUPrice ClustersA number of tools in Optuma, (Fibonacci, Gann, Astronomical, etc) are designed to locate important dates on a chart. When multiple tools are applied to a chart it can be difficult finding important convergences of these tools, which can assist in highlighting important turning dates in the market. The Price Cluster tool has been designed with this problem in mind, and resolves the issue by highlighting horizontal tool convergences in a simple, uncluttered manner.
PDCDeclinationThe Planetary Declination is a tool that plots a selected planet”s movement as it travels above and below the Sun / Earth (depending on whether Heliocentric, Geocentric or Sidereal is selected). Requires the Astro tools.
PDITime By Planetary DegreesThe Time By Planetary Degrees tool will plot a vertical line every time a selected planet has travelled a set amount of degrees. The tool allows you to set multiple degree counts in the one tool. Requires the Astro tools.
PDMPlus Direction MovementAllows you to reference the +DM calculation which equals to Current High - Previous High.
PEAKTROUGHPeakTroughShows a True result when a Peak or Trough has formed on a chart.
PERCENTSWINGPercent SwingThe Percent Swing Charts work on the premise of measuring the moves in the market from highs to lows. The swing will only turn when the required move has been reached, for example, a 5% swing will only change direction once the price has moved 5% away from the previous swing point.
PERFORMANCEPerformanceMeasures the range between two values over a user defined period (1 month by default) and displays the results as a percentage. For example if a charts price moved from $50 to $100 in a month, PERFORMANCE() would return a value of 100%.
PERIODOGRAMPeriodogramBased on the Cycle Analysis methods of JM Hurst the Periodogram performs a phasing analysis by using Fourier Transform Calculations. The peaks in the Periodogram show the dominant cycle lengths for the data that it is applied to.
PFSCANPoint & Figure ScansAllows you to scan for criteria specific to Point & Figure charts such as Double Top Breakouts.
PGTPlanetary GeometryThe Planetary Geometry tool is used to highlight dates on a chart where various geometric aspects of selected Planets and other astrological objects have occurred. The geometric aspects range from fairly simple formations such as the Grand Trine to more complex ones, such as the Flying Eagle. Requires the Astro tools.
PIPercentage IncreaseThe Percentage increase tool takes the 1st closing price of the chart and provides a percentage comparison of each closing value after that. This gives you the ability to see the stocks performance over time, in comparison to its listing / float price.
PIVOTPivot FunctionDisplays the Pivot Labels on the chart, indicating the distance between the current label and the previous pivot (and be set to forwards, backwards or both directions).
PIVOTPOINTPivot PointThe Pivot Point indicator is used to determine the overall trend of the market over different time frames using the average of the HLC of the previous bar. Pivot lines are then drawn based of a user selected series of ratios (Standard, Fibonacci or Camarilla).
PIVOTSPivotsThe Pivots indicator is a series of pivot points calculated everyday and are used to determine the overall trend of the market over different time frames using the average of the HLC of the previous bar. Pivot lines are then drawn based of a user selected series of ratios (Standard, Fibonacci or Camarilla).
PLDPlanetary DecansThe Standard Ephemeris is broken into 12 sections known as the zodiac, or houses (Aries, Leo, etc) which cover a section of 30 degrees each. Planetary Decans take these 30 degree houses, and divides them by 3, giving you 36 sections of 10 degrees each. Requires the Astro tools.
PLSPlanetary SignsThe Planetary Signs tool highlights the zodiac zone on a chart, indicating the transition of a selected planet as it moves though each zone. Requires the Astro tools.
PLSCPlanetary Sign ChangesA boolean function which shows a true result on the date a selected planet moves from one house to another house on the ephemeris (e.g. Mars moves from Cancer to Leo). Planets and Houses can be enabled / disabled within the script function. Requires the Astro tools.
PLTPlanetary LatitudesFor the given planet, shows the times when the Latitude is at the Max North and Max South. Requires the Astro tools.
POINTFIGURESWINGPoint Figure SwingAllows you to reference Point & Figure swing points (Swing Start, Swing End, etc) in a script.
POINTSPointsAllows the script function to capture the price and date of the mouse down when applying the script tool from tool bar.
POINTSWINGPoint SwingThe Point Swing Chart Overlay is used to superimpose a Point Swing Chart over a bar based chart (bar, candle, range, or line). The swing lines are drawn as straight lines joining swing tops to bottoms.
POSCPrice OscillatorThe Price Oscillator uses two moving averages, and calculates the difference between them. This can be used to determine overbought / oversold conditions as well as to confirm bullish / bearish price moves.
POWERPowerUsed to raise to a power e.g POWER(CLOSE(), POWER=2) to square the closing price
PPAProgressed AspectsProgressions are the concept that one day is like a year. So an aspect that happens 5 days after the natal date is shown 5 years after on the progressed tools. Requires the Astro tools.
PPTProgressed TransitsProgressions are the concept that one day is like a year. So a transit that happens 5 days after the natal date is shown 5 years after on the progressed tools. Requires the Astro tools.
PREVIOUSPreviousSimilar to the Offset() function this item allows you to refer to a previous value produced by the script.
PRICEATSIGNALPrice At SignalAllows you to find the price of a chart when a specific criteria is met. For example the closing price of a chart when a Moving Average crossed another Moving Average.
PRLTRParallel TransitsThe Parallel Transits tool displays the dates where two selected planets have a declination parallel to each other, or a declination contra-parallel to each other. Requires the Astro tools.
PSARParabolic Stop & ReverseThe Parabolic Stop and Reverse indicator derives it name from the fact that when applied it resembles a parabola. The Parabolic Stop and Reverse has been designed to set price stops and provides excellent exit points.
PSPPlanetary SpeedMeasures the variation in a selected planets Longitude speed and displays the oscillation below the chart. Requires the Astro tools.
PVALPlanet ValueAllows you to reference / display planetary values in a script. Options include Longitude, Latitude, Speed, Right Ascension, Declination, and Distance. These values can be outputted in Degrees or Radians. Requires the Astro tools.
FunctionNameDescription
QQEQuantitative Qualitative EstimationThe Quantitative Qualitative Estimation indicator is derived from smoothing a Welles Wilder RSI and measuring the change between two consecutive values of that RSI. The absolute changes are double-smoothed exponentially and multiplied to provide the Fast and Slow trigger lines.
QUARTERNUMQuarter NumberAllows you to represent the yearly quarter as an integer (between 1 - 4).
RADTODEGRadian To DegreeConverts Radian values into Degree values.
FunctionNameDescription
RANGECHARTRange ChartA Range Chart is a type of tick chart that creates new bars based on a predetermined price range. This range is set by the user to calculate the difference between the high and low value for each bar. The bar will continue to build as long as this high/low range is less than or equal to the user-defined range. Once a trade occurs outside this range, a new bar is formed and the calculation resets and continues. For example, if you set a $2 range for a non-volatile stock, if the trading activity never expands beyond $1 (i.e. a trading range of 46.50 to 48.20), then you’d only paint one bar for that activity.
RATCHETRatchetThe Ratchet function allows a script plot to only increase in value (or vice versa), typically used in scripting stops.
RECESSIONRecession ReportThe Recession indicator allows you to plot times of recession as a shaded zone under, or on your chart. Requires the FRED data exchange.
RECOILSRecoilsThe Recoils tool is a time cycle tool that plots windows of opportunities where trends may begin and end for a given security. There are 8 recoil time cycle and they have varying lengths and repeating periods. When applying this tool we suggest that you try apply each of the Recoil types and verify which one might resonate best with your security of interest.
RENKOSWINGRenko SwingAllows you to reference Renko swing points (Swing Start, Swing End, etc) in a script.
RFERange From ExtremesThe Range from Extremes indicator will take the highest high and lowest low over a specified look back period (Last Year by default) and display measurements using the current close price as a Percentage, Standard Deviation or Average True Range. The RFE() scripting function allows you to calculate these values for use in other features, such as a watchlist. The following example shows the % from the 6-month high: RFE(BACKTYPE=Months, BARS=6, DEFAULT=High)
RIReturn of InterestThe Return of Interest tool shows the possible dollar return (on a $10, 000 account) for a security on any given period. This is calculated by dividing a $10, 000 account by the closing price.
RICRelative Index ComparisonThe Relative Index Comparison tool shows the difference between two percentage increases from the code the tool is applied to, and a selected index.
RLPlanetary RetrogradeThe Planetary Retrograde tool highlights the range on a chart where a selected planet is in retrograde. Requires the Astro tools.
RNGIRange IndicatorThe Range + Indicator is a tool developed by Author and trader Alan Hull. It displays a series of lines, the central cord and the upper and lower deviation lines, that create a range that defines tolerance toward price activity.
ROAHull Rate of Annual Decline/ReturnThe Hull Rate of Annual Decline indicator is used to calculate the annual rate of decline of a share given its current rate of fall. It achieves this by calculating the annual decrease in price activity and then dividing it by the current share price. The result is then multiplied by 100 to convert it to a percentage.
ROARHull Rate of Annual ReturnThe Hull Rate of Annual Return indicator is used to calculate the annual rate of return of a share given its current rate of climb. It achieves this by calculating the annual increase in price activity and then dividing it by the current share price. The result is then multiplied by 100 to convert it to a percentage.
ROCRate Of ChangeRate of Change is used to display a measurement of the momentum of a security. High values indicate that the security is rapidly increasing in price, low values indicate the price is rapidly falling.
ROUNDRoundingThe Round() function in scripting allows you to directly control the decimal places a script value outputs and works with.
RRRRisk Reward RatioBuilt on top of the Volatility Based Support and Resistance, this tool calculates a unique measure of the potential long reward and long risk at any given time based on volatility. Requires the ND Research Module.
RSIRSIThe Relative Strength Index is a momentum oscillator that measures the speed and change of price movements. RSI moves between 0 and 100. Generally the RSI is considered overbought when above 70 and oversold when below 30.
RSIA RSI & AveragesThe RSI & Averages is a proprietary tool, based on the work of Constance Brown from Aerodynamic Investments Inc. For more information, please visit
RSQRDCoefficient of Determination (r²)Coming Soon
RVRelative VolatilityThe Relative Volatility indicator oscillates between a value of 1 (True) and 0 (False). A value of 1 will display when (by default) the 10 period ATR is higher than the 50 period ATR.
RVIRelative Vigor IndexThe Relative Vigor Index compares the closing price relative to its price range which is then smoothed by a moving average.
RVIIRelative Vigor Index IndicatorThe Relative Vigor Index Calculator is an averaged / smoothed line of the standard Relative Vigor Index tool. A second Moving Average line is applied to the smoothed RVI line to provide additional smoothing.
RVINDRelative Volatility IndexThe Relative Volatility Index was developed by Donald Dorsey to assist in measuring market strength. While similar to the Relative Strength Index, the RVI measures the standard deviation of high and low prices (over a user-defined period) displaying values between 0 to 100.
FunctionNameDescription
SCRIPTScript FunctionAllows you to reference a previously saved script for use in a new script.
SECTORDATASector DataUses the Bloombergs Index information to plot the codes underlying Index (including Level 1 - 4 where supported).
SECURITYSecurityWill return the primary security of the chart. This means that you can do a show bar on a RIC and be able to access the base data of the security.
SELFSelfAllows a script to reference itself (previous value).
SHADEShadeAllows you to add a shaded zone between two scripted plots.
SIGNALAFTERSignal AfterAllows you to search for a specific criteria, but only after another criteria is met first. For example a Moving Average cross over after Volume is 20% above the 30 day average.
SINSineSine is a standard math function.
SMIStochastic Momentum IndexThe Stochastic Momentum Index (SMI) is a variant of the Stochastic Oscillator indicator, which shows the distance between the current close and the recent n-period high/low range. In comparison, the SMI shows where the close is relative to the midpoint of the same range.
SQ9DATESquare of 9 DatesThe Square of 9 Dates tool is similar to the Time by Solar Degrees tool, with the main difference being once the tool has calculated the first date for each degree line, it repeats that date every year. Requires the Gann tools.
SQ9INTSquare of 9 Planetary IntervalsThe Square of Nine Planetary Intervals tool is a unique analysis tool combining the use of the Square of Nine and planetary movements. From a selected date, the Square of Nine Planetary Intervals will identify the planet”s angle, then using the Square of Nine, the tool will determine the next number in the Square of Nine series, calculate what date the planet was sitting at that angle and then plot a line. Requires the Astro tools.
SQRTSquare RootSquare Root is a standard math function.
SRFSupport and Resistance FinderComing Soon
STSuperTrendComing Soon
STDStandard DeviationStandard Deviation is a statistical measure of volatility. It is normally applied together with other indicators.
STLBStoller BandsStoller Bands comprise a channel surrounding a Simple Moving Average. Their creator is Manning Stoller. The width of the channel differs depending on a period of the average range. Stoller Bands are based on the average true range instead of being based on closes.
STOCHStochasticA Slow Stochastic simply uses the %D line as the %K line and calculates a new moving average of the %K(old %D) as the new %D line.
STOCHSCANStochastic ScanAllows you to search for a number of criteria on the Stochastic tool (%K crossing above %D as an example).
STOPStopAllows you to set a stop (only available with the Backtesting module).
STOPLOSSSCANPoint Percent Stop Loss ScanAllows you to set a stop (only available with the Backtesting module).
STRDATEStrDateAllows you to set a specific date.
SVTSShort Volatility Trailing StopAllows you to set a stop (only available with the Backtesting module).
SWINGDOWNSwing is DownThe swingdown function returns the value 1 when there is a down swing from the source data
SWINGENDSwing EndThe swingend function returns the end value of each swing of the source data
SWINGINDEXSwing IndexDeveloped by Welles Wilder, the Swing Index compares the links between the current prices (OHLC) - and the previous period’s prices to hold aside the real security’s price.
SWINGSTARTSwing StartThe swingstart function returns the start value of each swing of the source data
SWINGSTATSwing StatisticsThe Swing Statistics Box calculates the standard deviation and mean of the selected swing(s) and then plots a shaded box which indicates the possible direction and scope of the next swing based on the statistics. Additional boxes can be added and the statistical calculation is then derived from all boxes in the sequence.
SWINGTRENDDOWNSwing Trend DownAllows you to setup a custom colour scheme using Gann’s Trend rules for downward trends.
SWINGTRENDUPSwing Trend UpAllows you to setup a custom colour scheme using Gann’s Trend rules for upward trends.
SWINGUPSwing is UpThe swingup function returns the value 1 when there is an up swing from the source data
SWITCHSwitchSWITCH() is a Boolean function - giving a true or false result. The primary use of this function would be with indicators such as the RSI, however, it can be used in any situation where you may wish to set an upper-value target and a different lower value target as true / false flags.
FunctionNameDescription
TANTangentTangent is a standard maths function.
TARGETTargetAllows you to set a price target (only available in Back Testing).
TBDTime By Solar DegreesThe Time by Solar Degrees tool will display a number of vertical lines on your charts based on degree separations. The degree separations are user defined, so it is up to you to work out which degree separations work best. Gann always preferred numbers such as 49 and 144.
TBFMidas Top/Bottom FinderUsing the Midas rules with an exponential factor, this tool is useful for finding changes in Trend.
TBSYNTime By Synodic DegreesTime by Synodic Degrees is a tool that enables you to apply the Synodic Degrees of two planets onto your charts. The synodic period is the temporal interval that it takes for an object to reappear at the same point in relation to two other objects (linear nodes), i.e. the moon relative to the Sun as observed from Earth returns to the same illumination phase. Requires the Astro tools.
TDITraders Dynamic IndexThe Trading Day Intervals tool creates a number of vertical lines on the chart based on a user-specified number of trading days. The intervals are calculated from an initial point known as the Anchor point.
TEMPTemperatureTemperature is an oscillator that follows price movement. It follows certain rules to display values from 5 to -5.
TIMEADJUSTTime AdjustAllows you to set a time frame based on periods, for example on a daily chart TimeAdjust(PERIOD=1UP, BARS=3) would return a 3 week chart.
TIMESINCESIGNALTime Since SignalAllows you to display the number of bars / days / weeks / months or years since a specified criteria has been met. For example x number of bars since the last Moving Average crossover has occurred.
TOTurn OverTurnover provides a better indication of the liquidity of a security. i.e. the dollar value of the security that has turned over for the selected time period.
TRETTotal Return DataConverts historical price data to Total Returns to take in to account dividends.
TRIXTRIXThe TRIX tool is an oscillator used to identify oversold and overbought FX markets. It can also be used as a momentum indicator.
TROCTrue Rate of ChangeThe True Rate of Change takes the absolute price range between two points and divides by the number of bars, to give an average price move per bar (the true rate of change).
TRUERANGETrue RangeSimilar to the Average True Range but without the smoothing average (e.g. Apply an ATR to the chart and set the Base ATR property to 1 and it will match the TrueRange() script applied to the chart). The calc for True Range is: TR=Max[(H ? L),Abs(H ? Cp),Abs(L ? Cp)]
TSITrue Strength IndexThe True Strength Index is a momentum indicator based on two exponential moving averages (typically 25 and 13 periods), with a 7 period EMA used as a signal line.
FunctionNameDescription
UOUltimate OscillatorDeveloped by Larry Williams, the Ultimate Oscillator is a momentum oscillator designed to capture momentum across three different time frames in an effort to avoid common problems other momentum oscillators encounter. Standard momentum oscillators limited to one time frame will often rise sharply at the start of an advance, then form bearish divergence as the trend continues. The Ultimate Oscillator works to overcome this by utilising longer time frames into the core calculation.
FunctionNameDescription
VADVolume Advance DeclineThe Volume Advance/Decline tool displays the cumulative advances and declines in a securities volume.
VALUEWHENValue When SignalAllows you to find the value of an indicator when a specific criteria is met. For example the RSI value when a Moving Average crossed another Moving Average.
VARTOLISTVarToListIf you want to use a static value, you just need to put it into a list first. You can do that with the VarToList function. It is essentially what is done beneath the surface as a pre-process step.
VBMVolatility Based MomentumThe building blocks of all ND Research volatility tools. The DLRL and DSRS lines represent a volatility based momentum, a calculation that has taken many years to perfect. Requires the ND Research Module.
VBSRVolatility Based Support & ResistanceVolatility Based Support and Resistance is a volatility tool that defines important support and resistance zones on a chart. Requires the ND Research Module.
VCValue ChartValue Charts are used to determine bullish and bearish divergences, or is used as a trading filter.
VERGENCEVergenceAllows you to look for Divergence or Convergence between two plots. Also supports for consecutive (so has to occur 3, 4, 5 days in a row to trigger, etc).
VMEVolatility Momentum EndA tool based on the ND Research work that gives an indication of a possible end to a trend based on volatilty momentum. Requires the ND Research Module.
VOLVolumeThe vol function returns the volume of each bar of the source data.
VOLATILITYSWINGSVolatility SwingsAllows you to reference data points from the Volatility Swings chart in a script.
VOLUMEVolumeA visual representation of the number of shares / contracts transacted for the selected time frame.
VPCIVolume Price Confirmation IndicatorDeveloped by Buff Dormeier, CMT, the Volume Price Confirmation indicator is designed to show the intrinsic relationships between price and volume as a validation or contradiction of price trends.
VPTVolatility Profit TakerVolatility Profit Taker is based on an exponential Moving Average over the highs. The actual lines are offset by the ATR value from the central moving average value.
VTDValue to DataListThis function takes a single numerical value as a property and outputs that as a single row datalist.
VTSVolatility Trailing StopVolatility Trailing Stop line is offset by the highest / lowest amount between the close and ATR value of each bar.
VWAPVolume Weighted Average PriceThe Volume Weighted Average Price (VWAP) is similar to a moving average, however incorporates the days volume value into its calculation. The VWAP tool is used on Intraday timeframes, and represents the dollar value of all trading periods divided by the total trading volume for the current day.
VWMAVolume Weighted Moving AverageThe Volume Weighted Moving Average or VWMA is similar to a Moving Average, however, it incorporates volume in its calculation.
FunctionNameDescription
WEEKWeekly DataAllows you to override the default time frame a script is placed on and reference Weekly values instead.
WITHINRANGEWithin RangeThe WithInRange() function allows you to find where a value is within x% of another value. For example, where the closing price of a stock is within 5% of the all-time high.
WRWilliams %RWilliams %R is a momentum indicator developed by Larry Williams that measures overbought and oversold levels.
WRPCWilson Relative Price ChannelLeon Wilson’s article in the July 2006 Stocks and Commodities magazine, “The Wilson Relative Price Channel”, introduces a new way to show overbought and oversold conditions. For more information, please refer to Leon’s 3rd book, “Breakthrough Trading
WVSWilder Volatility StopThe Wilder Volatility Stop plots a trailing stop calculated from Welles Wilder”s Average True Range calculation. The stop can be used on both bull and bear markets with the stop line plotting above the price in a downtrend and below the price on an uptrend.
WYTQWyler Kinetic EnergyThis tool, based on the theories of Joseph A. Wyler from the 1900’s, uses a unique calculation for measuring the Kinetic Energy of any security.
FunctionNameDescription
XBARSTOPX Bar Trailing StopAllows you to set a stop. Requires the Gartley Module.
FunctionNameDescription
YEARYearly DataAllows you to override the default time frame a script is placed on and reference Yearly values instead.
YEARNUMYear NumberReturns the year as an integer (ie 01-01-2017 to 31-12-2017 would return a value of 2017).
FunctionNameDescription
ZSCOREZ-ScoresZ-Score is used in statistics to determine the number of standard deviations a data point is away from the mean value of what is being observed or measured.

Choose which categories of cookies you allow. Strictly-necessary cookies are always on. You can change this any time via the "Cookie Settings" link in the footer.

  • Functional

    Remember preferences like dismissed banners and your dark-mode choice.

  • Analytics

    Help us understand how the site is used so we can improve it.

  • Marketing

    Measure our advertising and help us reach people who may be interested in Optuma.