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

resistance Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rli
Posted : Tuesday, October 21, 2014 5:20:20 PM
Registered User
Joined: 9/13/2014
Posts: 11

Hi Bruce,

I would like to create following PCF and your help would be appreciated.

Please look first on following link for better understanding:

http://www.weinotic.com/TC2000/rs.htm

 

Conditions:

*) Max high of last 10 bars

*) At least 1 bar should test the max. high of last 9 bars

*) Some bars should be close to max high of last 10 bars (+- 0.08%)

*) Lows from all bars shouldn't cross down exponential moving average 9 (EMA9)

*) EMA9 should be taken as "support line" - see condition above

*) C should be lower (min 0.05%) from max high

 

Thanks in advance for your support

Rainer

 

Bruce_L
Posted : Wednesday, October 22, 2014 9:27:38 AM


Worden Trainer

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

The following Condition Formula checks for at least two bars to have highs within 0.08% of the highest high of the most recent 10 bars, the lows of the most recent 10 bars to all be at or above the 9-period exponential moving average at the time and all of the closes over the period being at least 0.05% lower than the highest high of the most recent 10 bars.

ABS(H >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) - (H2 >= .9992 * MAXH10) - (H3 >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) - (H1 >= .9992 * MAXH10) > 1 AND L >= XAVGC9 AND L1 >= XAVGC9.1 AND L2 >= XAVGC9.2 AND L3 >= XAVGC9.3 AND L4 >= XAVGC9.4 AND L5 >= XAVGC9.5 AND L6 >= XAVGC9.6 AND L7 >= XAVGC9.7 AND L8 >= XAVGC9.8 AND L9 >= XAVGC9.9 AND MAXC10 <= .9995 * MAXH10

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rli
Posted : Wednesday, October 22, 2014 2:24:30 PM
Registered User
Joined: 9/13/2014
Posts: 11

Bruce as always - your are the best!

Bruce_L
Posted : Wednesday, October 22, 2014 2:26:26 PM


Worden Trainer

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

You're welcome.



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