Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Platinum Customer
Joined: 1/30/2005 Posts: 135
|
Is it possible to do a condition where SwingTrd2 is crossing up through SwingTrd3 in TC2000?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It isn't possible to create a Condition Formula for this because the resulting Condition Formula would be way too long and slow to be practical or post in the forums.
It is possible to create a condition for this by plotting SwingTrd2 and SwingTrd3 using then information in the RMO topicand then clicking on one of the indicators and selecting Create Scan Condition to create the condition.
Create Conditions from Your Chart (5:25)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Platinum Customer
Joined: 1/30/2005 Posts: 135
|
When I click on SwingTrd2 I can do a cross with SwingTrd1 but nothing displays for SwingTrd3.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
As long as SwingTrd1, SwingTrd2 SwingTrd3 and RMO are all plotted in the same pane and scale as each other you should be able to create conditions comparing one of the four to any of the other three by clicking on it and selecting Create Scan Condition.
So my first suggestion is to make sure the indicators you wish to compare are both plotted in the same pane and scale.
Indicator Scaling (2:38)
You may need to scroll up and down the list to find all of the indicators after selecting Create Scan Condition. You may need to expand a section by selecting the + next to its name.
Collapsing the section for one of the indicators by clicking on the - next to its name may make it easier to find the other indicators after selecting Create Scan Condition.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Platinum Customer
Joined: 1/30/2005 Posts: 135
|
I must be doing something wrong. If data source for SwingTrd2 is SwingTrd1 and data source for SwingTrd3 is SwingTrd2 then no data values display for SwingTrd2 or 3. And I still only get SwingTrd1 as a cross option for SwingTrd2. If I put the pcf code for SwingTrd1 in SwingTrd2 then I get good values for SwingTrd2. But I still cannot get data for SwingTrd3.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
SwingTrd1 is a Custom PCF Indicator and just uses the formula with the Period set to 1 and the Data Source set to Price History. It is optional to plot SwingTrd1 at all if you are using Custom PCF Indicators to create SwingTrd2 and RMO).
100 * (C - (1023 * C + 2036 * C1 + 1981 * C2 + 1816 * C3 + 1486 * C4 + 1024 * C5 + 562 * C6 + 232 * C7 + 67 * C8 + 12 * C9 + C10) / 10240) / (MAXC10 - MINC10)
SwingTrd2 can be done two different ways.
- SwingTrd2 can be a Custom PCF Indicator which just uses the formula with the Period set to 30, the Average Type set to Exponential and the Data Source set to Price History.
- SwingTrd2 can be a 30 period exponential moving average indicator applied to SwingTrd1 (so the data source of a Moving Average - Exponential indicator would be set to SwingTrd1).
SwingTrd3 needs to be a 30 period exponential moving average indictator applied to SwingTrd2 (so the data source of a Moving Average - Exponential indicator would be set to SwingTrd2).
RMO can be done two different ways.
- RMO can be a Custom PCF Indicator which just uses the formula with the Period set to 81, the Average Type set to Exponential and the Data Source set to Price History.
- RMO can be an 81 period exponential moving average indicator applied to SwingTrd1 (so the data source of a Moving Average - Exponential indicator would be set to SwingTrd1).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Platinum Customer
Joined: 1/30/2005 Posts: 135
|
Got it. I needed to make SwingTrd3 a moving average with source SwingTrd2. Thanks for your help
|
|
Registered User Joined: 9/17/2010 Posts: 484
|
"It isn't possible to create a Condition Formula for this because the resulting Condition Formula would be way too long and slow to be practical or post in the forums."
Would I be correct in assuming that this statement (really the logic behind it) would preclude plotting something (like a dot) on a chart?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Yes, you would be correct. The reason being that you have to be able to calculate the formula in order to plot the dot.
That said, the Personal Criteria Formula Language has evolved since this was first posted.
XUP(XAVG(100 * (C - (1023 * C + 2036 * C1 + 1981 * C2 + 1816 * C3 + 1486 * C4 + 1024 * C5 + 562 * C6 + 232 * C7 + 67 * C8 + 12 * C9 + C10) / 10240) / (MAXC10 - MINC10), 30), XAVG(XAVG(100 * (C - (1023 * C + 2036 * C1 + 1981 * C2 + 1816 * C3 + 1486 * C4 + 1024 * C5 + 562 * C6 + 232 * C7 + 67 * C8 + 12 * C9 + C10) / 10240) / (MAXC10 - MINC10), 30), 30))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/17/2010 Posts: 484
|
Thanks. With the "new" formula above I've added an entry and (changing to a XDown) an Exit signal to the chart. Seems to work
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |