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

support and resistance pcf criteria Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dpm000
Posted : Wednesday, May 2, 2007 8:57:16 PM
Registered User
Joined: 10/7/2004
Posts: 15
support -- previous low that is lower than current price

resistance -- previous high
Bruce_L
Posted : Thursday, May 3, 2007 9:35:18 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (dpm000)
support -- previous low that is lower than current price

Please try the following:

L1 < C

QUOTE (dpm000)
resistance -- previous high

Please try the following:

H1

You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!
Learn how to use the forums: post a new topic, reply, Search existing topics

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bustermu
Posted : Thursday, May 3, 2007 10:35:13 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
QUOTE (Bruce_L)
QUOTE (dpm000)
support -- previous low that is lower than current price

Please try the following:

L1 < C


Bruce,

I would interpret the request as the value of the most recent previous low that is below the current close.

Maybe not.

Thanks,
Jim Murphy
Bruce_L
Posted : Thursday, May 3, 2007 10:40:45 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
bustermu,
As in "the most recent previous low" is a local extrema of some sort?

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bustermu
Posted : Thursday, May 3, 2007 11:28:02 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
QUOTE (Bruce_L)
bustermu,
As in "the most recent previous low" is a local extrema of some sort?


Bruce,

No. That is not what I meant. I meant the value of the most recent previous Lk that is below C.

A PCF is:

(-1)
*((L1<C)*L1-(L1>=C)
*((L2<C)*L2-(L2>=C)
*((L3<C)*L3-(L3>=C)
*((L4<C)*L4-(L4>=C)
*((L5<C)*L5-(L5>=C)
*((L6<C)*L6-(L6>=C)
*((L7<C)*L7-(L7>=C)
*((L8<C)*L8-(L8>=C)
*((L9<C)*L9-(L9>=C)
*((L10<C)*L10
))))))))))

or something longer.

I am only guessing at what was requested. It does seem that if "resistance" is a price value, then "support" is also.

Maybe not.

Thanks,
Jim Murphy
Bruce_L
Posted : Thursday, May 3, 2007 11:44:57 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
bustermu,
That seems to be a reasonable interpretation.

Support w/1-Year Lookback:

