Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

3 higher close scan Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rbayliss40
Posted : Friday, October 18, 2013 3:49:22 AM
Registered User
Joined: 8/30/2011
Posts: 161

i have looed at the close above close scan and tried to adapt it to 3 consecutive higher closes

 

c0>c1>c2 but when i scanned it returned no results  what  im really trying for is 3 white soldiers kind of scan  im guessing the way i have it configured is wrong

Bruce_L
Posted : Friday, October 18, 2013 7:55:48 AM


Worden Trainer

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

You need to make each comparison on its own instead of a single series. Three consecutive higher closes would be:

C > C1 AND C1 > C2 AND C2 > C3

I'm not a candlestick guy, but the Three White Soldiers Condition Formula given in the Boolean PCFs for Candlestick Patterns topic is:

C > C1 AND C1 > C2 AND C > O AND C1 > O1 AND C2 > O2 AND ABS(C2 - O2) > .5 * (H2 - L2) AND ABS(C1 - O1) > .5 * (H1 - L1) AND H - L > AVGH21 - AVGL21 AND O > O1 AND O < C1 AND O1 > O2 AND O1 < C2 AND O2 > O3 AND O2 < C3 AND C > .85 * H AND C1 > .85 * H1 AND C2 > .85 * H2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rocky
Posted : Friday, October 18, 2013 12:29:07 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 54

I use TC2000 version 12.3.  I need a pcf to create a visual indicator using an exponential 2 period moving average crossing an exponential 3 period moving average.  I have the audio alerts set to go off but I would like an indicator as well - something other than the moving averages themselves on the chart.

Thanks in advance for your help.

Bruce_L
Posted : Friday, October 18, 2013 12:35:06 PM


Worden Trainer

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

You can create spikes on the chart by using the desired Condition Formula below as the Boolean Formula in a Custom PCF % True Indicator.

For a 2-period exponential moving average crossing up through a 3-period exponential moving average:

XAVGC2 > XAVGC3 AND XAVGC2.1 <= XAVGC3.1

For a 2-period exponential moving average crossing down through a 3-period exponential moving average:

XAVGC2 < XAVGC3 AND XAVGC2.1 >= XAVGC3.1

For a 2-period exponential moving average crossing through a 3-period exponential moving average in either direction:

SGN(XAVGC2 - XAVGC3) <> SGN(XAVGC2.1 - XAVGC3.1)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rocky
Posted : Friday, October 18, 2013 1:10:18 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 54

I copy and pasted the last formula into the new indicator pcf formula box.  After I hit the test button and then ok.  It then gave me the follow message: The formula you entered returns a boolean result.  It you continue it will be saved as a condition.  Continue?  I hit yes to continue and it gave me a gray window asking me to choose a target.  I am uncertain as which one to choose since I want the spike to show up in the chart window

Bruce_L
Posted : Friday, October 18, 2013 1:18:06 PM


Worden Trainer

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

You need to add a Custom PCF % True Indicator to the chart. It is an indicator and is added the same way you would add others indicators the chart. Select Add Indicator at the top of the chart and choose Custom PCF % True Indicator from the list.

Adding and Moving Indicators

Once you have added the indicator to the chart, you would click on it and select Edit so you adjust put the formula in the Boolean Formula portion of its Edit window.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rocky
Posted : Friday, October 18, 2013 1:26:48 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 54

Got it.  Thanks again for your help.  Have a great weekend.

soseriuz
Posted : Tuesday, October 22, 2013 8:29:50 PM
Registered User
Joined: 9/16/2013
Posts: 4

I'm trying to find a PCF to identify climactic stocks bullish and bearish.  Would you have a formula for this?

Bruce_L
Posted : Wednesday, October 23, 2013 8:11:49 AM


Worden Trainer

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

What are your specific unamibiguous objective definitions for a bullish climactic stock and a bearish climactic stock?

Buying Climax/Selling Climax PCFs



-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.