Registered User Joined: 9/30/2011 Posts: 788
|
I ask for a Formula PCF with the following parameters:
Tilson T3 period 4 crossing Up Tilson T3 period 8 - coefficients 1.9 - 09
Thank you and goodbye.
Raider45
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Below are the two formulas. You can plot them on the chart and scale them together. Then you can create a scan condition for the crossover. If you need the crossover formula, I'll let Bruce take a look at it.
T3 4, 1.9
-(1.9 ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC4, 4), 4), 4), 4), 4) + 3 * ((1.9 ^ 2) + (1.9 ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC4, 4), 4), 4), 4) - (6 * (1.9 ^ 2) + 3 * (1.9 + (1.9 ^ 3))) * XAVG(XAVG(XAVG(XAVGC4, 4), 4), 4) + (1 + 3 * 1.9 + (1.9 ^ 3) + 3 * (1.9 ^ 2)) * XAVG(XAVG(XAVGC4, 4), 4)
T3 8, 0.9 (I assumed you meant 0.9, not 09)
-(.9 ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8), 8) + 3 * ((.9 ^ 2) + (.9 ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8) - (6 * (.9 ^ 2) + 3 * (.9 + (.9 ^ 3))) * XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8) + (1 + 3 * .9 + (.9 ^ 3) + 3 * (.9 ^ 2)) * XAVG(XAVG(XAVGC8, 8), 8)
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
I can not draw on the paper, ask the PCF Formula crossing up
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can use the XUP() function for this in TC2000 v17.
XUP(-(1.9 ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC4, 4), 4), 4), 4), 4) + 3 * ((1.9 ^ 2) + (1.9 ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC4, 4), 4), 4), 4) - (6 * (1.9 ^ 2) + 3 * (1.9 + (1.9 ^ 3))) * XAVG(XAVG(XAVG(XAVGC4, 4), 4), 4) + (1 + 3 * 1.9 + (1.9 ^ 3) + 3 * (1.9 ^ 2)) * XAVG(XAVG(XAVGC4, 4), 4), -(.9 ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8), 8) + 3 * ((.9 ^ 2) + (.9 ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8) - (6 * (.9 ^ 2) + 3 * (.9 + (.9 ^ 3))) * XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8) + (1 + 3 * .9 + (.9 ^ 3) + 3 * (.9 ^ 2)) * XAVG(XAVG(XAVGC8, 8), 8))
Version 17 PCF Capabilities
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
No signals, message Error formula
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Make sure you add a "Custom PCF % True Indicator". I just tested the formula and it works.
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
I request a variation of a parameter with the following: replace period 4 with period 3.
Thank you and goodbye
raider45
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Just change all instances of 4 to three in the formula.
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
I changed the parameter but did not generate any signals.
XUP(-(1.9 ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3), 3), 3) + 3 * ((1.9 ^ 2) + (1.9 ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3), 3) - (6 * (1.9 ^ 2) + 3 * (1.9 + (1.9 ^ 3))) * XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3) + (1 + 3 * 1.9 + (1.9 ^ 3) + 3 * (1.9 ^ 2)) * XAVG(XAVG(XAVGC3, 3), 3), -(.9 ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8), 8) + 3 * ((.9 ^ 2) + (.9 ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8) - (6 * (.9 ^ 2) + 3 * (.9 + (.9 ^ 3))) * XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8) + (1 + 3 * .9 + (.9 ^ 3) + 3 * (.9 ^ 2)) * XAVG(XAVG(XAVGC8, 8), 8)) Message Error Formula, View details: Unable to parse number .9 At position 298
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I have replaced every instance of 1.9 in your formula with (19 / 10) and every instance of .9 in your formula with (9 / 10) to get rid of the decimal markers.
XUP(-((19 / 10) ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3), 3), 3) + 3 * (((19 / 10) ^ 2) + ((19 / 10) ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3), 3) - (6 * ((19 / 10) ^ 2) + 3 * ((19 / 10) + ((19 / 10) ^ 3))) * XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3) + (1 + 3 * (19 / 10) + ((19 / 10) ^ 3) + 3 * ((19 / 10) ^ 2)) * XAVG(XAVG(XAVGC3, 3), 3), -((9 / 10) ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8), 8) + 3 * (((9 / 10) ^ 2) + ((9 / 10) ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8), 8) - (6 * ((9 / 10) ^ 2) + 3 * ((9 / 10) + ((9 / 10) ^ 3))) * XAVG(XAVG(XAVG(XAVGC8, 8), 8), 8) + (1 + 3 * (9 / 10) + ((9 / 10) ^ 3) + 3 * ((9 / 10) ^ 2)) * XAVG(XAVG(XAVGC8, 8), 8))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
I would like to know how to put one in the Indicators list to see it on the charts
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you wanted to have the Tilson T3 3-1.9 saved as an indicator, you would use the following Formula in a Custom PCF Indicator.
-((19 / 10) ^ 3) * XAVG(XAVG(XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3), 3), 3) + 3 * (((19 / 10) ^ 2) + ((19 / 10) ^ 3)) * XAVG(XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3), 3) - (6 * ((19 / 10) ^ 2) + 3 * ((19 / 10) + ((19 / 10) ^ 3))) * XAVG(XAVG(XAVG(XAVGC3, 3), 3), 3) + (1 + 3 * (19 / 10) + ((19 / 10) ^ 3) + 3 * ((19 / 10) ^ 2)) * XAVG(XAVG(XAVGC3, 3), 3)
You would then save the Custom PCF Indicator and give it a name.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |