Knowledge Base
Formula Functions & General Interface
Overview
Optuma brings you one of the easiest to use formula languages ever seen in trading platforms. Many of the modules in Optuma use this language (such as the Back Tester and Scanning Manager) providing you with a level of customisation previously unavailable.
The following tools and modules can be used with custom formulas:
 Scanning Manager
 Signal Tester
 Back Tester
 Watchlist Analysis Columns
 Alerts
 Show Bar
 Show Plot
 Show View
 Analysis Tiles
 Analysis Cluster
 Custom bar/candlestick colours
 Create your own custom tool/indicator
 Market Intelligence Charts
 Bubble Charts
 Size Charts
 Market Breadth module
 Custom Code Builder
 Chart Headers
Scripting Video Tutorials
Sign in here to watch a series of scripting language tutorial videos.Scripting Forum
Click here for the Optuma Scripting forum page to post / view questions on creating specific formulas and scripts.General Interface
The following is the interface that displays when selecting the Script Manager in Optuma (located under the Settings menu).When the Script Manager is accessed it is ready for you to add a new custom formula, you just need to enter a name for the script and then type the formula in the window beneath the Script Name. When complete leftclick the Update Button.
Optuma includes a list of preprogrammed scripts/formulas that you can use. These are listed in the lefthand pane of the Script Manager under Default Scripts. You can search for any default or created scripts by just typing the name of the script you are looking for in the Type to search field.
Formula Interface
The interface for using formulas is extremely userfriendly:
As soon as you start typing in a formula field, you will see a list of functions or operations that are available for you to enter. The more letters you type, the more the list is reduced to only show items that match what you are typing.
Formula Breakdown
A formula you create can contain any or all of the following parts:
Functions: A function, such as MA(), represents an existing calculation or indicator (in this case a Moving Average) and you can enter adjustments for the function within its parentheses. Each function has a specific adjustment syntax.
Constants: You can also enter constants, such as numbers, directly into a formula.
Operators: Operators are the symbols that are used to specify the type of calculation that you want the formula to perform. For example, the * (asterisk) operator multiplies numbers.
Colour Coded Lines
In the Script Manager there are some colours used to highlight various items.
 Comment Lines will be displayed in Green text.
 When working between two parentheses the starting ( and the closeing ) will be highlighted in Blue.
 When setting up variables, if there is a naming conflict (already in use for example) the text will display in Red.
Function Adjustments
Each function available in Optuma has a number of properties that can be adjusted (number of bars used to calculate a Moving Average, for example).
Rather than having to commit the syntax to memory, Optuma simplifies this process by providing you with a properties panel identical to the one available in the Control panel.
Once a function is added to the formula, leftclick on the empty parentheses and the properties panel will display:
As you made adjustments in the panel, the formula will be updated automatically to include the function adjustments.
More Information
From Optuma v1.5 and later the menus within each script function will include a More Information link you can click. This will automatically take you to a Knowledge base article that covers the script, or the underlying tool the function represents in more detail.
Script Caching
In Optuma v1.3 a new caching system was introduced into Optuma Scripts to improve performance and reduce resource load when using scripts that refer to an offset / previous value. Scripts using the SELF() or VARIABLE[1] functions will now run much faster in Optuma v1.3 and require less memory / CPU processing power.
Function List
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.
Function  Name  Description 

ABS  Absolute Value  Ensures the value output of the script is a positive number. 
ACC  Accumulate  Combines the values over a selected period (similar to SUM). 
ACCB  Acceleration Bands  Acceleration 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. 
ACCSINCESIGNAL  Accumulate Since Signal  Takes 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. 
ACTIVEWEIGHT  Active Weight  Makes reference to the active weight (requires Bloomberg data). 
ADX  Average Directional Movement Index  The 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. 
AMA  Adaptive Moving Average  Developed by Perry Kaufman the Adaptive Moving Average is a single average which dynamically varies its own length, typically from a 2period to a 30period average, according to the degree of volatility and directionality in the market. 
ARCCOS  ArcCos  The arccosine of x is defined as the inverse cosine function of x when 1≤x≤1. 
ARCSIN  ArcSin  The arcsine of x is defined as the inverse sine function of x when 1≤x≤1. 
ARCTAN  ArcTan  The arctangent of x is defined as the inverse tangent function of x when x is real (x∈ℝ). 
AROON  Aroon  The 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. 
AROONOSC  Aroon Oscillator  The 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. 
ARR  Annual Rate of Return  Use to calculate the annual rate of return over a userdefined period. 
ASPECTS  Aspects  Used with the PVAL() function to allow the search of vairious aspects (Conjunction, Sextile, Square, etc) between two or more planets. 
ATR  Average True Range  Average 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. 
ATRTSCAN  ATR Trailing Stop Scan  Average 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. 
AUTOCORR  Auto Correlation  Auto correlation (also referred to as crossautocorrelation or serial correlation) is the correlation of a chart with itself at different points in time designed to highlight repeating patterns within a chart. 
AVBT  Average Volume By Time  This indicator shows the current day''s volume bars compared to the same bars over a userdefined 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) 
BARCOUNT [NEW]  BarCount  Use this in a Show Plot to calculate an average of all bars being loaded. 
BARDATE  BarDate  This function takes the date of a bar and converts it into an integer. For example 19062017 = 42902 
BARROMCONTRATREND  BarroM Contratrend Scan  A scan based on the methods of Ray Barros which look for specific movements on the Midos SI and Value Chart indicators. 
BARROSAVGVOL  Barros Swing Average Volumes  The Barros Swing Average Volume tool, provides an average value for volume of bars contained within an initial, mid or final Barros Swing. 
BARROSSWING  Barros Swing  The 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. 
BARSTRUE  Bars True  Used 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). 
BARTYPES  Bar Types  Allows you to search for specific Bar Types in a script (eg Outside Bar, Inside Bar, Higher than Previous Day, etc). 
BB  Bollinger Bands  Bollinger 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. 
BBW  Bollinger Bandwidth  The 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. 
BETA  Beta  The 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). 
BPB  Bollinger Percent B  The Bollinger %B tool is similar to the Stochastic tool, however the range is calculated from the Bollinger Bands rather than actual price. Whereas Stochastics 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. 
BREADTHDATA  Breadth Data  The Breadth tool requires access to the Bloomberg Terminal. When applied to an equity the Breadth data for the parent index is used automatically. For example, a US Equity will display the S&P500 Advance Decline Breadth values. 
CAD  Chaikin A/D Line  The 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. 
CANDLESTICKPATTERN  Candlestick Pattern  Allows you to search for a number of common candlestick chart patterns (Bullish Engulfing, Doji, etc). 
CAPP  Close Above Previous Peak  A simple tool that shows the bar closes above previous peak. 
CBPT  Close Below Previous Trough  A simple tool that shows the bar closes below previous trough. 
CCI  Commodity Channel Index  Commodity 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. 
CHANGE  Percentage Change  Show the change in value (as a percentage) measured over x number of bars. 
CHANGESINCESIGNAL

Change Since Signal  Displays the change in price (value or percentage) since a triggered signal. 
CHARTPATTERN  Chart Pattern  Allows you to search for a specific chart patterns such has AB=CD, etc. 
CHARTPATTERNOVERLAY  Chart Pattern Overlay  Highlights common chart patterns (both bullish and bearish) including multiple patterns at once. 
CHOPPINESSINDEX  Choppiness Index  The 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. 
CHST  Chandelier Stop  The 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. 
CI  Composite Index  The Composite Index is a proprietary tool, developed by Constance Brown from Aerodynamic Investments Inc. For more information, please visit https://aeroinvest.com/ 
CIDX  Congestion Index  Congestion 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. 
CLAH  Close Above Days high  A simple tool that shows the bar closes above previous highest high over a user selected period (5 bars by default). 
CLBL  Close Below Days Low  A simple tool that shows the bar closes below previous lowest low over a user selected period (5 bars by default). 
CLOSE  Close  The close function returns the closing value of each bar of the source data 
CLU  Time Clusters  A 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. 
COI  Coppock Indicator  The 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. 
CORREL  Pearson's Correlatin Coefficient  The Pearsons 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. 
COS  Cosine  The trigonometric function that is equal to the ratio of the side adjacent to an acute angle (in a rightangled triangle) to the hypotenuse. 
COSC  Chaikin Oscillator  The 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. 
COUNTBACKLINE  Countback Line Scan  Based off the Countback Line Entry and Exit indicators found in the Guppy Tool Group. 
COUNTMATCH  Count Match  Used 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). 
COUNTMATCHSINCESIGNAL