ABS(L1 < C) * (L1) + ABS(L1 >= C) * (ABS(L2 < C) * (L2) + ABS(L2 >= C) * (ABS(L3 < C) * (L3) + ABS(L3 >= C) * (ABS(L4 < C) * (L4) + ABS(L4 >= C) * (ABS(L5 < C) * (L5) + ABS(L5 >= C) * (ABS(L6 < C) * (L6) + ABS(L6 >= C) * (ABS(L7 < C) * (L7) + ABS(L7 >= C) * (ABS(L8 < C) * (L8) + ABS(L8 >= C) * (ABS(L9 < C) * (L9) + ABS(L9 >= C) * (ABS(L10 < C) * (L10) + ABS(L10 >= C) * (ABS(L11 < C) * (L11) + ABS(L11 >= C) * (ABS(L12 < C) * (L12) + ABS(L12 >= C) * (ABS(L13 < C) * (L13) + ABS(L13 >= C) * (ABS(L14 < C) * (L14) + ABS(L14 >= C) * (ABS(L15 < C) * (L15) + ABS(L15 >= C) * (ABS(L16 < C) * (L16) + ABS(L16 >= C) * (ABS(L17 < C) * (L17) + ABS(L17 >= C) * (ABS(L18 < C) * (L18) + ABS(L18 >= C) * (ABS(L19 < C) * (L19) + ABS(L19 >= C) * (ABS(L20 < C) * (L20) + ABS(L20 >= C) * (ABS(L21 < C) * (L21) + ABS(L21 >= C) * (ABS(L22 < C) * (L22) + ABS(L22 >= C) * (ABS(L23 < C) * (L23) + ABS(L23 >= C) * (ABS(L24 < C) * (L24) + ABS(L24 >= C) * (ABS(L25 < C) * (L25) + ABS(L25 >= C) * (ABS(L26 < C) * (L26) + ABS(L26 >= C) * (ABS(L27 < C) * (L27) + ABS(L27 >= C) * (ABS(L28 < C) * (L28) + ABS(L28 >= C) * (ABS(L29 < C) * (L29) + ABS(L29 >= C) * (ABS(L30 < C) * (L30) + ABS(L30 >= C) * (ABS(L31 < C) * (L31) + ABS(L31 >= C) * (ABS(L32 < C) * (L32) + ABS(L32 >= C) * (ABS(L33 < C) * (L33) + ABS(L33 >= C) * (ABS(L34 < C) * (L34) + ABS(L34 >= C) * (ABS(L35 < C) * (L35) + ABS(L35 >= C) * (ABS(L36 < C) * (L36) + ABS(L36 >= C) * (ABS(L37 < C) * (L37) + ABS(L37 >= C) * (ABS(L38 < C) * (L38) + ABS(L38 >= C) * (ABS(L39 < C) * (L39) + ABS(L39 >= C) * (ABS(L40 < C) * (L40) + ABS(L40 >= C) * (ABS(L41 < C) * (L41) + ABS(L41 >= C) * (ABS(L42 < C) * (L42) + ABS(L42 >= C) * (ABS(L43 < C) * (L43) + ABS(L43 >= C) * (ABS(L44 < C) * (L44) + ABS(L44 >= C) * (ABS(L45 < C) * (L45) + ABS(L45 >= C) * (ABS(L46 < C) * (L46) + ABS(L46 >= C) * (ABS(L47 < C) * (L47) + ABS(L47 >= C) * (ABS(L48 < C) * (L48) + ABS(L48 >= C) * (ABS(L49 < C) * (L49) + ABS(L49 >= C) * (ABS(L50 < C) * (L50) + ABS(L50 >= C) * (ABS(L51 < C) * (L51) + ABS(L51 >= C) * (ABS(L52 < C) * (L52) + ABS(L52 >= C) * (ABS(L53 < C) * (L53) + ABS(L53 >= C) * (ABS(L54 < C) * (L54) + ABS(L54 >= C) * (ABS(L55 < C) * (L55) + ABS(L55 >= C) * (ABS(L56 < C) * (L56) + ABS(L56 >= C) * (ABS(L57 < C) * (L57) + ABS(L57 >= C) * (ABS(L58 < C) * (L58) + ABS(L58 >= C) * (ABS(L59 < C) * (L59) + ABS(L59 >= C) * (ABS(L60 < C) * (L60) + ABS(L60 >= C) * (ABS(L61 < C) * (L61) + ABS(L61 >= C) * (ABS(L62 < C) * (L62) + ABS(L62 >= C) * (ABS(L63 < C) * (L63) + ABS(L63 >= C) * (ABS(L64 < C) * (L64) + ABS(L64 >= C) * (ABS(L65 < C) * (L65) + ABS(L65 >= C) * (ABS(L66 < C) * (L66) + ABS(L66 >= C) * (ABS(L67 < C) * (L67) + ABS(L67 >= C) * (ABS(L68 < C) * (L68) + ABS(L68 >= C) * (ABS(L69 < C) * (L69) + ABS(L69 >= C) * (ABS(L70 < C) * (L70) + ABS(L70 >= C) * (ABS(L71 < C) * (L71) + ABS(L71 >= C) * (ABS(L72 < C) * (L72) + ABS(L72 >= C) * (ABS(L73 < C) * (L73) + ABS(L73 >= C) * (ABS(L74 < C) * (L74) + ABS(L74 >= C) * (ABS(L75 < C) * (L75) + ABS(L75 >= C) * (ABS(L76 < C) * (L76) + ABS(L76 >= C) * (ABS(L77 < C) * (L77) + ABS(L77 >= C) * (ABS(L78 < C) * (L78) + ABS(L78 >= C) * (ABS(L79 < C) * (L79) + ABS(L79 >= C) * (ABS(L80 < C) * (L80) + ABS(L80 >= C) * (ABS(L81 < C) * (L81) + ABS(L81 >= C) * (ABS(L82 < C) * (L82) + ABS(L82 >= C) * (ABS(L83 < C) * (L83) + ABS(L83 >= C) * (ABS(L84 < C) * (L84) + ABS(L84 >= C) * (ABS(L85 < C) * (L85) + ABS(L85 >= C) * (ABS(L86 < C) * (L86) + ABS(L86 >= C) * (ABS(L87 < C) * (L87) + ABS(L87 >= C) * (ABS(L88 < C) * (L88) + ABS(L88 >= C) * (ABS(L89 < C) * (L89) + ABS(L89 >= C) * (ABS(L90 < C) * (L90) + ABS(L90 >= C) * (ABS(L91 < C) * (L91) + ABS(L91 >= C) * (ABS(L92 < C) * (L92) + ABS(L92 >= C) * (ABS(L93 < C) * (L93) + ABS(L93 >= C) * (ABS(L94 < C) * (L94) + ABS(L94 >= C) * (ABS(L95 < C) * (L95) + ABS(L95 >= C) * (ABS(L96 < C) * (L96) + ABS(L96 >= C) * (ABS(L97 < C) * (L97) + ABS(L97 >= C) * (ABS(L98 < C) * (L98) + ABS(L98 >= C) * (ABS(L99 < C) * (L99) + ABS(L99 >= C) * (ABS(L100 < C) * (L100) + ABS(L100 >= C) * (ABS(L101 < C) * (L101) + ABS(L101 >= C) * (ABS(L102 < C) * (L102) + ABS(L102 >= C) * (ABS(L103 < C) * (L103) + ABS(L103 >= C) * (ABS(L104 < C) * (L104) + ABS(L104 >= C) * (ABS(L105 < C) * (L105) + ABS(L105 >= C) * (ABS(L106 < C) * (L106) + ABS(L106 >= C) * (ABS(L107 < C) * (L107) + ABS(L107 >= C) * (ABS(L108 < C) * (L108) + ABS(L108 >= C) * (ABS(L109 < C) * (L109) + ABS(L109 >= C) * (ABS(L110 < C) * (L110) + ABS(L110 >= C) * (ABS(L111 < C) * (L111) + ABS(L111 >= C) * (ABS(L112 < C) * (L112) + ABS(L112 >= C) * (ABS(L113 < C) * (L113) + ABS(L113 >= C) * (ABS(L114 < C) * (L114) + ABS(L114 >= C) * (ABS(L115 < C) * (L115) + ABS(L115 >= C) * (ABS(L116 < C) * (L116) + ABS(L116 >= C) * (ABS(L117 < C) * (L117) + ABS(L117 >= C) * (ABS(L118 < C) * (L118) + ABS(L118 >= C) * (ABS(L119 < C) * (L119) + ABS(L119 >= C) * (ABS(L120 < C) * (L120) + ABS(L120 >= C) * (ABS(L121 < C) * (L121) + ABS(L121 >= C) * (ABS(L122 < C) * (L122) + ABS(L122 >= C) * (ABS(L123 < C) * (L123) + ABS(L123 >= C) * (ABS(L124 < C) * (L124) + ABS(L124 >= C) * (ABS(L125 < C) * (L125) + ABS(L125 >= C) * (ABS(L126 < C) * (L126) + ABS(L126 >= C) * (ABS(L127 < C) * (L127) + ABS(L127 >= C) * (ABS(L128 < C) * (L128) + ABS(L128 >= C) * (ABS(L129 < C) * (L129) + ABS(L129 >= C) * (ABS(L130 < C) * (L130) + ABS(L130 >= C) * (ABS(L131 < C) * (L131) + ABS(L131 >= C) * (ABS(L132 < C) * (L132) + ABS(L132 >= C) * (ABS(L133 < C) * (L133) + ABS(L133 >= C) * (ABS(L134 < C) * (L134) + ABS(L134 >= C) * (ABS(L135 < C) * (L135) + ABS(L135 >= C) * (ABS(L136 < C) * (L136) + ABS(L136 >= C) * (ABS(L137 < C) * (L137) + ABS(L137 >= C) * (ABS(L138 < C) * (L138) + ABS(L138 >= C) * (ABS(L139 < C) * (L139) + ABS(L139 >= C) * (ABS(L140 < C) * (L140) + ABS(L140 >= C) * (ABS(L141 < C) * (L141) + ABS(L141 >= C) * (ABS(L142 < C) * (L142) + ABS(L142 >= C) * (ABS(L143 < C) * (L143) + ABS(L143 >= C) * (ABS(L144 < C) * (L144) + ABS(L144 >= C) * (ABS(L145 < C) * (L145) + ABS(L145 >= C) * (ABS(L146 < C) * (L146) + ABS(L146 >= C) * (ABS(L147 < C) * (L147) + ABS(L147 >= C) * (ABS(L148 < C) * (L148) + ABS(L148 >= C) * (ABS(L149 < C) * (L149) + ABS(L149 >= C) * (ABS(L150 < C) * (L150) + ABS(L150 >= C) * (ABS(L151 < C) * (L151) + ABS(L151 >= C) * (ABS(L152 < C) * (L152) + ABS(L152 >= C) * (ABS(L153 < C) * (L153) + ABS(L153 >= C) * (ABS(L154 < C) * (L154) + ABS(L154 >= C) * (ABS(L155 < C) * (L155) + ABS(L155 >= C) * (ABS(L156 < C) * (L156) + ABS(L156 >= C) * (ABS(L157 < C) * (L157) + ABS(L157 >= C) * (ABS(L158 < C) * (L158) + ABS(L158 >= C) * (ABS(L159 < C) * (L159) + ABS(L159 >= C) * (ABS(L160 < C) * (L160) + ABS(L160 >= C) * (ABS(L161 < C) * (L161) + ABS(L161 >= C) * (ABS(L162 < C) * (L162) + ABS(L162 >= C) * (ABS(L163 < C) * (L163) + ABS(L163 >= C) * (ABS(L164 < C) * (L164) + ABS(L164 >= C) * (ABS(L165 < C) * (L165) + ABS(L165 >= C) * (ABS(L166 < C) * (L166) + ABS(L166 >= C) * (ABS(L167 < C) * (L167) + ABS(L167 >= C) * (ABS(L168 < C) * (L168) + ABS(L168 >= C) * (ABS(L169 < C) * (L169) + ABS(L169 >= C) * (ABS(L170 < C) * (L170) + ABS(L170 >= C) * (ABS(L171 < C) * (L171) + ABS(L171 >= C) * (ABS(L172 < C) * (L172) + ABS(L172 >= C) * (ABS(L173 < C) * (L173) + ABS(L173 >= C) * (ABS(L174 < C) * (L174) + ABS(L174 >= C) * (ABS(L175 < C) * (L175) + ABS(L175 >= C) * (ABS(L176 < C) * (L176) + ABS(L176 >= C) * (ABS(L177 < C) * (L177) + ABS(L177 >= C) * (ABS(L178 < C) * (L178) + ABS(L178 >= C) * (ABS(L179 < C) * (L179) + ABS(L179 >= C) * (ABS(L180 < C) * (L180) + ABS(L180 >= C) * (ABS(L181 < C) * (L181) + ABS(L181 >= C) * (ABS(L182 < C) * (L182) + ABS(L182 >= C) * (ABS(L183 < C) * (L183) + ABS(L183 >= C) * (ABS(L184 < C) * (L184) + ABS(L184 >= C) * (ABS(L185 < C) * (L185) + ABS(L185 >= C) * (ABS(L186 < C) * (L186) + ABS(L186 >= C) * (ABS(L187 < C) * (L187) + ABS(L187 >= C) * (ABS(L188 < C) * (L188) + ABS(L188 >= C) * (ABS(L189 < C) * (L189) + ABS(L189 >= C) * (ABS(L190 < C) * (L190) + ABS(L190 >= C) * (ABS(L191 < C) * (L191) + ABS(L191 >= C) * (ABS(L192 < C) * (L192) + ABS(L192 >= C) * (ABS(L193 < C) * (L193) + ABS(L193 >= C) * (ABS(L194 < C) * (L194) + ABS(L194 >= C) * (ABS(L195 < C) * (L195) + ABS(L195 >= C) * (ABS(L196 < C) * (L196) + ABS(L196 >= C) * (ABS(L197 < C) * (L197) + ABS(L197 >= C) * (ABS(L198 < C) * (L198) + ABS(L198 >= C) * (ABS(L199 < C) * (L199) + ABS(L199 >= C) * (ABS(L200 < C) * (L200) + ABS(L200 >= C) * (ABS(L201 < C) * (L201) + ABS(L201 >= C) * (ABS(L202 < C) * (L202) + ABS(L202 >= C) * (ABS(L203 < C) * (L203) + ABS(L203 >= C) * (ABS(L204 < C) * (L204) + ABS(L204 >= C) * (ABS(L205 < C) * (L205) + ABS(L205 >= C) * (ABS(L206 < C) * (L206) + ABS(L206 >= C) * (ABS(L207 < C) * (L207) + ABS(L207 >= C) * (ABS(L208 < C) * (L208) + ABS(L208 >= C) * (ABS(L209 < C) * (L209) + ABS(L209 >= C) * (ABS(L210 < C) * (L210) + ABS(L210 >= C) * (ABS(L211 < C) * (L211) + ABS(L211 >= C) * (ABS(L212 < C) * (L212) + ABS(L212 >= C) * (ABS(L213 < C) * (L213) + ABS(L213 >= C) * (ABS(L214 < C) * (L214) + ABS(L214 >= C) * (ABS(L215 < C) * (L215) + ABS(L215 >= C) * (ABS(L216 < C) * (L216) + ABS(L216 >= C) * (ABS(L217 < C) * (L217) + ABS(L217 >= C) * (ABS(L218 < C) * (L218) + ABS(L218 >= C) * (ABS(L219 < C) * (L219) + ABS(L219 >= C) * (ABS(L220 < C) * (L220) + ABS(L220 >= C) * (ABS(L221 < C) * (L221) + ABS(L221 >= C) * (ABS(L222 < C) * (L222) + ABS(L222 >= C) * (ABS(L223 < C) * (L223) + ABS(L223 >= C) * (ABS(L224 < C) * (L224) + ABS(L224 >= C) * (ABS(L225 < C) * (L225) + ABS(L225 >= C) * (ABS(L226 < C) * (L226) + ABS(L226 >= C) * (ABS(L227 < C) * (L227) + ABS(L227 >= C) * (ABS(L228 < C) * (L228) + ABS(L228 >= C) * (ABS(L229 < C) * (L229) + ABS(L229 >= C) * (ABS(L230 < C) * (L230) + ABS(L230 >= C) * (ABS(L231 < C) * (L231) + ABS(L231 >= C) * (ABS(L232 < C) * (L232) + ABS(L232 >= C) * (ABS(L233 < C) * (L233) + ABS(L233 >= C) * (ABS(L234 < C) * (L234) + ABS(L234 >= C) * (ABS(L235 < C) * (L235) + ABS(L235 >= C) * (ABS(L236 < C) * (L236) + ABS(L236 >= C) * (ABS(L237 < C) * (L237) + ABS(L237 >= C) * (ABS(L238 < C) * (L238) + ABS(L238 >= C) * (ABS(L239 < C) * (L239) + ABS(L239 >= C) * (ABS(L240 < C) * (L240) + ABS(L240 >= C) * (ABS(L241 < C) * (L241) + ABS(L241 >= C) * (ABS(L242 < C) * (L242) + ABS(L242 >= C) * (ABS(L243 < C) * (L243) + ABS(L243 >= C) * (ABS(L244 < C) * (L244) + ABS(L244 >= C) * (ABS(L245 < C) * (L245) + ABS(L245 >= C) * (ABS(L246 < C) * (L246) + ABS(L246 >= C) * (ABS(L247 < C) * (L247) + ABS(L247 >= C) * (ABS(L248 < C) * (L248) + ABS(L248 >= C) * (ABS(L249 < C) * (L249) + ABS(L249 >= C) * (ABS(L250 < C) * (L250) + ABS(L250 >= C) * (ABS(L251 < C) * (L251) + ABS(L251 >= C) * (ABS(L252 < C) * (L252))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

You may wish to review the following:

Days Since Last Peak (or other day-counting needs)

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