Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Platinum Customer
Joined: 10/7/2004 Posts: 14
|
PLEASE WRITE A PCF FOR ME THAT REFLECT THE +DMI (SETTING IS 13) CROSSING OVER ABOVE THE -DMI ON A BIG VOLUME DAY (VOLUME GREATER THAN 30 MA), AFTER A 20 DAY PERIOD OF THE +DMI BEING BELOW THE -DMI AND ADX(SETTING IS 8) BEING BELOW 25.ON THE DAY THAT +DMI CROSSES OVER ABOVE -DMI, I'D LIKE TO HAVE ADX BREAKING OUT ABOVE 25.THANKS.
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
PCFs can't be used effectively to find sequences of conditions, but BackScanner in Blocks can do it. I've attached a BackScan condition that finds stocks meeting your conditions. Attachments: +DI up thru -DI with ADX cross up thru 25.scond - 26 KB, downloaded 543 time(s).
|
|
Platinum Customer
Joined: 10/7/2004 Posts: 14
|
WINDOWS WON'T LET ME OPEN YOUR ATTACHMENT. HOW DO I COPY IT INTO A PCF TO SCAN WITH IN TC?
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
As I mentioned above, what you want cannot be done with PCFs. The only way I know to accomplish it is using BackScanner for Blocks.
To use it in BackScanner, save the attached .scond file to your ..\Blocks Files\Tool Parts\BackScanner Conditions folder. In BackScanner, select Scan Only and add this condition to the Scan Conditions list.
For more information on Blocks and BackScanner including tutorial videos, check out these websites.
BackScanner Blocks
|
|
Platinum Customer
Joined: 10/7/2004 Posts: 14
|
THERE WAS A PREVIOUS POST WRITTEN BY ONE OF THE TRAINERS(POSSIBLY CRAIG) SOME TIME AGO THAT INCLUDED A PCF FOR THIS SAME CONDITION, BUT SET UP FOR A WEEKLY CHART.I AM LOOKING FOR A DAILY VERSION.I'D PREFER A PCF , AS I DON'TCURRENTLY SUBSCRIBE TO THE TC BACKSCAN SERVICE.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Harv, While you may be remembering something similar, I can assure you there was no such post by any of the trainers. I can say this because it is simply not practical to write your conditions as a Personal Criteria Formula in TeleChart (for either daily or weekly charts).
It is not problematic to test for the Volume condition:
V > AVGV30
And the DMI cross itself:
.0769958824343713 * ((H - H1) * (H - H1 > L1 - L) * (H > H1) - (L1 - L) * (H - H1 < L1 - L) * (L < L1) + 12 / 13 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) - (L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + 12 / 13 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) - (L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + 12 / 13 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) - (L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + 12 / 13 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) - (L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + 12 / 13 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) - (L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + 12 / 13 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) - (L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + 12 / 13 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) - (L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + 12 / 13 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) - (L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + 12 / 13 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) - (L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + 12 / 13 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) - (L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + 12 / 13 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) - (L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + 12 / 13 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) - (L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + 12 / 13 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) - (L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + 12 / 13 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) - (L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + 12 / 13 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) - (L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + 12 / 13 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) - (L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + 12 / 13 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) - (L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + 12 / 13 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) - (L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + 12 / 13 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) - (L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + 12 / 13 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) - (L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + 12 / 13 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) - (L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + 12 / 13 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) - (L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + 12 / 13 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) - (L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + 12 / 13 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) - (L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + 12 / 13 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) - (L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + 12 / 13 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) - (L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + 12 / 13 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) - (L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + 12 / 13 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) - (L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + 12 / 13 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) - (L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + 12 / 13 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) - (L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + 12 / 13 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32) - (L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32) + 12 / 13 * ((H32 - H33) * (H32 - H33 > L33 - L32) * (H32 > H33) - (L33 - L32) * (H32 - H33 < L33 - L32) * (L32 < L33) + 12 / 13 * ((H33 - H34) * (H33 - H34 > L34 - L33) * (H33 > H34) - (L34 - L33) * (H33 - H34 < L34 - L33) * (L33 < L34) + 12 / 13 * ((H34 - H35) * (H34 - H35 > L35 - L34) * (H34 > H35) - (L35 - L34) * (H34 - H35 < L35 - L34) * (L34 < L35) + 12 / 13 * ((H35 - H36) * (H35 - H36 > L36 - L35) * (H35 > H36) - (L36 - L35) * (H35 - H36 < L36 - L35) * (L35 < L36) + 12 / 13 * ((H36 - H37) * (H36 - H37 > L37 - L36) * (H36 > H37) - (L37 - L36) * (H36 - H37 < L37 - L36) * (L36 < L37) + 12 / 13 * ((H37 - H38) * (H37 - H38 > L38 - L37) * (H37 > H38) - (L38 - L37) * (H37 - H38 < L38 - L37) * (L37 < L38) + 12 / 13 * ((H38 - H39) * (H38 - H39 > L39 - L38) * (H38 > H39) - (L39 - L38) * (H38 - H39 < L39 - L38) * (L38 < L39) + 12 / 13 * ((H39 - H40) * (H39 - H40 > L40 - L39) * (H39 > H40) - (L40 - L39) * (H39 - H40 < L40 - L39) * (L39 < L40) + 12 / 13 * ((H40 - H41) * (H40 - H41 > L41 - L40) * (H40 > H41) - (L41 - L40) * (H40 - H41 < L41 - L40) * (L40 < L41) + 12 / 13 * ((H41 - H42) * (H41 - H42 > L42 - L41) * (H41 > H42) - (L42 - L41) * (H41 - H42 < L42 - L41) * (L41 < L42) + 12 / 13 * ((H42 - H43) * (H42 - H43 > L43 - L42) * (H42 > H43) - (L43 - L42) * (H42 - H43 < L43 - L42) * (L42 < L43) + 12 / 13 * ((H43 - H44) * (H43 - H44 > L44 - L43) * (H43 > H44) - (L44 - L43) * (H43 - H44 < L44 - L43) * (L43 < L44) + 12 / 13 * ((H44 - H45) * (H44 - H45 > L45 - L44) * (H44 > H45) - (L45 - L44) * (H44 - H45 < L45 - L44) * (L44 < L45) + 12 / 13 * ((H45 - H46) * (H45 - H46 > L46 - L45) * (H45 > H46) - (L46 - L45) * (H45 - H46 < L46 - L45) * (L45 < L46) + 12 / 13 * ((H46 - H47) * (H46 - H47 > L47 - L46) * (H46 > H47) - (L47 - L46) * (H46 - H47 < L47 - L46) * (L46 < L47) + 12 / 13 * ((H47 - H48) * (H47 - H48 > L48 - L47) * (H47 > H48) - (L48 - L47) * (H47 - H48 < L48 - L47) * (L47 < L48) + 12 / 13 * ((H48 - H49) * (H48 - H49 > L49 - L48) * (H48 > H49) - (L49 - L48) * (H48 - H49 < L49 - L48) * (L48 < L49) + 12 / 13 * ((H49 - H50) * (H49 - H50 > L50 - L49) * (H49 > H50) - (L50 - L49) * (H49 - H50 < L50 - L49) * (L49 < L50) + 12 / 13 * ((H50 - H51) * (H50 - H51 > L51 - L50) * (H50 > H51) - (L51 - L50) * (H50 - H51 < L51 - L50) * (L50 < L51) + 12 / 13 * ((H51 - H52) * (H51 - H52 > L52 - L51) * (H51 > H52) - (L52 - L51) * (H51 - H52 < L52 - L51) * (L51 < L52) + 12 / 13 * ((H52 - H53) * (H52 - H53 > L53 - L52) * (H52 > H53) - (L53 - L52) * (H52 - H53 < L53 - L52) * (L52 < L53) + 12 / 13 * ((H53 - H54) * (H53 - H54 > L54 - L53) * (H53 > H54) - (L54 - L53) * (H53 - H54 < L54 - L53) * (L53 < L54) + 12 / 13 * ((H54 - H55) * (H54 - H55 > L55 - L54) * (H54 > H55) - (L55 - L54) * (H54 - H55 < L55 - L54) * (L54 < L55) + 12 / 13 * ((H55 - H56) * (H55 - H56 > L56 - L55) * (H55 > H56) - (L56 - L55) * (H55 - H56 < L56 - L55) * (L55 < L56) + 12 / 13 * ((H56 - H57) * (H56 - H57 > L57 - L56) * (H56 > H57) - (L57 - L56) * (H56 - H57 < L57 - L56) * (L56 < L57) + 12 / 13 * ((H57 - H58) * (H57 - H58 > L58 - L57) * (H57 > H58) - (L58 - L57) * (H57 - H58 < L58 - L57) * (L57 < L58) + 12 / 13 * ((H58 - H59) * (H58 - H59 > L59 - L58) * (H58 > H59) - (L59 - L58) * (H58 - H59 < L59 - L58) * (L58 < L59) + 12 / 13 * ((H59 - H60) * (H59 - H60 > L60 - L59) * (H59 > H60) - (L60 - L59) * (H59 - H60 < L60 - L59) * (L59 < L60) + 12 / 13 * ((H60 - H61) * (H60 - H61 > L61 - L60) * (H60 > H61) - (L61 - L60) * (H60 - H61 < L61 - L60) * (L60 < L61) + 12 / 13 * ((H61 - H62) * (H61 - H62 > L62 - L61) * (H61 > H62) - (L62 - L61) * (H61 - H62 < L62 - L61) * (L61 < L62) + 12 / 13 * ((H62 - H63) * (H62 - H63 > L63 - L62) * (H62 > H63) - (L63 - L62) * (H62 - H63 < L63 - L62) * (L62 < L63) + 12 / 13 * ((H63 - H64) * (H63 - H64 > L64 - L63) * (H63 > H64) - (L64 - L63) * (H63 - H64 < L64 - L63) * (L63 < L64) + 12 / 13 * ((H64 - H65) * (H64 - H65 > L65 - L64) * (H64 > H65) - (L65 - L64) * (H64 - H65 < L65 - L64) * (L64 < L65) + 12 / 13 * ((H65 - H66) * (H65 - H66 > L66 - L65) * (H65 > H66) - (L66 - L65) * (H65 - H66 < L66 - L65) * (L65 < L66) + 12 / 13 * ((H66 - H67) * (H66 - H67 > L67 - L66) * (H66 > H67) - (L67 - L66) * (H66 - H67 < L67 - L66) * (L66 < L67) + 12 / 13 * ((H67 - H68) * (H67 - H68 > L68 - L67) * (H67 > H68) - (L68 - L67) * (H67 - H68 < L68 - L67) * (L67 < L68) + 12 / 13 * ((H68 - H69) * (H68 - H69 > L69 - L68) * (H68 > H69) - (L69 - L68) * (H68 - H69 < L69 - L68) * (L68 < L69) + 12 / 13 * ((H69 - H70) * (H69 - H70 > L70 - L69) * (H69 > H70) - (L70 - L69) * (H69 - H70 < L70 - L69) * (L69 < L70) + 12 / 13 * ((H70 - H71) * (H70 - H71 > L71 - L70) * (H70 > H71) - (L71 - L70) * (H70 - H71 < L71 - L70) * (L70 < L71) + 12 / 13 * ((H71 - H72) * (H71 - H72 > L72 - L71) * (H71 > H72) - (L72 - L71) * (H71 - H72 < L72 - L71) * (L71 < L72) + 12 / 13 * ((H72 - H73) * (H72 - H73 > L73 - L72) * (H72 > H73) - (L73 - L72) * (H72 - H73 < L73 - L72) * (L72 < L73) + 12 / 13 * ((H73 - H74) * (H73 - H74 > L74 - L73) * (H73 > H74) - (L74 - L73) * (H73 - H74 < L74 - L73) * (L73 < L74) + 12 / 13 * ((H74 - H75) * (H74 - H75 > L75 - L74) * (H74 > H75) - (L75 - L74) * (H74 - H75 < L75 - L74) * (L74 < L75) + 12 / 13 * ((H75 - H76) * (H75 - H76 > L76 - L75) * (H75 > H76) - (L76 - L75) * (H75 - H76 < L76 - L75) * (L75 < L76) + 12 / 13 * ((H76 - H77) * (H76 - H77 > L77 - L76) * (H76 > H77) - (L77 - L76) * (H76 - H77 < L77 - L76) * (L76 < L77) + 12 / 13 * ((H77 - H78) * (H77 - H78 > L78 - L77) * (H77 > H78) - (L78 - L77) * (H77 - H78 < L78 - L77) * (L77 < L78) + 12 / 13 * ((H78 - H79) * (H78 - H79 > L79 - L78) * (H78 > H79) - (L79 - L78) * (H78 - H79 < L79 - L78) * (L78 < L79) + 12 / 13 * ((H79 - H80) * (H79 - H80 > L80 - L79) * (H79 > H80) - (L80 - L79) * (H79 - H80 < L80 - L79) * (L79 < L80) + 12 / 13 * ((H80 - H81) * (H80 - H81 > L81 - L80) * (H80 > H81) - (L81 - L80) * (H80 - H81 < L81 - L80) * (L80 < L81) + 12 / 13 * ((H81 - H82) * (H81 - H82 > L82 - L81) * (H81 > H82) - (L82 - L81) * (H81 - H82 < L82 - L81) * (L81 < L82) + 12 / 13 * ((H82 - H83) * (H82 - H83 > L83 - L82) * (H82 > H83) - (L83 - L82) * (H82 - H83 < L83 - L82) * (L82 < L83) + 12 / 13 * ((H83 - H84) * (H83 - H84 > L84 - L83) * (H83 > H84) - (L84 - L83) * (H83 - H84 < L84 - L83) * (L83 < L84) + 12 / 13 * ((H84 - H85) * (H84 - H85 > L85 - L84) * (H84 > H85) - (L85 - L84) * (H84 - H85 < L85 - L84) * (L84 < L85) + 12 / 13 * ((H85 - H86) * (H85 - H86 > L86 - L85) * (H85 > H86) - (L86 - L85) * (H85 - H86 < L86 - L85) * (L85 < L86) + 12 / 13 * ((H86 - H87) * (H86 - H87 > L87 - L86) * (H86 > H87) - (L87 - L86) * (H86 - H87 < L87 - L86) * (L86 < L87)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) > 0 AND .0769958824343713 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) - (L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + 12 / 13 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) - (L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + 12 / 13 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) - (L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + 12 / 13 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) - (L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + 12 / 13 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) - (L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + 12 / 13 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) - (L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + 12 / 13 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) - (L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + 12 / 13 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) - (L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + 12 / 13 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) - (L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + 12 / 13 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) - (L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + 12 / 13 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) - (L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + 12 / 13 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) - (L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + 12 / 13 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) - (L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + 12 / 13 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) - (L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + 12 / 13 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) - (L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + 12 / 13 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) - (L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + 12 / 13 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) - (L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + 12 / 13 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) - (L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + 12 / 13 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) - (L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + 12 / 13 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) - (L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + 12 / 13 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) - (L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + 12 / 13 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) - (L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + 12 / 13 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) - (L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + 12 / 13 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) - (L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + 12 / 13 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) - (L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + 12 / 13 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) - (L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + 12 / 13 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) - (L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + 12 / 13 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) - (L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + 12 / 13 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) - (L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + 12 / 13 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) - (L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + 12 / 13 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32) - (L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32) + 12 / 13 * ((H32 - H33) * (H32 - H33 > L33 - L32) * (H32 > H33) - (L33 - L32) * (H32 - H33 < L33 - L32) * (L32 < L33) + 12 / 13 * ((H33 - H34) * (H33 - H34 > L34 - L33) * (H33 > H34) - (L34 - L33) * (H33 - H34 < L34 - L33) * (L33 < L34) + 12 / 13 * ((H34 - H35) * (H34 - H35 > L35 - L34) * (H34 > H35) - (L35 - L34) * (H34 - H35 < L35 - L34) * (L34 < L35) + 12 / 13 * ((H35 - H36) * (H35 - H36 > L36 - L35) * (H35 > H36) - (L36 - L35) * (H35 - H36 < L36 - L35) * (L35 < L36) + 12 / 13 * ((H36 - H37) * (H36 - H37 > L37 - L36) * (H36 > H37) - (L37 - L36) * (H36 - H37 < L37 - L36) * (L36 < L37) + 12 / 13 * ((H37 - H38) * (H37 - H38 > L38 - L37) * (H37 > H38) - (L38 - L37) * (H37 - H38 < L38 - L37) * (L37 < L38) + 12 / 13 * ((H38 - H39) * (H38 - H39 > L39 - L38) * (H38 > H39) - (L39 - L38) * (H38 - H39 < L39 - L38) * (L38 < L39) + 12 / 13 * ((H39 - H40) * (H39 - H40 > L40 - L39) * (H39 > H40) - (L40 - L39) * (H39 - H40 < L40 - L39) * (L39 < L40) + 12 / 13 * ((H40 - H41) * (H40 - H41 > L41 - L40) * (H40 > H41) - (L41 - L40) * (H40 - H41 < L41 - L40) * (L40 < L41) + 12 / 13 * ((H41 - H42) * (H41 - H42 > L42 - L41) * (H41 > H42) - (L42 - L41) * (H41 - H42 < L42 - L41) * (L41 < L42) + 12 / 13 * ((H42 - H43) * (H42 - H43 > L43 - L42) * (H42 > H43) - (L43 - L42) * (H42 - H43 < L43 - L42) * (L42 < L43) + 12 / 13 * ((H43 - H44) * (H43 - H44 > L44 - L43) * (H43 > H44) - (L44 - L43) * (H43 - H44 < L44 - L43) * (L43 < L44) + 12 / 13 * ((H44 - H45) * (H44 - H45 > L45 - L44) * (H44 > H45) - (L45 - L44) * (H44 - H45 < L45 - L44) * (L44 < L45) + 12 / 13 * ((H45 - H46) * (H45 - H46 > L46 - L45) * (H45 > H46) - (L46 - L45) * (H45 - H46 < L46 - L45) * (L45 < L46) + 12 / 13 * ((H46 - H47) * (H46 - H47 > L47 - L46) * (H46 > H47) - (L47 - L46) * (H46 - H47 < L47 - L46) * (L46 < L47) + 12 / 13 * ((H47 - H48) * (H47 - H48 > L48 - L47) * (H47 > H48) - (L48 - L47) * (H47 - H48 < L48 - L47) * (L47 < L48) + 12 / 13 * ((H48 - H49) * (H48 - H49 > L49 - L48) * (H48 > H49) - (L49 - L48) * (H48 - H49 < L49 - L48) * (L48 < L49) + 12 / 13 * ((H49 - H50) * (H49 - H50 > L50 - L49) * (H49 > H50) - (L50 - L49) * (H49 - H50 < L50 - L49) * (L49 < L50) + 12 / 13 * ((H50 - H51) * (H50 - H51 > L51 - L50) * (H50 > H51) - (L51 - L50) * (H50 - H51 < L51 - L50) * (L50 < L51) + 12 / 13 * ((H51 - H52) * (H51 - H52 > L52 - L51) * (H51 > H52) - (L52 - L51) * (H51 - H52 < L52 - L51) * (L51 < L52) + 12 / 13 * ((H52 - H53) * (H52 - H53 > L53 - L52) * (H52 > H53) - (L53 - L52) * (H52 - H53 < L53 - L52) * (L52 < L53) + 12 / 13 * ((H53 - H54) * (H53 - H54 > L54 - L53) * (H53 > H54) - (L54 - L53) * (H53 - H54 < L54 - L53) * (L53 < L54) + 12 / 13 * ((H54 - H55) * (H54 - H55 > L55 - L54) * (H54 > H55) - (L55 - L54) * (H54 - H55 < L55 - L54) * (L54 < L55) + 12 / 13 * ((H55 - H56) * (H55 - H56 > L56 - L55) * (H55 > H56) - (L56 - L55) * (H55 - H56 < L56 - L55) * (L55 < L56) + 12 / 13 * ((H56 - H57) * (H56 - H57 > L57 - L56) * (H56 > H57) - (L57 - L56) * (H56 - H57 < L57 - L56) * (L56 < L57) + 12 / 13 * ((H57 - H58) * (H57 - H58 > L58 - L57) * (H57 > H58) - (L58 - L57) * (H57 - H58 < L58 - L57) * (L57 < L58) + 12 / 13 * ((H58 - H59) * (H58 - H59 > L59 - L58) * (H58 > H59) - (L59 - L58) * (H58 - H59 < L59 - L58) * (L58 < L59) + 12 / 13 * ((H59 - H60) * (H59 - H60 > L60 - L59) * (H59 > H60) - (L60 - L59) * (H59 - H60 < L60 - L59) * (L59 < L60) + 12 / 13 * ((H60 - H61) * (H60 - H61 > L61 - L60) * (H60 > H61) - (L61 - L60) * (H60 - H61 < L61 - L60) * (L60 < L61) + 12 / 13 * ((H61 - H62) * (H61 - H62 > L62 - L61) * (H61 > H62) - (L62 - L61) * (H61 - H62 < L62 - L61) * (L61 < L62) + 12 / 13 * ((H62 - H63) * (H62 - H63 > L63 - L62) * (H62 > H63) - (L63 - L62) * (H62 - H63 < L63 - L62) * (L62 < L63) + 12 / 13 * ((H63 - H64) * (H63 - H64 > L64 - L63) * (H63 > H64) - (L64 - L63) * (H63 - H64 < L64 - L63) * (L63 < L64) + 12 / 13 * ((H64 - H65) * (H64 - H65 > L65 - L64) * (H64 > H65) - (L65 - L64) * (H64 - H65 < L65 - L64) * (L64 < L65) + 12 / 13 * ((H65 - H66) * (H65 - H66 > L66 - L65) * (H65 > H66) - (L66 - L65) * (H65 - H66 < L66 - L65) * (L65 < L66) + 12 / 13 * ((H66 - H67) * (H66 - H67 > L67 - L66) * (H66 > H67) - (L67 - L66) * (H66 - H67 < L67 - L66) * (L66 < L67) + 12 / 13 * ((H67 - H68) * (H67 - H68 > L68 - L67) * (H67 > H68) - (L68 - L67) * (H67 - H68 < L68 - L67) * (L67 < L68) + 12 / 13 * ((H68 - H69) * (H68 - H69 > L69 - L68) * (H68 > H69) - (L69 - L68) * (H68 - H69 < L69 - L68) * (L68 < L69) + 12 / 13 * ((H69 - H70) * (H69 - H70 > L70 - L69) * (H69 > H70) - (L70 - L69) * (H69 - H70 < L70 - L69) * (L69 < L70) + 12 / 13 * ((H70 - H71) * (H70 - H71 > L71 - L70) * (H70 > H71) - (L71 - L70) * (H70 - H71 < L71 - L70) * (L70 < L71) + 12 / 13 * ((H71 - H72) * (H71 - H72 > L72 - L71) * (H71 > H72) - (L72 - L71) * (H71 - H72 < L72 - L71) * (L71 < L72) + 12 / 13 * ((H72 - H73) * (H72 - H73 > L73 - L72) * (H72 > H73) - (L73 - L72) * (H72 - H73 < L73 - L72) * (L72 < L73) + 12 / 13 * ((H73 - H74) * (H73 - H74 > L74 - L73) * (H73 > H74) - (L74 - L73) * (H73 - H74 < L74 - L73) * (L73 < L74) + 12 / 13 * ((H74 - H75) * (H74 - H75 > L75 - L74) * (H74 > H75) - (L75 - L74) * (H74 - H75 < L75 - L74) * (L74 < L75) + 12 / 13 * ((H75 - H76) * (H75 - H76 > L76 - L75) * (H75 > H76) - (L76 - L75) * (H75 - H76 < L76 - L75) * (L75 < L76) + 12 / 13 * ((H76 - H77) * (H76 - H77 > L77 - L76) * (H76 > H77) - (L77 - L76) * (H76 - H77 < L77 - L76) * (L76 < L77) + 12 / 13 * ((H77 - H78) * (H77 - H78 > L78 - L77) * (H77 > H78) - (L78 - L77) * (H77 - H78 < L78 - L77) * (L77 < L78) + 12 / 13 * ((H78 - H79) * (H78 - H79 > L79 - L78) * (H78 > H79) - (L79 - L78) * (H78 - H79 < L79 - L78) * (L78 < L79) + 12 / 13 * ((H79 - H80) * (H79 - H80 > L80 - L79) * (H79 > H80) - (L80 - L79) * (H79 - H80 < L80 - L79) * (L79 < L80) + 12 / 13 * ((H80 - H81) * (H80 - H81 > L81 - L80) * (H80 > H81) - (L81 - L80) * (H80 - H81 < L81 - L80) * (L80 < L81) + 12 / 13 * ((H81 - H82) * (H81 - H82 > L82 - L81) * (H81 > H82) - (L82 - L81) * (H81 - H82 < L82 - L81) * (L81 < L82) + 12 / 13 * ((H82 - H83) * (H82 - H83 > L83 - L82) * (H82 > H83) - (L83 - L82) * (H82 - H83 < L83 - L82) * (L82 < L83) + 12 / 13 * ((H83 - H84) * (H83 - H84 > L84 - L83) * (H83 > H84) - (L84 - L83) * (H83 - H84 < L84 - L83) * (L83 < L84) + 12 / 13 * ((H84 - H85) * (H84 - H85 > L85 - L84) * (H84 > H85) - (L85 - L84) * (H84 - H85 < L85 - L84) * (L84 < L85) + 12 / 13 * ((H85 - H86) * (H85 - H86 > L86 - L85) * (H85 > H86) - (L86 - L85) * (H85 - H86 < L86 - L85) * (L85 < L86) + 12 / 13 * ((H86 - H87) * (H86 - H87 > L87 - L86) * (H86 > H87) - (L87 - L86) * (H86 - H87 < L87 - L86) * (L86 < L87) + 12 / 13 * ((H87 - H88) * (H87 - H88 > L88 - L87) * (H87 > H88) - (L88 - L87) * (H87 - H88 < L88 - L87) * (L87 < L88)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <= 0
A PCF to test for the +DMI < -DMI for the previous 20-Periods would be too long to be practical (ten times longer than the above).
A PCF for the value of the ADX for even a single period is too long to be practical. Testing for the breakout and ADX being less than 25 for 20-Periods is even less so. It is possible to sort by the ADX using indicator sorts however:
Sorting by the ADX indicator
You may also wish to review the following:
PCF for Wilder's Directional Movement DMI-crossovers PCF for Wilder's DX, and/or a CI for Wilder's ADX Average Directional Index (ADX) How to create a Personal Criteria Forumula (PCF) Using EasyScan to find stocks that meet your own criteria Definitions of all built in scanning and sorting criteria 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
|
|
Guest-1 |