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 |

custom PCF help Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
fade2win
Posted : Monday, March 4, 2019 3:59:11 PM
Registered User
Joined: 2/2/2019
Posts: 3

Im new to TC2000 and I would like to create a custom scan for swing highs and lows. 3 lower lows to the left and right for swing highs and 3 higher lows to the left and right for swing lows. I would like to use this on hourly and daily candles. Thanks for any help!

Bruce_L
Posted : Monday, March 4, 2019 4:07:36 PM


Worden Trainer

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

We can use a Custom PCF Indicator to plot the Swing High where it is detected.

- Plot Style: Dots
- Plot Color: Up to you.
- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: H3 * ABS(MAXH3 < H3 AND H3 > MAXH3.4)

And another Custom PCF Indicator to plot the Swing Low where it is detected:

- Plot Style: Dots
- Plot Color: Up to you.
- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: L3 * ABS(MINL3 > L3 AND L3 < MINL3.4)

These indicators should be plotted in the same pane and scale and Price History.

Adding and Moving Indicators

Adding a 1-Period Simple Moving Average to these Custom PCF Indicators allows you to plot the indicators at the Swing High and Swing Low instead of at where they were identified. You just need to set the Offset of the moving average indicators to -3, the Plot Style of the Custom PCF Indicator to Dots and drag the Opacity setting of the Custom PCF Indicators upon which the moving averages are based all the way to the left (making the Custom PCF Indicators invisible).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
fade2win
Posted : Monday, March 4, 2019 4:23:01 PM
Registered User
Joined: 2/2/2019
Posts: 3

I want to scan for these chart patterns. Will this allow me to do that

 

Bruce_L
Posted : Monday, March 4, 2019 4:30:35 PM


Worden Trainer

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

You can just use the part inside the the ABS() function for this. So the swing high would be:

MAXH3 < H3 AND H3 > MAXH3.4

And the swing low would be:

MINL3 > L3 AND L3 < MINL3.4



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