Count Match Since Signal  How many times has X occurred since Y. Requires two boolean scripts. 
CRL  Correlation  This tool requires two overlayed securities. When available, the tool will show how closely the two securities are correlated. 
CSPO  Candlestick Pattern Overlay  This overlay tool allows you to highlight different Candlestick patterns, including multiple patterns at once. 
CV  Clark Volatility  Clark Volatility takes the unique volatility calculation proposed by Dr Kalvert Clark and turns them into a handy tool. 
DARVASBOXSCAN  Darvas Box Scan  Allows you to look for Darvas boxes over a data set. (Requires Guppy Tools). 
DATAFIELD  External Data Field  Allows 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). 
DAY  Daily Data  Allows you to set the time frame of the function to Day values when the underlying data is a different time frame (ie Weekly, etc). 
DAYNUM  Day Number  Shows the Day of the Month (as an integer) oscillating between 1 and 31. For example October 18 would return 18 as the value. 
DD  Days Down  The Days Down indicator is a visual representation of the number of consecutive days that current price is lower than previous price. 
DEGTORAD  Degree To Radian  Converts an output returned in Degrees into Radians 
DHTSCAN  Days High Trailing Stop Scan  Days 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. 
DI  Demand Index  The 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. 
DIAR  Days In A Row  The Days In A Row indicator shows the bar that has a user selected consecutive period (2 bars by default) where current price is higher or lower than previous price. (Down / Lower by default) 
DIP  Dip  The Dip takes the lowest low percentage over last 3 periods. The percentage is the amount change between each closing and the minimum value from its penultimate low and antepenultimate open. 
DISP  Displacement  The Displacement tool uses an ATR and a moving average, and calculates the ratio difference of the ATR and the change between current bar average and moving average. 
DIVERGENCE  Divergence Signal  Apply to any view tool applied to the chart to highlight areas of divergence between the indicator and the charts price. 
DLTSCAN  Days Low Trailing Stop Scan  Days 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. 
DLU  Home Trader Displacement Long US  The Long Displacement US indicator uses an ATR and the highest high over a user selected period (7 bars by default), and calculates the difference between the highest high and the change of ATR. 
DMPA  Dynamic Market Portfolio  The Dynamic Market Price Analysis is an intraday variant of Peter Steidlmayer''s original MPA tool. 
DOMENV  Hurst Dominancy Envelope  The Dominancy 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. 
DONCH  Donchian Channel  Donchian 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. 
DROSC  Derivative Oscillator  The Derivative Oscillator is a proprietary tool, based on the work of Constance Brown from Aerodynamic Investments Inc. For more information, please visit https://aeroinvest.com/ 
DSU  Home Trader Displacement Short US  The Short Displacement US indicator uses an ATR and the lowest low over a user selected period (7 bars by default), and calculates the difference between the lowest low and the change of ATR. 
DTB  DGL Trade Bands  DGL 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. 
DU  Days Up  The Days Up indicator is a visual representation of the number of consecutive days that current price is higher than previous price 
DVANBSP  DVAN Buy/Sell Pressure  The 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. More Information: http://divergenceanalysis.com/ 
DVANLONGTERM  DVAN LongTerm  The 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. More Information: http://divergenceanalysis.com/ 
DVANSHORTTERMCYCLE  DVAN ShortTerm Cycle  The 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. More Information: http://divergenceanalysis.com/ 
DVANSMLS  DVAN Smart Lines  The 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. More Information: http://divergenceanalysis.com/ 
DVANTRENDING  DVAN Trending  The 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. More Information: http://divergenceanalysis.com/ 
DVANTRENDSIG  DVAN Trend Signals  The 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. More Information: http://divergenceanalysis.com/ 
DVI  Divergence Index  The divergence index takes the volatilityadjusted 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. 
EARNINGS  Earnings  Displays the Earnings information for a selected security (requires Bloomberg data). 
ECL  Eclipse  The Eclipse tool graphically displays on the chart the dates that Solar and/or Luna Eclipses occur. 
EXP  Exponential  Exponential is a math function similar to Power() but with the default base e (e equals 2.71828182845904) 
FI  Force Index  Force Index is an indicator designed to measure price change in relation to volume. 
FIELD  Latest Field Value  Similar to the DataField function, you can select EFDs, Fundamental data or Watchlist columns, however only the latest value will be returned. 
FIRST  First Value  Returns 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). 
FLD  Hurst Future Line of Demarcation  The 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 pasttime price objectives with actual price movement, Pricemovement 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 before 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). 
FLOOR  Floor  The Floor function is used to round down. 
FO  Forecast Oscillator  The Forecast Oscillator compares the actual price to the Time Series Forecast and calculates a percentage between 100% and +100%. 
FORECAST  Forecast  The 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, PreTax Profit, Operating Profit, Net Asset Value. This information is sourced from Bloomberg and requires a connection to Bloomberg Terminal. 
FOURIER  Fourier Wave  In 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. 
FT  Fisher Transform  The 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. 
FUNDWEIGHT  Fund Weight  If a Fund Weight value has been assigned to a symbol via EDF, or Bloomberg, you can reference this value in your scripts using this function. 
FX  FX  Allows you to convert a value into a different currency. 
GANNSWING  Gann Swing  Allows you to reference Gann swing points (Swing Start, Swing End, etc) in a script. 
GETDATA  GetData  Allows you to pull in data from a specific data code to reference in a script. [NEW: Now supports option to Use Source Timeframe] 
GMA  Guppy Multiple Moving Average  The 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 shortterm group are 3, 5, 8, 10, 12 and 15 day exponential moving averages. The longterm group is made up of 30, 35, 40, 45, 50 and 60 day exponential moving averages. 
GPA  Gann Price Angle  Converts price into an angle for use in Gann planetary indicators where price as an angle is measured against other angle tools. 
GPS  Gartley Scan  Used to search for Gartley Patterns (bullish and bearish). Requires the Gartley tool group. 
HAAT  HA Adaptive Trend  HA Adaptive Trend is an indicator which is part of the Ferrera tool group. 
HAATC  HA Adaptive Trend Change  HA Adaptive Trend Change is an indicator which is part of the Ferrera tool group. 
HAATO  HA Adaptive Trend Overlay  HA Adaptive Trend Overlay is an indicator which is part of the Ferrera tool group. 
HAC  HeikinAshi Candles  This function allows you to take a standard candlestick chart and covert the data into HeikinAshi values. 
HARTSWING  Hart Swing  The 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. 
HBS  Hundred Base  xxx 
HBT  Hilbert Transform  The 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. 
HIDDEN  Hidden  The Hidden() function  in conjunction with an IF() statement  allows you to hide a plot until certain criteria are met. 
HIGH  High  The high function returns the highest value of each bar of the source data. 
HIGHERTIME  Higher Time Moving Average  The 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. 
HIGHESTHIGH  HIghest High  Allows 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. 
HIGHESTSINCE  Highest High Since Signal  Allows 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. 
HLTR  Helion Transits  The Helion transits tool will plot the times that selected planets are at Aphelion and Perihelion during their orbit. 
HMA  Hull Moving Average  A moving average (weighted) based on Allan Hulls published calculations. For more information on this tool please visit Alan''s website  http://www.alanhull.com/ 
HMMA  Hull Multiple Moving Average  The 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 further information relating to the application of this tool visit www.alanhull.com 
HPI  Herrick Payoff Index  Developed 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. 
HPP  Highest Price Period  Highest Price Period uses the highest high over a user selected period (240 bars by default), and finds the bars where its current high is greater than the highest high. 
HTB  Home Trader Band  Home Trader Bands are based on a standard Moving Average. The actual band lines are offset by a positive and negative ATR value from the central moving average value, to provide upper and lower bands. 
HTBE  Home Trader Band Extension  Home Trader Band Extensions are based on Home Trader Bands. It is horizontally offset by 1 from Home Trader Bands. 
HTHHB  Home Trader Highest High Band  Home Trader Highest High Band uses ATR. The actual band lines are offset by a positive and negative ATR value from the highest high over a user selected lookback period (5 bars by default). 
HTLLB  Home Trader Lowest Low Band  Home Trader Lowest Low Band uses ATR. The actual band lines are offset by a positive and negative ATR value from the lowest low over a user selected lookback period (5 bars by default). 
HTMT  Minimum Turnover  Minimum Turnover uses the moving average and moving average volume, and calculates the lowest low turnover over a user selected lookback period (50 bars by default) 
HTPE  Home Trader Price Extension  Home Trader Price Extension uses an ATR, and calculates the ratio difference of the ATR and the change between current price and a user defined lookback price (3 bars by default). 
HTT  Home Trader Turnover  Home Trader Turnover provides a better indication of the average liquidity of a security. i.e. the average dollar value of the security that has turned over for the selected time period. 
HV  Historical Volatility  A 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. 
HVB  Historical Volatility Bands  Taking 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. 
ICHIMOKUCLOUD  Ichimoku Cloud  The 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. 
IF  If  Allows 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. 
IMPULSERIPPLES  Impulse Ripples  The Impulse Ripples tool uses a proprietary Optuma algorithm to identufy 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. 
INDEX  Index  Allows 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&P500). 
INERTIA  Inertia Indicator  The 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. 
INV  Inverse  Allows 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). 
INVMA  Hurst Inverse Moving Average  The 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 the spot the cycles, this tool helps with that. Hurst often referred to this as an "Inverse HalfSpan Average" 
ISMEMBER  Is Member  Will show a true results when the underlying chart is a member of the selected index (S&P500 for example) and a false result when it is not a member. Requires Optuma Symbol Lists. 
ISTICKER  Is Ticker  Returns 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. 
JDKRS  RRG Lines  The RRG Lines tool is a proprietary tool, based on the work of Julius de Kempenaer. 
KAGISWING  Kagi Swing  Kagi 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. 
KC  Keltner Channel  Keltner 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. 
LAST  Last Value  Displays only the last value of a script or data point. 
LN  Natural Log  Allows you to apply a Natural Logarithm to the script value. 
LOG  Log 10  Allows you to apply Log 10 to the script value. 
LOGN  LogN  xxx 
LOW  Low  The low function returns the lowest value of each bar of the source data 
LOWESTLOW  Lowest Low  Allows 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. 
LOWESTSINCE  Lowest Low Since Signal  Allows 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. 
LPP  Lowest Price Period  Lowest Price Period uses the lowest low over a user selected period (240 bars by default), and finds the bars where its current low is less than the lowest low. 
LRINT  Linear Regression Intercept  The 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. 
LRSLOPE  Linear Regression Slope  The 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. 
LTTR  Latitude Transits  The Latitude Transits tool will plot the times that selected planets are at maximum North and South latitude during their orbit. 
MA  Moving Average  A 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. 
MAA  Moving Average Angle  Moving Average Angle uses an ATR and a moving average, and calculates the ratio difference of the ATR and the change between current average and a user defined lookback average (2 bars by default). 
MAB  Moving Average Bands  Moving 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. 
MACD  MACD Histogram  A 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 
MACLUSTERSCAN  MA Cluster Scan  Allows you to search for the convergence or divergence of 3 (user defined) Moving Averages. 
MAX  Maximun  Allows 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. 
MDM  Minus Direction Movement  xxx 
MFI  Money Flow Index  Money 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. 
MIDAS  Midas  The 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. 
MIN  Minumum  Allows 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. 
MINUTE  Minute Data  Allows you to override the default time frame a script is placed on and reference miniute values instead (requires Intraday data access). 
MKF  Market Facilitation Index  The Market Facilitation Index is an indicator that relates price range to volume. This is calculated as MKF = (High  Low) divided by Volume 
MOD  Modulo  The 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. 
MOMENTUM  Momentum  The 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. 
MONTH  Monthly Data  Allows you to override the default time frame a script is placed on and reference Monthly values instead. 
MONTHNUM  Month Number  Allows you to represent the month as an integer (between 1  12). 
MOON  Moon Phases  The Moon Phases tool graphically displays on the chart the dates for the First Quarter, Full Moon, Third Quarter and New Moons. 
MOONTR  Apogee Perigee  The Apogee and Perigee mark the times when the moon is closest and furthest from Earth in its orbit around Earth. 
MOVR  Moving Retracement  The 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. 
MSI  Midos SI  The MIDOS SI tool was developed by Dennis McNicholl and is documented in his book ''Taming complexity in Trading: beating the DOW 3 to 1''. 
MVWAP  Moving Volume Weighted Average Price  The Moving Volume Weighted Average Price (MVWAP) is a longer term tool which is in essence an averaged value of multiple VWAP indicators. 
NA  Natal Transits  The 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. 
NONZERO  NonZero  A quantity which does not equal zero is said to be nonzero. Useful when using boolean conditions. 
NOREPEAT  No Repeat  On 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. 
NUMSEARCHER  Number Searcher  The Number Searcher tool will display lines and labels between price swings for time (both calendar days and bars) and price, based on userdefined values. The tool can help save you a lot of time identifying specific cycles or patterns on a chart. 
OBV  OnBalance Volume  On Balance Volume is an oscillator, which relates price movement to volume. 
OBVP  OnBalance Volume %  On Balance Volume is an oscillator, which relates price movement to volume and is displayed as a percentage. 
OFFSET  Offset  This 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. 
OI  Open Interest  Open 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. 
OPEN  Open  The open function returns the opening value of each bar of the source data 
OPTEX  Optex Bands  The 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. 
OPTTRIG250  Optex Trigger 250  This tool will highlight any bar where the BQ Line of an OPTEX Band touches the level 2 blue line. 
OPTTRIG250T  Optex Trigger 250 Trend  This tool will highlight any bar where the OPTEX Band touches the level 2 blue line and the main trend is up. 
OPTTRIG300  Optex Trigger 300  This 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. 
OPTTRIG300T  Optex Trigger 300 Trend  This 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. 
OSC  Oscillator  An 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). See Moving Averages for more information. 
OSOB  Oversold & Overbought  A 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. 
PA  Planetary Aspects  The Planetary Aspects tool will display the dates any user selected planetary relationship occurs. 
PAG  Planetary Angles  The Planetary Angles tool graphically displays on the chart the dates where a selected planet passes a user specified angle. 
PARENT  Parent  Is similar to Security() but it just gets the source of whatever tool it is added onto. 
PATTERNMATCHER  Pattern Matcher  The 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. 
PCLU  Price Clusters  A 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. 
PDC  Declination  The 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). 
PDI  Time By Planetary Degrees  The 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. 
PDM  Plus Direction Movement 

PEAK  Peak  The Peak indicator shows the highest high over a user selected period (2 bars by default). 
PEAKTROUGH  PeakTrough 

PERCENTSWING  Percent Swing  The 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. 
PERFORMANCE  Performance  Measures 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%. 
PERIODOGRAM  Periodogram  Based 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. 
PGT  Planetary Geometry  The 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. 
PI  Percentage Increase  The 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. 
PID  Peak ID  Peak ID is a visual representation of the bars that has positive moving average gradient where current average price is greater than previous average price. 
PIVOT  Pivot Function  The 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). 
PIVOTPOINT  Pivot Point  The 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). 
PLD  Planetary Decans  The 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. 
PLS  Planetary Signs  The Planetary Signs tool highlights the zodiac zone on a chart, indicating the transition of a selected planet as it moves though each zone. 
PLSC  Planetary Sign Changes  A boolean function which shows a true result on the date a selected planet moves from one house to another house on the ephemeris (eg Mars moves from Cancer to Leo). Planets and Houses can be enabled / disabled within the script function. 
PLT  Planetary Latitudes  For the given planet, shows the times when the Latitude is at the Max North and Max South. 
POINTSWING  Point Swing  The 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. 
POSC  Price Oscillator  The 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. 
POWER  Power  Used to raise to a power eg POWER(CLOSE(), POWER=2) to square the closing price 
PRICEATSIGNAL  Price At Singal  Allows 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. 
PRLTR  Parallel Transits  The Parallel Transits tool displays the dates where two selected planets have a declination parallel to each other, or a declination contraparallel to each other. 
PSAR  Parabolic Stop & Reverse  The 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. 
PSP  Planetary Speed  Measures the variation in a selected planets Longitude speed and displays the oscillation below the chart. 
PVAL  Planet Value  Allows 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. 
QQE  Quantitative Qualitative Estimation  The 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 doublesmoothed exponentially and multiplied to provide the Fast and Slow trigger lines. 
QUARTERNUM  Quarter Number  Allows you to represent the yearly quarter as an integer (between 1  4). 
RADTODEG  Radian To Degree  Converts Radian values into Degree values. 
RANGECHART  Range Chart  A 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 userdefined 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 nonvolatile 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. 
RATCHET  Ratchet  The Ratchet function allows a script plot to only increase in value (or vice versa), typically used in scripting stops. 
RECOILS  Recoils  The 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. 
RFE  Range From Extremes  The 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 6month high: RFE(BACKTYPE=Months, BARS=6, DEFAULT=High) 
RI  Return of Interest  The 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. 
RIC  Relative Index Comparison  The Relative Index Comparison tool shows the difference between two percentage increases from the code the tool is applied to, and a selected index. 
RL  Planetary Retrograde  The Planetary Retrograde tool highlights the range on a chart where a selected planet is in retrograde. 
ROA  Hull Rate of Annual Decline/Return  The 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. 
ROAR  Hull Rate of Annual Return  The 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. 
ROC  Rate Of Change  Rate 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. 
ROUND  Rounding  The Round() function in scripting allows you to directly control the decimal places a script value outputs and works with. 
RRR  Risk Reward Ratio  Built 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. 
RSI  RSI  The 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 & Averages  The RSI & Averages is a proprietary tool, based on the work of Constance Brown from Aerodynamic Investments Inc. For more information, please visit https://aeroinvest.com/ 
RV  Relative Volatility  The 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. 
RVI  Relative Vigor Index  The Relative Vigor Index compares the closing price relative to its price range which is then smoothed by a moving average. 
RVII  Relative Vigor Index Indicator  The 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. 
RVIND  Relative Volatility Index  The 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 userdefined period) displaying values between 0 to 100. 
SCRIPT  Script Function  Allows you to reference a previously saved script for use in a new script. 
SECTORDATA  Sector Data  Uses the Bloombergs Index information to plot the codes underlying Index (including Level 1  4 where supported). 
SECURITY  Security  Will 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. 
SELF  Self  Allows a script to reference itself (previous value). 
SHADE  Shade  Allows you to add a shaded zone between two scripted plots. 
SIGNALAFTER  Signal After  Allows 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. 
SIN  Sine  Sine is a standard math function. 
SMI  Stochastic Momentum Index  The Stochastic Momentum Index (SMI) is a variant of the Stochastic Oscillator indicator, which shows the distance between the current close and the recent nperiod high/low range. In comparison, the SMI shows where the close is relative to the midpoint of the same range. 
SQ9DATE  Square of 9 Dates  The 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. 
SQ9INT  Square of 9 Planetary Intervals  The 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. 
SQRT  Square Root  Square Root is a standard math function. 
STD  Standard Deviation  Standard Deviation is a statistical measure of volatility. It is normally applied together with other indicators. 
STLB  Stoller Bands  Stoller 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. 
STOCH  Stochastic  A 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. 
STOCHSCAN  Stochastic Scan  Coming Soon 
STOP  Stop  Coming Soon 
STOPLOSSSCAN  Point Percent Stop Loss Scan  Coming Soon 
STRDATE  StrDate  Coming Soon 
STUTSCAN  Short Term Up Trend Scan  Coming Soon 
SVTS  Short Volatility Trailing Stop  Coming Soon 
SWINGDOWN  Swing is Down  The swingdown function returns the value 1 when there is a down swing from the source data 
SWINGEND  Swing End  The swingend function returns the end value of each swing of the source data 
SWINGINDEX  Swing Index  Coming Soon 
SWINGSTART  Swing Start  The swingstart function returns the start value of each swing of the source data 
SWINGSTAT  Swing Statistics  The 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. 
SWINGUP  Swing is Up  The swingup function returns the value 1 when there is an up swing from the source data 
SWITCH  Switch  SWITCH() 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 uppervalue target and a different lower value target as true / false flags. 
SYSTEMTEST  SystemTest  Coming Soon 
TAN  Tangent  Tangent is a standard maths function. 
TARGET  Target  Coming Soon 
TBD  Time By Solar Degrees  The 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. 
TBF  Midas Top/Bottom Finder  Using the Midas rules with an exponential factor, this tool is useful for finding changes in Trend. 
TBSYN  Time By Synodic Degrees  Time 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. 
TDI  Traders Dynamic Index  The Trading Day Intervals tool creates a number of vertical lines on the chart based on a userspecified number of trading days. The intervals are calculated from an initial point known as the Anchor point. 
TEMP  Temperature  Temperature is an oscillator that follows price movement. It follows certain rules to display values from 5 to 5. 
TID  Trough ID  Trough ID is a visual representation of the bars that has negative moving average gradient where current average price is less than previous average price. 
TIMESINCESIGNAL  Time Since Signal  Allows 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. 
TO  Turn Over  Turnover 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. 
TRENSTR  Trend Strength  Trend Strength uses an ATR and two moving averages. It calculates the difference of the moving averages and find the relationship between ATR and change of averages. 
TRIX  TRIX  The TRIX tool is an oscillator used to identify oversold and overbought FX markets. It can also be used as a momentum indicator. 
TROC  True Rate of Change  The 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). 
TROUGH  Trough  The Trough indicator shows the lowest low over a user selected period (2 bars by default). 
TRUERANGE  True Range  Coming Soon 
TSI  True Strength Index  The 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. 
UO  Ultimate Oscillator  Developed 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. 
VAD  Volume Advance Decline  The Volume Advance/Decline tool displays the cumulative advances and declines in a securities volume. 
VALUEWHEN  Value When Signal  Allows 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. 
VBM  Volatility Based Momentum  The 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. 
VBSR  Volatility Based Support & Resistance  Volatility Based Support and Resistance is a volatility tool that defines important support and resistance zones on a chart. 
VC  Value Chart  Value Charts are used to determine bullish and bearish divergences, or is used as a trading filter. 
VERGENCE  Vergence  Allows 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). 
VLU  Home Trader Velocity US  Home Trader Velocity US indicator uses an ATR and a moving average. It calculates the difference between current average and a user selected lookback average, and finds the relationship between ATR and the change of average prices. 
VME  Volatility Momentum End  A tool based on the ND Research work that gives an indication of a possible end to a trend based on volatility momentum. 
VOL  Volume  A visual representation of the number of shares / contracts transacted for the selected time frame. 
VOLAP  Volatility Average Percentage  Volatility Average Percentage indicator is a visual representation of how volatile the current bar is. It finds the ratio between the ATR and the simple average price. 
VOLATILITYSWINGS  Volatility Swings  Coming Soon 
VOLP  Volatility Percentage  Volatility Percentage indicator is a visual representation of how volatile the current bar is. It finds the ratio between the ATR and Closing price. 
VOLUME  Volume  A visual representation of the number of shares / contracts transacted for the selected time frame. 
VPCI  Volume Price Confirmation Indicator  Developed 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. 
VPT  Volatility Profit Taker  Volatility 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. 
VTS  Volatility Trailing Stop  Volatility Trailing Stop line is offset by the highest / lowest amount between the close and ATR value of each bar. 
VWAP  Volume Weighted Average Price  The 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. 
VWMA  Volume Weighted Moving Average  The Volume Weighted Moving Average or VWMA is similar to a Moving Average, however, it incorporates volume in its calculation. 
WEEK  Weekly Data  Allows you to override the default time frame a script is placed on and reference Weekly values instead. 
WEIGHT  Benchmark Weight  If a Benchmark Weight value has been assigned to a symbol via EDF, or Bloomberg, you can reference this value in your scripts using this function. 
WITHINRANGE  Within Range  The 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 alltime high. 
WR  Williams %R  Williams %R is a momentum indicator developed by Larry Williams that measures overbought and oversold levels. 
WRPC  Wilson Relative Price Channel  Leon 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 on this tool please refer to Leon's 3rd book, "Breakthrough Trading" 
WVS  Wilder Volatility Stop  The 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. 
WYTQ  Wyler Kinetic Energy  This tool, based on the theories of Joseph A. Wyler from the 1900s, uses a unique calculation for measuring the Kinetic Energy of any security. 
XBARSTOP  X Bar Trailing Stop  Coming Soon 
YEAR  Yearly Data  Allows you to override the default time frame a script is placed on and reference Yearly values instead. 
YEARNUM  Year Number  Returns the year as an integer (ie 01012017 to 31122017 would return a value of 2017). 