How To Design More Complex Indicator Formulas - TC2000 Help Site
Help articles for TC2000 software, EasyScan stock & option screener, charting, trading functions, technical indicators, company fundamentals, formula writing and troubleshooting.
Search term How to design more complex Indicator FormulasHeading anchor 1. Using Indicator Templates
One way to create more complicated indicator formulas is to use previously created indicator templates. These templates are very similar to what is used for the built-in indicators used for creating basic indicator formulas.
Simple Example: Aroon Oscillator
| Aroon Oscillator | AROONUPx.z - AROONDOWNx.z | x=Period,z= Offset |
You need to substitute numbers (and sometimes even other formulas) for the parameters in order to create an actual formula using the template given in the table.
Tip: The name of the indicator in blue is a link to an article about that indicator which will have an expandable section called Custom PCF Formula which may include additional information about creating formulas for this indicator.
The current Aroon Oscillator 14 can be written as follows.
AROONUP14.0 - AROONDOWN14.0
The offset parameter is not essential because it is optional.
AROONUP14 - AROONDOWN14
More Complex Example: Keltner Channels
| Keltner Channels (Top) | tAVG((Hz + Lz + Cz) / 3 + w * ATR1.z, x) | x=Period, w=ATR_Multiplier, z=Offset, t=AverageType |
The top exponential Keltner Channel 20, 1.50 for the current bar could be written as follows (note the optional parameters are omitted).
XAVG((H + L + C) / 3 + 1.5 * ATR, 20)
While a simple upper Keltner Channel 15, 2.00 for the previous bar could be written as follows.
AVG((H1 + L1 + C1) / 3 + 2 * ATR1.1, 15)
Heading anchor 2. Combining formulas using mathematical operators and functions
The two examples above may seem quite different, but what they share in common is using math to transform or combine numbers and built-in indicators to create more complex indicators.
The Personal Criteria Formula Language has a number of built in mathematical operators and functions, including most of the trigonometric and hyperbolic functions.
You may be familiar with most or all of these operators and functions, but the linked tables above (in blue) list the exact syntax to use in PCFs using a format which is similar to what is used for built-in indicators and indicator templates.
The Aroon Oscillator template given above was created using the built-in indicator templates for Aroon Up and Aroon Down.
| Aroon Indicator (Down) | AROONDOWNx.z | x=Period,z= Offset |
| Aroon Indicator (Up) | AROONUPx.z |
And combining them using the template for subtract or difference from the Mathematical Operators and and Functions table.
| Subtract or Difference (Mathematical Operator) | v - w | v=Numeric,w=Numeric |
Since the Aroon Oscillator is the difference between Aroon Up and Aroon Down, Aroon Up (AROONUPx.z) was substituted for v and Aroon Down (AROONDOWNx.z) was substituted for w in the Subtract or Difference template to get AROONUPx.z - AROONDOWNx.z.
Once you get used to using the mathematical operators and functions you probably aren't going to be using the tables. You may even find it easier to not use the tables at all except as a reference to the exact syntax used for each operator or function in the Personal Criteria Formula Language.
- Prev: How to Design Basic Indicator Formulas (PCFs)
- Next: How to design your own Condition Formulas
Topics
- Download Article PDF
- Generate Manual PDF
- Print Article
TC2000 platform & data subscriptions are offered by TC2000 Software Company ("TCS"). Securities brokerage services are offered by TC2000 Brokerage, Inc. ("TCB"), a registered broker dealer, member FINRA/SIPC. TCS and TCB are separate companies affiliated through common ownership.
TC2000.com | 1-800-776-4940 | PO Box 1139 | Wilmington, NC 28402 | [email protected] | [email protected]
Từ khóa » C H1 Tc2000
-
Indicator Formula Template Table - TC2000 Help Site
-
Indicator Formula Templates | Personal Criteria Formulas (PCF)
-
C XUP H1 - Worden Discussion Forum - TC2000
-
Scanning For Breakout Setups Using Worden TC2000 PCF
-
Indicator PCF For Price Near Pivot - Worden Discussion Forums
-
One Day Reversals / TC2000 Users - TMF
-
Convert Formula From TC2000 To Metastock
-
Script Translation For Tradingview : R/algotrading - Reddit
-
Formulas & Setup - Trading
-
TC2000 Screener To ProRealTime Conversion
-
Form X-17A-5 Tc2000 Brokerage, Inc. - SEC Report
-
Motor Tc 2000 | MercadoLibre
-
[PDF] Peroni Racing Weekend Monza 28-29-30 Maggio 2021