|
Using Logical Operators in Calculations
VB.NET
C#
A function returns a value by assigning a value to the function’s name in one or more statements of the procedure. The return data type of a function is always a Variant. Calculation Inputs and Argument Names
This topic explains in general terms how to add a function to your calculation variable. For examples of how you can use functions in indicators, see the following topics:To Add a Function to a Calculated Calculation
2. Select the Calculation tab.Tip: To work on your function in a larger re-sizeable window, click Full Window.
4. Click New to define the variables for the calculation using the argument names defined in your function. You can create four types of calculation variables: Calculation, filter, global variable, or join path.