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

support and resistance criteria Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dpm000
Posted : Wednesday, May 2, 2007 9:01:47 PM
Registered User
Joined: 10/7/2004
Posts: 15
Resistance -- previous high that is higher than current price
Bruce_L
Posted : Thursday, May 3, 2007 9:35:30 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (dpm000)
Resistance -- previous high that is higher than current price

Please try the following:

H1 > C

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
Bruce_L
Posted : Thursday, May 3, 2007 11:49:50 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
As discussed in support and resistance pcf criteria, you may wish to try the following instead:

Resistance w/1-Year Lookback:

ABS(H1 > C) * (H1) + ABS(H1 <= C) * (ABS(H2 > C) * (H2) + ABS(H2 <= C) * (ABS(H3 > C) * (H3) + ABS(H3 <= C) * (ABS(H4 > C) * (H4) + ABS(H4 <= C) * (ABS(H5 > C) * (H5) + ABS(H5 <= C) * (ABS(H6 > C) * (H6) + ABS(H6 <= C) * (ABS(H7 > C) * (H7) + ABS(H7 <= C) * (ABS(H8 > C) * (H8) + ABS(H8 <= C) * (ABS(H9 > C) * (H9) + ABS(H9 <= C) * (ABS(H10 > C) * (H10) + ABS(H10 <= C) * (ABS(H11 > C) * (H11) + ABS(H11 <= C) * (ABS(H12 > C) * (H12) + ABS(H12 <= C) * (ABS(H13 > C) * (H13) + ABS(H13 <= C) * (ABS(H14 > C) * (H14) + ABS(H14 <= C) * (ABS(H15 > C) * (H15) + ABS(H15 <= C) * (ABS(H16 > C) * (H16) + ABS(H16 <= C) * (ABS(H17 > C) * (H17) + ABS(H17 <= C) * (ABS(H18 > C) * (H18) + ABS(H18 <= C) * (ABS(H19 > C) * (H19) + ABS(H19 <= C) * (ABS(H20 > C) * (H20) + ABS(H20 <= C) * (ABS(H21 > C) * (H21) + ABS(H21 <= C) * (ABS(H22 > C) * (H22) + ABS(H22 <= C) * (ABS(H23 > C) * (H23) + ABS(H23 <= C) * (ABS(H24 > C) * (H24) + ABS(H24 <= C) * (ABS(H25 > C) * (H25) + ABS(H25 <= C) * (ABS(H26 > C) * (H26) + ABS(H26 <= C) * (ABS(H27 > C) * (H27) + ABS(H27 <= C) * (ABS(H28 > C) * (H28) + ABS(H28 <= C) * (ABS(H29 > C) * (H29) + ABS(H29 <= C) * (ABS(H30 > C) * (H30) + ABS(H30 <= C) * (ABS(H31 > C) * (H31) + ABS(H31 <= C) * (ABS(H32 > C) * (H32) + ABS(H32 <= C) * (ABS(H33 > C) * (H33) + ABS(H33 <= C) * (ABS(H34 > C) * (H34) + ABS(H34 <= C) * (ABS(H35 > C) * (H35) + ABS(H35 <= C) * (ABS(H36 > C) * (H36) + ABS(H36 <= C) * (ABS(H37 > C) * (H37) + ABS(H37 <= C) * (ABS(H38 > C) * (H38) + ABS(H38 <= C) * (ABS(H39 > C) * (H39) + ABS(H39 <= C) * (ABS(H40 > C) * (H40) + ABS(H40 <= C) * (ABS(H41 > C) * (H41) + ABS(H41 <= C) * (ABS(H42 > C) * (H42) + ABS(H42 <= C) * (ABS(H43 > C) * (H43) + ABS(H43 <= C) * (ABS(H44 > C) * (H44) + ABS(H44 <= C) * (ABS(H45 > C) * (H45) + ABS(H45 <= C) * (ABS(H46 > C) * (H46) + ABS(H46 <= C) * (ABS(H47 > C) * (H47) + ABS(H47 <= C) * (ABS(H48 > C) * (H48) + ABS(H48 <= C) * (ABS(H49 > C) * (H49) + ABS(H49 <= C) * (ABS(H50 > C) * (H50) + ABS(H50 <= C) * (ABS(H51 > C) * (H51) + ABS(H51 <= C) * (ABS(H52 > C) * (H52) + ABS(H52 <= C) * (ABS(H53 > C) * (H53) + ABS(H53 <= C) * (ABS(H54 > C) * (H54) + ABS(H54 <= C) * (ABS(H55 > C) * (H55) + ABS(H55 <= C) * (ABS(H56 > C) * (H56) + ABS(H56 <= C) * (ABS(H57 > C) * (H57) + ABS(H57 <= C) * (ABS(H58 > C) * (H58) + ABS(H58 <= C) * (ABS(H59 > C) * (H59) + ABS(H59 <= C) * (ABS(H60 > C) * (H60) + ABS(H60 <= C) * (ABS(H61 > C) * (H61) + ABS(H61 <= C) * (ABS(H62 > C) * (H62) + ABS(H62 <= C) * (ABS(H63 > C) * (H63) + ABS(H63 <= C) * (ABS(H64 > C) * (H64) + ABS(H64 <= C) * (ABS(H65 > C) * (H65) + ABS(H65 <= C) * (ABS(H66 > C) * (H66) + ABS(H66 <= C) * (ABS(H67 > C) * (H67) + ABS(H67 <= C) * (ABS(H68 > C) * (H68) + ABS(H68 <= C) * (ABS(H69 > C) * (H69) + ABS(H69 <= C) * (ABS(H70 > C) * (H70) + ABS(H70 <= C) * (ABS(H71 > C) * (H71) + ABS(H71 <= C) * (ABS(H72 > C) * (H72) + ABS(H72 <= C) * (ABS(H73 > C) * (H73) + ABS(H73 <= C) * (ABS(H74 > C) * (H74) + ABS(H74 <= C) * (ABS(H75 > C) * (H75) + ABS(H75 <= C) * (ABS(H76 > C) * (H76) + ABS(H76 <= C) * (ABS(H77 > C) * (H77) + ABS(H77 <= C) * (ABS(H78 > C) * (H78) + ABS(H78 <= C) * (ABS(H79 > C) * (H79) + ABS(H79 <= C) * (ABS(H80 > C) * (H80) + ABS(H80 <= C) * (ABS(H81 > C) * (H81) + ABS(H81 <= C) * (ABS(H82 > C) * (H82) + ABS(H82 <= C) * (ABS(H83 > C) * (H83) + ABS(H83 <= C) * (ABS(H84 > C) * (H84) + ABS(H84 <= C) * (ABS(H85 > C) * (H85) + ABS(H85 <= C) * (ABS(H86 > C) * (H86) + ABS(H86 <= C) * (ABS(H87 > C) * (H87) + ABS(H87 <= C) * (ABS(H88 > C) * (H88) + ABS(H88 <= C) * (ABS(H89 > C) * (H89) + ABS(H89 <= C) * (ABS(H90 > C) * (H90) + ABS(H90 <= C) * (ABS(H91 > C) * (H91) + ABS(H91 <= C) * (ABS(H92 > C) * (H92) + ABS(H92 <= C) * (ABS(H93 > C) * (H93) + ABS(H93 <= C) * (ABS(H94 > C) * (H94) + ABS(H94 <= C) * (ABS(H95 > C) * (H95) + ABS(H95 <= C) * (ABS(H96 > C) * (H96) + ABS(H96 <= C) * (ABS(H97 > C) * (H97) + ABS(H97 <= C) * (ABS(H98 > C) * (H98) + ABS(H98 <= C) * (ABS(H99 > C) * (H99) + ABS(H99 <= C) * (ABS(H100 > C) * (H100) + ABS(H100 <= C) * (ABS(H101 > C) * (H101) + ABS(H101 <= C) * (ABS(H102 > C) * (H102) + ABS(H102 <= C) * (ABS(H103 > C) * (H103) + ABS(H103 <= C) * (ABS(H104 > C) * (H104) + ABS(H104 <= C) * (ABS(H105 > C) * (H105) + ABS(H105 <= C) * (ABS(H106 > C) * (H106) + ABS(H106 <= C) * (ABS(H107 > C) * (H107) + ABS(H107 <= C) * (ABS(H108 > C) * (H108) + ABS(H108 <= C) * (ABS(H109 > C) * (H109) + ABS(H109 <= C) * (ABS(H110 > C) * (H110) + ABS(H110 <= C) * (ABS(H111 > C) * (H111) + ABS(H111 <= C) * (ABS(H112 > C) * (H112) + ABS(H112 <= C) * (ABS(H113 > C) * (H113) + ABS(H113 <= C) * (ABS(H114 > C) * (H114) + ABS(H114 <= C) * (ABS(H115 > C) * (H115) + ABS(H115 <= C) * (ABS(H116 > C) * (H116) + ABS(H116 <= C) * (ABS(H117 > C) * (H117) + ABS(H117 <= C) * (ABS(H118 > C) * (H118) + ABS(H118 <= C) * (ABS(H119 > C) * (H119) + ABS(H119 <= C) * (ABS(H120 > C) * (H120) + ABS(H120 <= C) * (ABS(H121 > C) * (H121) + ABS(H121 <= C) * (ABS(H122 > C) * (H122) + ABS(H122 <= C) * (ABS(H123 > C) * (H123) + ABS(H123 <= C) * (ABS(H124 > C) * (H124) + ABS(H124 <= C) * (ABS(H125 > C) * (H125) + ABS(H125 <= C) * (ABS(H126 > C) * (H126) + ABS(H126 <= C) * (ABS(H127 > C) * (H127) + ABS(H127 <= C) * (ABS(H128 > C) * (H128) + ABS(H128 <= C) * (ABS(H129 > C) * (H129) + ABS(H129 <= C) * (ABS(H130 > C) * (H130) + ABS(H130 <= C) * (ABS(H131 > C) * (H131) + ABS(H131 <= C) * (ABS(H132 > C) * (H132) + ABS(H132 <= C) * (ABS(H133 > C) * (H133) + ABS(H133 <= C) * (ABS(H134 > C) * (H134) + ABS(H134 <= C) * (ABS(H135 > C) * (H135) + ABS(H135 <= C) * (ABS(H136 > C) * (H136) + ABS(H136 <= C) * (ABS(H137 > C) * (H137) + ABS(H137 <= C) * (ABS(H138 > C) * (H138) + ABS(H138 <= C) * (ABS(H139 > C) * (H139) + ABS(H139 <= C) * (ABS(H140 > C) * (H140) + ABS(H140 <= C) * (ABS(H141 > C) * (H141) + ABS(H141 <= C) * (ABS(H142 > C) * (H142) + ABS(H142 <= C) * (ABS(H143 > C) * (H143) + ABS(H143 <= C) * (ABS(H144 > C) * (H144) + ABS(H144 <= C) * (ABS(H145 > C) * (H145) + ABS(H145 <= C) * (ABS(H146 > C) * (H146) + ABS(H146 <= C) * (ABS(H147 > C) * (H147) + ABS(H147 <= C) * (ABS(H148 > C) * (H148) + ABS(H148 <= C) * (ABS(H149 > C) * (H149) + ABS(H149 <= C) * (ABS(H150 > C) * (H150) + ABS(H150 <= C) * (ABS(H151 > C) * (H151) + ABS(H151 <= C) * (ABS(H152 > C) * (H152) + ABS(H152 <= C) * (ABS(H153 > C) * (H153) + ABS(H153 <= C) * (ABS(H154 > C) * (H154) + ABS(H154 <= C) * (ABS(H155 > C) * (H155) + ABS(H155 <= C) * (ABS(H156 > C) * (H156) + ABS(H156 <= C) * (ABS(H157 > C) * (H157) + ABS(H157 <= C) * (ABS(H158 > C) * (H158) + ABS(H158 <= C) * (ABS(H159 > C) * (H159) + ABS(H159 <= C) * (ABS(H160 > C) * (H160) + ABS(H160 <= C) * (ABS(H161 > C) * (H161) + ABS(H161 <= C) * (ABS(H162 > C) * (H162) + ABS(H162 <= C) * (ABS(H163 > C) * (H163) + ABS(H163 <= C) * (ABS(H164 > C) * (H164) + ABS(H164 <= C) * (ABS(H165 > C) * (H165) + ABS(H165 <= C) * (ABS(H166 > C) * (H166) + ABS(H166 <= C) * (ABS(H167 > C) * (H167) + ABS(H167 <= C) * (ABS(H168 > C) * (H168) + ABS(H168 <= C) * (ABS(H169 > C) * (H169) + ABS(H169 <= C) * (ABS(H170 > C) * (H170) + ABS(H170 <= C) * (ABS(H171 > C) * (H171) + ABS(H171 <= C) * (ABS(H172 > C) * (H172) + ABS(H172 <= C) * (ABS(H173 > C) * (H173) + ABS(H173 <= C) * (ABS(H174 > C) * (H174) + ABS(H174 <= C) * (ABS(H175 > C) * (H175) + ABS(H175 <= C) * (ABS(H176 > C) * (H176) + ABS(H176 <= C) * (ABS(H177 > C) * (H177) + ABS(H177 <= C) * (ABS(H178 > C) * (H178) + ABS(H178 <= C) * (ABS(H179 > C) * (H179) + ABS(H179 <= C) * (ABS(H180 > C) * (H180) + ABS(H180 <= C) * (ABS(H181 > C) * (H181) + ABS(H181 <= C) * (ABS(H182 > C) * (H182) + ABS(H182 <= C) * (ABS(H183 > C) * (H183) + ABS(H183 <= C) * (ABS(H184 > C) * (H184) + ABS(H184 <= C) * (ABS(H185 > C) * (H185) + ABS(H185 <= C) * (ABS(H186 > C) * (H186) + ABS(H186 <= C) * (ABS(H187 > C) * (H187) + ABS(H187 <= C) * (ABS(H188 > C) * (H188) + ABS(H188 <= C) * (ABS(H189 > C) * (H189) + ABS(H189 <= C) * (ABS(H190 > C) * (H190) + ABS(H190 <= C) * (ABS(H191 > C) * (H191) + ABS(H191 <= C) * (ABS(H192 > C) * (H192) + ABS(H192 <= C) * (ABS(H193 > C) * (H193) + ABS(H193 <= C) * (ABS(H194 > C) * (H194) + ABS(H194 <= C) * (ABS(H195 > C) * (H195) + ABS(H195 <= C) * (ABS(H196 > C) * (H196) + ABS(H196 <= C) * (ABS(H197 > C) * (H197) + ABS(H197 <= C) * (ABS(H198 > C) * (H198) + ABS(H198 <= C) * (ABS(H199 > C) * (H199) + ABS(H199 <= C) * (ABS(H200 > C) * (H200) + ABS(H200 <= C) * (ABS(H201 > C) * (H201) + ABS(H201 <= C) * (ABS(H202 > C) * (H202) + ABS(H202 <= C) * (ABS(H203 > C) * (H203) + ABS(H203 <= C) * (ABS(H204 > C) * (H204) + ABS(H204 <= C) * (ABS(H205 > C) * (H205) + ABS(H205 <= C) * (ABS(H206 > C) * (H206) + ABS(H206 <= C) * (ABS(H207 > C) * (H207) + ABS(H207 <= C) * (ABS(H208 > C) * (H208) + ABS(H208 <= C) * (ABS(H209 > C) * (H209) + ABS(H209 <= C) * (ABS(H210 > C) * (H210) + ABS(H210 <= C) * (ABS(H211 > C) * (H211) + ABS(H211 <= C) * (ABS(H212 > C) * (H212) + ABS(H212 <= C) * (ABS(H213 > C) * (H213) + ABS(H213 <= C) * (ABS(H214 > C) * (H214) + ABS(H214 <= C) * (ABS(H215 > C) * (H215) + ABS(H215 <= C) * (ABS(H216 > C) * (H216) + ABS(H216 <= C) * (ABS(H217 > C) * (H217) + ABS(H217 <= C) * (ABS(H218 > C) * (H218) + ABS(H218 <= C) * (ABS(H219 > C) * (H219) + ABS(H219 <= C) * (ABS(H220 > C) * (H220) + ABS(H220 <= C) * (ABS(H221 > C) * (H221) + ABS(H221 <= C) * (ABS(H222 > C) * (H222) + ABS(H222 <= C) * (ABS(H223 > C) * (H223) + ABS(H223 <= C) * (ABS(H224 > C) * (H224) + ABS(H224 <= C) * (ABS(H225 > C) * (H225) + ABS(H225 <= C) * (ABS(H226 > C) * (H226) + ABS(H226 <= C) * (ABS(H227 > C) * (H227) + ABS(H227 <= C) * (ABS(H228 > C) * (H228) + ABS(H228 <= C) * (ABS(H229 > C) * (H229) + ABS(H229 <= C) * (ABS(H230 > C) * (H230) + ABS(H230 <= C) * (ABS(H231 > C) * (H231) + ABS(H231 <= C) * (ABS(H232 > C) * (H232) + ABS(H232 <= C) * (ABS(H233 > C) * (H233) + ABS(H233 <= C) * (ABS(H234 > C) * (H234) + ABS(H234 <= C) * (ABS(H235 > C) * (H235) + ABS(H235 <= C) * (ABS(H236 > C) * (H236) + ABS(H236 <= C) * (ABS(H237 > C) * (H237) + ABS(H237 <= C) * (ABS(H238 > C) * (H238) + ABS(H238 <= C) * (ABS(H239 > C) * (H239) + ABS(H239 <= C) * (ABS(H240 > C) * (H240) + ABS(H240 <= C) * (ABS(H241 > C) * (H241) + ABS(H241 <= C) * (ABS(H242 > C) * (H242) + ABS(H242 <= C) * (ABS(H243 > C) * (H243) + ABS(H243 <= C) * (ABS(H244 > C) * (H244) + ABS(H244 <= C) * (ABS(H245 > C) * (H245) + ABS(H245 <= C) * (ABS(H246 > C) * (H246) + ABS(H246 <= C) * (ABS(H247 > C) * (H247) + ABS(H247 <= C) * (ABS(H248 > C) * (H248) + ABS(H248 <= C) * (ABS(H249 > C) * (H249) + ABS(H249 <= C) * (ABS(H250 > C) * (H250) + ABS(H250 <= C) * (ABS(H251 > C) * (H251) + ABS(H251 <= C) * (ABS(H252 > C) * (H252))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

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