Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 9/28/2010 Posts: 7
|
Hi I'm trying to have the following condition in a condition formula
for daily and weekly
close > 9sma and rsi8 > rsi14 > rsi19
I think for the daily the formula is
(c > avgc9) and (rsi8 >rsi14 and rsi14>rsi19 and rsi8>rsi19)
I cannot find a way to set the data source to weekly, do I need the rsi weekly formula in order to be able to do the comparison?
thanks.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Are you doing this in TC2000 version 7 or TC2000 version 12.4? You asked the question in the TC2000 version 7 forum and I show that you do occassionally use TC2000 version 7, but not recently enough that it would have seem to have prompted this question.
If the question is about TC2000 version 12.4, there is a Time Frame drop-down menu available when you create or edit the Condition Formula which can be used to change the time frame (this option is not available in TC2000 version 7).
The other question would be if you are using a Wilder's Smoothed RSI or not. There is a checkbox for this when editing the RSI indicator in TC2000 version 7. There are actually two different indicators available in TC2000 version 12.4. The plain RSI indicator is not Wilder's smoothed while the RSI - Wilder's indicator is Wilder's smoothed.
The Condition Formula you have is for the non-Wilder's smoothed version of RSI. It could be shortened somewhat because the final comparison is not actually necessary.
C > AVGC9 AND RSI8 > RSI14 AND RSI14 > RSI19
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/28/2010 Posts: 7
|
Hi Bruce,
I'm using TC2000 v 12.4 and I'm trying to setup a custom PCF %True indicator with the following condition C > AVGC9 AND RSI8 > RSI14 AND RSI14 > RSI19. I want to setup 2 PCF% true indicators one for the daily and one for the weekly timeframe.
I do see the drop-down menu but only when I write condition formula that can only be applied to a watchlist. I would like to have flags with the chart window.
The paper that I read only showed RSI8>RSI14>RSI19 so I think it is the plain version.
Thanks.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Condition Formula can be used as is when used as the Boolean Formula in a Custom PCF % True Indicator.
C > AVGC9 AN RSI8 > RSI14 AND RSI14 > RSI19
It will create a spike on the chart when it is true in the time frame of the chart. There is no way to create a spike on a weekly chart when the daily version is true or a spike on a daily chart when the weekly version is true in TC2000 version 12.4.
It would be theoretically possible to manually expand the components to create a spike on the chart in a daily time frame in TC2000 version 7 on trading days when when the weekly formula would have been true. This is because the weekly time frame in TC2000 version 7 is based on rolling 5-trading day bars (the weekly time frame in TC2000 version 12.4 is based on calendar weeks).
8 * C > C5 + C10 + C15 + C20 + C25 + C30 + C35 + C40 AND 100 * ((C > C5) * (C5 - C) + (C5 > C10) * (C10 - C5) + (C10 > C15) * (C15 - C10) + (C15 > C20) * (C20 - C15) + (C20 > C25) * (C25 - C20) + (C25 > C30) * (C30 - C25) + (C30 > C35) * (C35 - C30) + (C35 > C40) * (C40 - C35)) / (ABS(C - C5) + ABS(C5 - C10) + ABS(C10 - C15) + ABS(C15 - C20) + ABS(C20 - C25) + ABS(C25 - C30) + ABS(C30 - C35) + ABS(C35 - C40) + .00001) > 100 * ((C > C5) * (C5 - C) + (C5 > C10) * (C10 - C5) + (C10 > C15) * (C15 - C10) + (C15 > C20) * (C20 - C15) + (C20 > C25) * (C25 - C20) + (C25 > C30) * (C30 - C25) + (C30 > C35) * (C35 - C30) + (C35 > C40) * (C40 - C35) + (C40 > C45) * (C45 - C40) + (C45 > C50) * (C50 - C45) + (C50 > C55) * (C55 - C50) + (C55 > C60) * (C60 - C55) + (C60 > C65) * (C65 - C60) + (C65 > C70) * (C70 - C65)) / (ABS(C - C5) + ABS(C5 - C10) + ABS(C10 - C15) + ABS(C15 - C20) + ABS(C20 - C25) + ABS(C25 - C30) + ABS(C30 - C35) + ABS(C35 - C40) + ABS(C40 - C45) + ABS(C45 - C50) + ABS(C50 - C55) + ABS(C55 - C60) + ABS(C60 - C65) + ABS(C65 - C70) + .00001) AND 100 * ((C > C5) * (C5 - C) + (C5 > C10) * (C10 - C5) + (C10 > C15) * (C15 - C10) + (C15 > C20) * (C20 - C15) + (C20 > C25) * (C25 - C20) + (C25 > C30) * (C30 - C25) + (C30 > C35) * (C35 - C30) + (C35 > C40) * (C40 - C35) + (C40 > C45) * (C45 - C40) + (C45 > C50) * (C50 - C45) + (C50 > C55) * (C55 - C50) + (C55 > C60) * (C60 - C55) + (C60 > C65) * (C65 - C60) + (C65 > C70) * (C70 - C65)) / (ABS(C - C5) + ABS(C5 - C10) + ABS(C10 - C15) + ABS(C15 - C20) + ABS(C20 - C25) + ABS(C25 - C30) + ABS(C30 - C35) + ABS(C35 - C40) + ABS(C40 - C45) + ABS(C45 - C50) + ABS(C50 - C55) + ABS(C55 - C60) + ABS(C60 - C65) + ABS(C65 - C70) + .00001) > 100 * ((C > C5) * (C5 - C) + (C5 > C10) * (C10 - C5) + (C10 > C15) * (C15 - C10) + (C15 > C20) * (C20 - C15) + (C20 > C25) * (C25 - C20) + (C25 > C30) * (C30 - C25) + (C30 > C35) * (C35 - C30) + (C35 > C40) * (C40 - C35) + (C40 > C45) * (C45 - C40) + (C45 > C50) * (C50 - C45) + (C50 > C55) * (C55 - C50) + (C55 > C60) * (C60 - C55) + (C60 > C65) * (C65 - C60) + (C65 > C70) * (C70 - C65) + (C70 > C75) * (C75 - C70) + (C75 > C80) * (C80 - C75) + (C80 > C85) * (C85 - C80) + (C85 > C90) * (C90 - C85) + (C90 > C95) * (C95 - C90)) / (ABS(C - C5) + ABS(C5 - C10) + ABS(C10 - C15) + ABS(C15 - C20) + ABS(C20 - C25) + ABS(C25 - C30) + ABS(C30 - C35) + ABS(C35 - C40) + ABS(C40 - C45) + ABS(C45 - C50) + ABS(C50 - C55) + ABS(C55 - C60) + ABS(C60 - C65) + ABS(C65 - C70) + ABS(C70 - C75) + ABS(C75 - C80) + ABS(C80 - C85) + ABS(C85 - C90) + ABS(C90 - C95) + .00001)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/19/2013 Posts: 15
|
Greetings, a help with this condition,
I detail the conditions:
1 -. I am in weekly time frame
2 -. Want to search from the weekly time frame that displays the companies I RSI14 values <50 in the weekly time frame OR companies RSI14 values <50 in the daily time frame
condition = RSI14 <50 OR RSI14 <50
(WEEKLY) (DIARY)
as would be the formula for this case. be grateful for the answer
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There is not a way to OR conditions with different time frames in TC2000 version 12.4 even when using Personal Criteria Formulas.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |