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!
|
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
|
Registered User Joined: 2/2/2019 Posts: 3
|
I want to scan for these chart patterns. Will this allow me to do that
|
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
|