FundSetup (Function)

image\trumpet2.gif Disclaimer

The FundSetup  returns a boolean value based on whether the value of a fundamental field meets certain momentum or acceleration-based conditions.  

Syntax

FundSetup(FundField,MomOrAccel_0or1)

Returns (Integer)

The function returns a true value if the momentum or acceleration setup conditions are met for a specified fundamental data field, otherwise false.

Parameters

Name

Type

Description

FundField

String

Specifies the short name of the fundamental data to read.

MomOrAccel_Oor1

Numeric

Sets whether to base the setup conditions on momentum or acceleration.   0 = momentum,   1 = acceleration

Remarks

Fundamentally-based setup conditions are based on the momentum or acceleration  Momentum can be used to evaluate earnings (or other fundamental field) persistence and positive momentum.  Acceleration can be used to evaluate positive acceleration of the fundamental field's value

Fundamental data names are listed in tables under the following categories:

Snapshot, Balance Sheet Assets & Liabilities, Cash Flow, Income, Shareholder Equity

  All units, except share values, are converted to Millions for all periods.  Percentages are returned as whole values (i.e. a value of 26.5 represents 26.5% and not 2650.00%)

See About Fundamental Data in TradeStation for more information about using the fundamental data as part of your fundamental analysis.

Example

Assigns Value1 a true value if the momentum setup conditions for "RNTS" (Net Sales) are positive and false if momentum conditions are negative..

Value1 = FundSetup("RNTS", 0);