Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF for TSV and RSI Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pdunn
Posted : Thursday, December 1, 2016 4:54:15 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 38

Bruce, can you provide a PCF for when the TSV Simple Moving Average 24 crosses up through the TSV Simple Moving Average 12 AND the Wilder RSI 15 crosses up through the Wilder RSI 75?  Typically, this wll occur within a few day apart, but could take as long as 10 days apart in no particular order.  I'm trying to catch those two crossovers as close together as possible on a daily chart.- Preston

 

Bruce_L
Posted : Thursday, December 1, 2016 5:14:39 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I can do the TSV portion as a PCF but not the Wilder's portion (unless the Wilder's RSI is not Wilder's smoothed). The formula for a Wilder's RSI 75 is just way too long and slow to be practical. I may be able to do this fairly soon, but not in the current version of TC2000.

A non-Wilder's smoothed version might be something like the following.

TSV24 > TSV12 AND RSI15 > RSI75 AND (TSV24.1 <= TSV12.1 OR RSI15.1.1 <= RSI75.1.1) AND ((TSV24.2 < TSV12.2 AND RSI15.1.2 < RSI75.1.2) OR (TSV24.3 < TSV12.3 AND RSI15.1.3 < RSI75.1.3) OR (TSV24.4 < TSV12.4 AND RSI15.1.4 < RSI75.1.4) OR (TSV24.5 < TSV12.5 AND RSI15.1.5 < RSI75.1.5) OR (TSV24.6 < TSV12.6 AND RSI15.1.6 < RSI75.1.6) OR (TSV24.7 < TSV12.7 AND RSI15.1.7 < RSI75.1.7) OR (TSV24.8 < TSV12.8 AND RSI15.1.8 < RSI75.1.8) OR (TSV24.9 < TSV12.9 AND RSI15.1.9 < RSI75.1.9) OR (TSV24.10 < TSV12.10 AND RSI15.1.10 < RSI75.1.10))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
pdunn
Posted : Friday, December 2, 2016 9:57:46 AM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 38

Thanks Bruce, but when I cut and pasted into v16 the I got an error "Please Enter a Formula" when I entered as both a Condition PCF and Indicator PCF. - Preston

Bruce_L
Posted : Friday, December 2, 2016 10:21:03 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Try copying and pasting the formula into a text editor (like Notepad, not like Word) and the copying and pasting from the text editor into TC2000.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
pdunn
Posted : Friday, December 2, 2016 10:34:44 AM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 38

That worked.  When I ran the PCF it pulled up LITE and COTV from my watchlist, it looks like only the TSV crossover occurred, and not the RSI, maybe because of the Wilder portion.  Preston

 

Bruce_L
Posted : Friday, December 2, 2016 10:50:46 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Probably. If you just add a plain RSI indicator and check, it would probably match up.

The formula checks for both being above.

Then it checks for at least one being at or below yesterday.

Then it checks for both below on at least one of the nine prior bars.

Must meet all requirements to pass.

This should make it so it returns true on just the first bar where both are above, but allow one of the items to have crossed up within the last 10 bars.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.