Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

I need a pcf using ADX signals Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kgcaughron
Posted : Wednesday, June 24, 2009 2:12:48 PM
Registered User
Joined: 10/27/2008
Posts: 1
I need a pcf to trigger a watchlist when the pos goes up and the neg goes down during the present day to up to three days .  I would guess that if the opposite were wanted it would just have to be edited slightly, right?
Any help would be appreciated
I would appreciate an email with the answer due to a herniated disk and I can't spend too much time on the computer due to pain. My email is (email removed by moderator)
Bruce_L
Posted : Wednesday, June 24, 2009 2:45:07 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Welcome to the forums. A very good foundation for learning how to use TeleChart can be gained by reviewing the following:

If you are new to TeleChart READ THIS FIRST!

You did not mention a Period. I will provide formulas for the most common ADX settings with a DX Period of 14 (the Avg Period does not matter for the purpose of these formulas). A different Period would require significant changes to the formulas.

Warning: Long Personal Criteria Formulas can dramatically increase the time it takes to update your PCFs.

The Personal Criteria Formula for 14-Period ADX with +DI increasing and -DI decreasing for one Period could be written as:

7.1496012052765 * ((H - H1) * (H - H1 > L1 - L) * (H > H1) + 13 / 14 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) + 13 / 14 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) + 13 / 14 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) + 13 / 14 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) + 13 / 14 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) + 13 / 14 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) + 13 / 14 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) + 13 / 14 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) + 13 / 14 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) + 13 / 14 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) + 13 / 14 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) + 13 / 14 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) + 13 / 14 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) + 13 / 14 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) + 13 / 14 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) + 13 / 14 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) + 13 / 14 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) + 13 / 14 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) + 13 / 14 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) + 13 / 14 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) + 13 / 14 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) + 13 / 14 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) + 13 / 14 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) + 13 / 14 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) + 13 / 14 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) + 13 / 14 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) + 13 / 14 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) + 13 / 14 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) + 13 / 14 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) + 13 / 14 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) + 13 / 14 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32) + 13 / 14 * ((H32 - H33) * (H32 - H33 > L33 - L32) * (H32 > H33) + 13 / 14 * ((H33 - H34) * (H33 - H34 > L34 - L33) * (H33 > H34) + 13 / 14 * ((H34 - H35) * (H34 - H35 > L35 - L34) * (H34 > H35) + 13 / 14 * ((H35 - H36) * (H35 - H36 > L36 - L35) * (H35 > H36) + 13 / 14 * ((H36 - H37) * (H36 - H37 > L37 - L36) * (H36 > H37) + 13 / 14 * ((H37 - H38) * (H37 - H38 > L38 - L37) * (H37 > H38) + 13 / 14 * ((H38 - H39) * (H38 - H39 > L39 - L38) * (H38 > H39) + 13 / 14 * ((H39 - H40) * (H39 - H40 > L40 - L39) * (H39 > H40) + 13 / 14 * ((H40 - H41) * (H40 - H41 > L41 - L40) * (H40 > H41) + 13 / 14 * ((H41 - H42) * (H41 - H42 > L42 - L41) * (H41 > H42) + 13 / 14 * ((H42 - H43) * (H42 - H43 > L43 - L42) * (H42 > H43) + 13 / 14 * ((H43 - H44) * (H43 - H44 > L44 - L43) * (H43 > H44) + 13 / 14 * ((H44 - H45) * (H44 - H45 > L45 - L44) * (H44 > H45) + 13 / 14 * ((H45 - H46) * (H45 - H46 > L46 - L45) * (H45 > H46) + 13 / 14 * ((H46 - H47) * (H46 - H47 > L47 - L46) * (H46 > H47) + 13 / 14 * ((H47 - H48) * (H47 - H48 > L48 - L47) * (H47 > H48) + 13 / 14 * ((H48 - H49) * (H48 - H49 > L49 - L48) * (H48 > H49) + 13 / 14 * ((H49 - H50) * (H49 - H50 > L50 - L49) * (H49 > H50) + 13 / 14 * ((H50 - H51) * (H50 - H51 > L51 - L50) * (H50 > H51) + 13 / 14 * ((H51 - H52) * (H51 - H52 > L52 - L51) * (H51 > H52) + 13 / 14 * ((H52 - H53) * (H52 - H53 > L53 - L52) * (H52 > H53) + 13 / 14 * ((H53 - H54) * (H53 - H54 > L54 - L53) * (H53 > H54) + 13 / 14 * ((H54 - H55) * (H54 - H55 > L55 - L54) * (H54 > H55) + 13 / 14 * ((H55 - H56) * (H55 - H56 > L56 - L55) * (H55 > H56) + 13 / 14 * ((H56 - H57) * (H56 - H57 > L57 - L56) * (H56 > H57) + 13 / 14 * ((H57 - H58) * (H57 - H58 > L58 - L57) * (H57 > H58) + 13 / 14 * ((H58 - H59) * (H58 - H59 > L59 - L58) * (H58 > H59) + 13 / 14 * ((H59 - H60) * (H59 - H60 > L60 - L59) * (H59 > H60) + 13 / 14 * ((H60 - H61) * (H60 - H61 > L61 - L60) * (H60 > H61) + 13 / 14 * ((H61 - H62) * (H61 - H62 > L62 - L61) * (H61 > H62) + 13 / 14 * ((H62 - H63) * (H62 - H63 > L63 - L62) * (H62 > H63) + 13 / 14 * ((H63 - H64) * (H63 - H64 > L64 - L63) * (H63 > H64) + 13 / 14 * ((H64 - H65) * (H64 - H65 > L65 - L64) * (H64 > H65) + 13 / 14 * ((H65 - H66) * (H65 - H66 > L66 - L65) * (H65 > H66) + 13 / 14 * ((H66 - H67) * (H66 - H67 > L67 - L66) * (H66 > H67) + 13 / 14 * ((H67 - H68) * (H67 - H68 > L68 - L67) * (H67 > H68) + 13 / 14 * ((H68 - H69) * (H68 - H69 > L69 - L68) * (H68 > H69) + 13 / 14 * ((H69 - H70) * (H69 - H70 > L70 - L69) * (H69 > H70) + 13 / 14 * ((H70 - H71) * (H70 - H71 > L71 - L70) * (H70 > H71) + 13 / 14 * ((H71 - H72) * (H71 - H72 > L72 - L71) * (H71 > H72) + 13 / 14 * ((H72 - H73) * (H72 - H73 > L73 - L72) * (H72 > H73) + 13 / 14 * ((H73 - H74) * (H73 - H74 > L74 - L73) * (H73 > H74) + 13 / 14 * ((H74 - H75) * (H74 - H75 > L75 - L74) * (H74 > H75) + 13 / 14 * ((H75 - H76) * (H75 - H76 > L76 - L75) * (H75 > H76) + 13 / 14 * ((H76 - H77) * (H76 - H77 > L77 - L76) * (H76 > H77) + 13 / 14 * ((H77 - H78) * (H77 - H78 > L78 - L77) * (H77 > H78) + 13 / 14 * ((H78 - H79) * (H78 - H79 > L79 - L78) * (H78 > H79) + 13 / 14 * ((H79 - H80) * (H79 - H80 > L80 - L79) * (H79 > H80) + 13 / 14 * ((H80 - H81) * (H80 - H81 > L81 - L80) * (H80 > H81) + 13 / 14 * ((H81 - H82) * (H81 - H82 > L82 - L81) * (H81 > H82) + 13 / 14 * ((H82 - H83) * (H82 - H83 > L83 - L82) * (H82 > H83) + 13 / 14 * ((H83 - H84) * (H83 - H84 > L84 - L83) * (H83 > H84) + 13 / 14 * ((H84 - H85) * (H84 - H85 > L85 - L84) * (H84 > H85) + 13 / 14 * ((H85 - H86) * (H85 - H86 > L86 - L85) * (H85 > H86) + 13 / 14 * ((H86 - H87) * (H86 - H87 > L87 - L86) * (H86 > H87) + 13 / 14 * ((H87 - H88) * (H87 - H88 > L88 - L87) * (H87 > H88) + 13 / 14 * ((H88 - H89) * (H88 - H89 > L89 - L88) * (H88 > H89) + 13 / 14 * ((H89 - H90) * (H89 - H90 > L90 - L89) * (H89 > H90) + 13 / 14 * ((H90 - H91) * (H90 - H91 > L91 - L90) * (H90 > H91) + 13 / 14 * ((H91 - H92) * (H91 - H92 > L92 - L91) * (H91 > H92) + 13 / 14 * ((H92 - H93) * (H92 - H93 > L93 - L92) * (H92 > H93) + 13 / 14 * ((H93 - H94) * (H93 - H94 > L94 - L93) * (H93 > H94))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27 - XAVGL27 + .071496012052765 * ((H < C1) * (H - C1) + (C1 < L) * (C1 - L) + 13 / 14 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) > 7.1496012052765 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) + 13 / 14 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) + 13 / 14 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) + 13 / 14 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) + 13 / 14 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) + 13 / 14 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) + 13 / 14 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) + 13 / 14 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) + 13 / 14 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) + 13 / 14 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) + 13 / 14 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) + 13 / 14 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) + 13 / 14 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) + 13 / 14 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) + 13 / 14 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) + 13 / 14 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) + 13 / 14 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) + 13 / 14 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) + 13 / 14 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) + 13 / 14 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) + 13 / 14 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) + 13 / 14 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) + 13 / 14 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) + 13 / 14 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) + 13 / 14 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) + 13 / 14 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) + 13 / 14 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) + 13 / 14 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) + 13 / 14 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) + 13 / 14 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) + 13 / 14 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32) + 13 / 14 * ((H32 - H33) * (H32 - H33 > L33 - L32) * (H32 > H33) + 13 / 14 * ((H33 - H34) * (H33 - H34 > L34 - L33) * (H33 > H34) + 13 / 14 * ((H34 - H35) * (H34 - H35 > L35 - L34) * (H34 > H35) + 13 / 14 * ((H35 - H36) * (H35 - H36 > L36 - L35) * (H35 > H36) + 13 / 14 * ((H36 - H37) * (H36 - H37 > L37 - L36) * (H36 > H37) + 13 / 14 * ((H37 - H38) * (H37 - H38 > L38 - L37) * (H37 > H38) + 13 / 14 * ((H38 - H39) * (H38 - H39 > L39 - L38) * (H38 > H39) + 13 / 14 * ((H39 - H40) * (H39 - H40 > L40 - L39) * (H39 > H40) + 13 / 14 * ((H40 - H41) * (H40 - H41 > L41 - L40) * (H40 > H41) + 13 / 14 * ((H41 - H42) * (H41 - H42 > L42 - L41) * (H41 > H42) + 13 / 14 * ((H42 - H43) * (H42 - H43 > L43 - L42) * (H42 > H43) + 13 / 14 * ((H43 - H44) * (H43 - H44 > L44 - L43) * (H43 > H44) + 13 / 14 * ((H44 - H45) * (H44 - H45 > L45 - L44) * (H44 > H45) + 13 / 14 * ((H45 - H46) * (H45 - H46 > L46 - L45) * (H45 > H46) + 13 / 14 * ((H46 - H47) * (H46 - H47 > L47 - L46) * (H46 > H47) + 13 / 14 * ((H47 - H48) * (H47 - H48 > L48 - L47) * (H47 > H48) + 13 / 14 * ((H48 - H49) * (H48 - H49 > L49 - L48) * (H48 > H49) + 13 / 14 * ((H49 - H50) * (H49 - H50 > L50 - L49) * (H49 > H50) + 13 / 14 * ((H50 - H51) * (H50 - H51 > L51 - L50) * (H50 > H51) + 13 / 14 * ((H51 - H52) * (H51 - H52 > L52 - L51) * (H51 > H52) + 13 / 14 * ((H52 - H53) * (H52 - H53 > L53 - L52) * (H52 > H53) + 13 / 14 * ((H53 - H54) * (H53 - H54 > L54 - L53) * (H53 > H54) + 13 / 14 * ((H54 - H55) * (H54 - H55 > L55 - L54) * (H54 > H55) + 13 / 14 * ((H55 - H56) * (H55 - H56 > L56 - L55) * (H55 > H56) + 13 / 14 * ((H56 - H57) * (H56 - H57 > L57 - L56) * (H56 > H57) + 13 / 14 * ((H57 - H58) * (H57 - H58 > L58 - L57) * (H57 > H58) + 13 / 14 * ((H58 - H59) * (H58 - H59 > L59 - L58) * (H58 > H59) + 13 / 14 * ((H59 - H60) * (H59 - H60 > L60 - L59) * (H59 > H60) + 13 / 14 * ((H60 - H61) * (H60 - H61 > L61 - L60) * (H60 > H61) + 13 / 14 * ((H61 - H62) * (H61 - H62 > L62 - L61) * (H61 > H62) + 13 / 14 * ((H62 - H63) * (H62 - H63 > L63 - L62) * (H62 > H63) + 13 / 14 * ((H63 - H64) * (H63 - H64 > L64 - L63) * (H63 > H64) + 13 / 14 * ((H64 - H65) * (H64 - H65 > L65 - L64) * (H64 > H65) + 13 / 14 * ((H65 - H66) * (H65 - H66 > L66 - L65) * (H65 > H66) + 13 / 14 * ((H66 - H67) * (H66 - H67 > L67 - L66) * (H66 > H67) + 13 / 14 * ((H67 - H68) * (H67 - H68 > L68 - L67) * (H67 > H68) + 13 / 14 * ((H68 - H69) * (H68 - H69 > L69 - L68) * (H68 > H69) + 13 / 14 * ((H69 - H70) * (H69 - H70 > L70 - L69) * (H69 > H70) + 13 / 14 * ((H70 - H71) * (H70 - H71 > L71 - L70) * (H70 > H71) + 13 / 14 * ((H71 - H72) * (H71 - H72 > L72 - L71) * (H71 > H72) + 13 / 14 * ((H72 - H73) * (H72 - H73 > L73 - L72) * (H72 > H73) + 13 / 14 * ((H73 - H74) * (H73 - H74 > L74 - L73) * (H73 > H74) + 13 / 14 * ((H74 - H75) * (H74 - H75 > L75 - L74) * (H74 > H75) + 13 / 14 * ((H75 - H76) * (H75 - H76 > L76 - L75) * (H75 > H76) + 13 / 14 * ((H76 - H77) * (H76 - H77 > L77 - L76) * (H76 > H77) + 13 / 14 * ((H77 - H78) * (H77 - H78 > L78 - L77) * (H77 > H78) + 13 / 14 * ((H78 - H79) * (H78 - H79 > L79 - L78) * (H78 > H79) + 13 / 14 * ((H79 - H80) * (H79 - H80 > L80 - L79) * (H79 > H80) + 13 / 14 * ((H80 - H81) * (H80 - H81 > L81 - L80) * (H80 > H81) + 13 / 14 * ((H81 - H82) * (H81 - H82 > L82 - L81) * (H81 > H82) + 13 / 14 * ((H82 - H83) * (H82 - H83 > L83 - L82) * (H82 > H83) + 13 / 14 * ((H83 - H84) * (H83 - H84 > L84 - L83) * (H83 > H84) + 13 / 14 * ((H84 - H85) * (H84 - H85 > L85 - L84) * (H84 > H85) + 13 / 14 * ((H85 - H86) * (H85 - H86 > L86 - L85) * (H85 > H86) + 13 / 14 * ((H86 - H87) * (H86 - H87 > L87 - L86) * (H86 > H87) + 13 / 14 * ((H87 - H88) * (H87 - H88 > L88 - L87) * (H87 > H88) + 13 / 14 * ((H88 - H89) * (H88 - H89 > L89 - L88) * (H88 > H89) + 13 / 14 * ((H89 - H90) * (H89 - H90 > L90 - L89) * (H89 > H90) + 13 / 14 * ((H90 - H91) * (H90 - H91 > L91 - L90) * (H90 > H91) + 13 / 14 * ((H91 - H92) * (H91 - H92 > L92 - L91) * (H91 > H92) + 13 / 14 * ((H92 - H93) * (H92 - H93 > L93 - L92) * (H92 > H93) + 13 / 14 * ((H93 - H94) * (H93 - H94 > L94 - L93) * (H93 > H94) + 13 / 14 * ((H94 - H95) * (H94 - H95 > L95 - L94) * (H94 > H95))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27.1 - XAVGL27.1 + .071496012052765 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93) + 13 / 14 * ((H94 < C95) * (H94 - C95) + (C95 < L94) * (C95 - L94)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) AND 7.1496012052765 * ((L1 - L0) * (H0 - H1 < L1 - L0) * (L0 < L1) + 13 / 14 * ((L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + 13 / 14 * ((L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + 13 / 14 * ((L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + 13 / 14 * ((L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + 13 / 14 * ((L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + 13 / 14 * ((L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + 13 / 14 * ((L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + 13 / 14 * ((L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + 13 / 14 * ((L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + 13 / 14 * ((L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + 13 / 14 * ((L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + 13 / 14 * ((L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + 13 / 14 * ((L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + 13 / 14 * ((L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + 13 / 14 * ((L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + 13 / 14 * ((L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + 13 / 14 * ((L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + 13 / 14 * ((L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + 13 / 14 * ((L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + 13 / 14 * ((L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + 13 / 14 * ((L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + 13 / 14 * ((L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + 13 / 14 * ((L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + 13 / 14 * ((L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + 13 / 14 * ((L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + 13 / 14 * ((L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + 13 / 14 * ((L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + 13 / 14 * ((L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + 13 / 14 * ((L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + 13 / 14 * ((L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + 13 / 14 * ((L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32) + 13 / 14 * ((L33 - L32) * (H32 - H33 < L33 - L32) * (L32 < L33) + 13 / 14 * ((L34 - L33) * (H33 - H34 < L34 - L33) * (L33 < L34) + 13 / 14 * ((L35 - L34) * (H34 - H35 < L35 - L34) * (L34 < L35) + 13 / 14 * ((L36 - L35) * (H35 - H36 < L36 - L35) * (L35 < L36) + 13 / 14 * ((L37 - L36) * (H36 - H37 < L37 - L36) * (L36 < L37) + 13 / 14 * ((L38 - L37) * (H37 - H38 < L38 - L37) * (L37 < L38) + 13 / 14 * ((L39 - L38) * (H38 - H39 < L39 - L38) * (L38 < L39) + 13 / 14 * ((L40 - L39) * (H39 - H40 < L40 - L39) * (L39 < L40) + 13 / 14 * ((L41 - L40) * (H40 - H41 < L41 - L40) * (L40 < L41) + 13 / 14 * ((L42 - L41) * (H41 - H42 < L42 - L41) * (L41 < L42) + 13 / 14 * ((L43 - L42) * (H42 - H43 < L43 - L42) * (L42 < L43) + 13 / 14 * ((L44 - L43) * (H43 - H44 < L44 - L43) * (L43 < L44) + 13 / 14 * ((L45 - L44) * (H44 - H45 < L45 - L44) * (L44 < L45) + 13 / 14 * ((L46 - L45) * (H45 - H46 < L46 - L45) * (L45 < L46) + 13 / 14 * ((L47 - L46) * (H46 - H47 < L47 - L46) * (L46 < L47) + 13 / 14 * ((L48 - L47) * (H47 - H48 < L48 - L47) * (L47 < L48) + 13 / 14 * ((L49 - L48) * (H48 - H49 < L49 - L48) * (L48 < L49) + 13 / 14 * ((L50 - L49) * (H49 - H50 < L50 - L49) * (L49 < L50) + 13 / 14 * ((L51 - L50) * (H50 - H51 < L51 - L50) * (L50 < L51) + 13 / 14 * ((L52 - L51) * (H51 - H52 < L52 - L51) * (L51 < L52) + 13 / 14 * ((L53 - L52) * (H52 - H53 < L53 - L52) * (L52 < L53) + 13 / 14 * ((L54 - L53) * (H53 - H54 < L54 - L53) * (L53 < L54) + 13 / 14 * ((L55 - L54) * (H54 - H55 < L55 - L54) * (L54 < L55) + 13 / 14 * ((L56 - L55) * (H55 - H56 < L56 - L55) * (L55 < L56) + 13 / 14 * ((L57 - L56) * (H56 - H57 < L57 - L56) * (L56 < L57) + 13 / 14 * ((L58 - L57) * (H57 - H58 < L58 - L57) * (L57 < L58) + 13 / 14 * ((L59 - L58) * (H58 - H59 < L59 - L58) * (L58 < L59) + 13 / 14 * ((L60 - L59) * (H59 - H60 < L60 - L59) * (L59 < L60) + 13 / 14 * ((L61 - L60) * (H60 - H61 < L61 - L60) * (L60 < L61) + 13 / 14 * ((L62 - L61) * (H61 - H62 < L62 - L61) * (L61 < L62) + 13 / 14 * ((L63 - L62) * (H62 - H63 < L63 - L62) * (L62 < L63) + 13 / 14 * ((L64 - L63) * (H63 - H64 < L64 - L63) * (L63 < L64) + 13 / 14 * ((L65 - L64) * (H64 - H65 < L65 - L64) * (L64 < L65) + 13 / 14 * ((L66 - L65) * (H65 - H66 < L66 - L65) * (L65 < L66) + 13 / 14 * ((L67 - L66) * (H66 - H67 < L67 - L66) * (L66 < L67) + 13 / 14 * ((L68 - L67) * (H67 - H68 < L68 - L67) * (L67 < L68) + 13 / 14 * ((L69 - L68) * (H68 - H69 < L69 - L68) * (L68 < L69) + 13 / 14 * ((L70 - L69) * (H69 - H70 < L70 - L69) * (L69 < L70) + 13 / 14 * ((L71 - L70) * (H70 - H71 < L71 - L70) * (L70 < L71) + 13 / 14 * ((L72 - L71) * (H71 - H72 < L72 - L71) * (L71 < L72) + 13 / 14 * ((L73 - L72) * (H72 - H73 < L73 - L72) * (L72 < L73) + 13 / 14 * ((L74 - L73) * (H73 - H74 < L74 - L73) * (L73 < L74) + 13 / 14 * ((L75 - L74) * (H74 - H75 < L75 - L74) * (L74 < L75) + 13 / 14 * ((L76 - L75) * (H75 - H76 < L76 - L75) * (L75 < L76) + 13 / 14 * ((L77 - L76) * (H76 - H77 < L77 - L76) * (L76 < L77) + 13 / 14 * ((L78 - L77) * (H77 - H78 < L78 - L77) * (L77 < L78) + 13 / 14 * ((L79 - L78) * (H78 - H79 < L79 - L78) * (L78 < L79) + 13 / 14 * ((L80 - L79) * (H79 - H80 < L80 - L79) * (L79 < L80) + 13 / 14 * ((L81 - L80) * (H80 - H81 < L81 - L80) * (L80 < L81) + 13 / 14 * ((L82 - L81) * (H81 - H82 < L82 - L81) * (L81 < L82) + 13 / 14 * ((L83 - L82) * (H82 - H83 < L83 - L82) * (L82 < L83) + 13 / 14 * ((L84 - L83) * (H83 - H84 < L84 - L83) * (L83 < L84) + 13 / 14 * ((L85 - L84) * (H84 - H85 < L85 - L84) * (L84 < L85) + 13 / 14 * ((L86 - L85) * (H85 - H86 < L86 - L85) * (L85 < L86) + 13 / 14 * ((L87 - L86) * (H86 - H87 < L87 - L86) * (L86 < L87) + 13 / 14 * ((L88 - L87) * (H87 - H88 < L88 - L87) * (L87 < L88) + 13 / 14 * ((L89 - L88) * (H88 - H89 < L89 - L88) * (L88 < L89) + 13 / 14 * ((L90 - L89) * (H89 - H90 < L90 - L89) * (L89 < L90) + 13 / 14 * ((L91 - L90) * (H90 - H91 < L91 - L90) * (L90 < L91) + 13 / 14 * ((L92 - L91) * (H91 - H92 < L92 - L91) * (L91 < L92) + 13 / 14 * ((L93 - L92) * (H92 - H93 < L93 - L92) * (L92 < L93) + 13 / 14 * ((L94 - L93) * (H93 - H94 < L94 - L93) * (L93 < L94))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27 - XAVGL27 + .071496012052765 * ((H < C1) * (H - C1) + (C1 < L) * (C1 - L) + 13 / 14 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) < 7.1496012052765 * ((L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + 13 / 14 * ((L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + 13 / 14 * ((L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + 13 / 14 * ((L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + 13 / 14 * ((L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + 13 / 14 * ((L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + 13 / 14 * ((L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + 13 / 14 * ((L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + 13 / 14 * ((L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + 13 / 14 * ((L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + 13 / 14 * ((L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + 13 / 14 * ((L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + 13 / 14 * ((L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + 13 / 14 * ((L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + 13 / 14 * ((L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + 13 / 14 * ((L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + 13 / 14 * ((L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + 13 / 14 * ((L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + 13 / 14 * ((L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + 13 / 14 * ((L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + 13 / 14 * ((L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + 13 / 14 * ((L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + 13 / 14 * ((L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + 13 / 14 * ((L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + 13 / 14 * ((L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + 13 / 14 * ((L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + 13 / 14 * ((L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + 13 / 14 * ((L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + 13 / 14 * ((L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + 13 / 14 * ((L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + 13 / 14 * ((L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32) + 13 / 14 * ((L33 - L32) * (H32 - H33 < L33 - L32) * (L32 < L33) + 13 / 14 * ((L34 - L33) * (H33 - H34 < L34 - L33) * (L33 < L34) + 13 / 14 * ((L35 - L34) * (H34 - H35 < L35 - L34) * (L34 < L35) + 13 / 14 * ((L36 - L35) * (H35 - H36 < L36 - L35) * (L35 < L36) + 13 / 14 * ((L37 - L36) * (H36 - H37 < L37 - L36) * (L36 < L37) + 13 / 14 * ((L38 - L37) * (H37 - H38 < L38 - L37) * (L37 < L38) + 13 / 14 * ((L39 - L38) * (H38 - H39 < L39 - L38) * (L38 < L39) + 13 / 14 * ((L40 - L39) * (H39 - H40 < L40 - L39) * (L39 < L40) + 13 / 14 * ((L41 - L40) * (H40 - H41 < L41 - L40) * (L40 < L41) + 13 / 14 * ((L42 - L41) * (H41 - H42 < L42 - L41) * (L41 < L42) + 13 / 14 * ((L43 - L42) * (H42 - H43 < L43 - L42) * (L42 < L43) + 13 / 14 * ((L44 - L43) * (H43 - H44 < L44 - L43) * (L43 < L44) + 13 / 14 * ((L45 - L44) * (H44 - H45 < L45 - L44) * (L44 < L45) + 13 / 14 * ((L46 - L45) * (H45 - H46 < L46 - L45) * (L45 < L46) + 13 / 14 * ((L47 - L46) * (H46 - H47 < L47 - L46) * (L46 < L47) + 13 / 14 * ((L48 - L47) * (H47 - H48 < L48 - L47) * (L47 < L48) + 13 / 14 * ((L49 - L48) * (H48 - H49 < L49 - L48) * (L48 < L49) + 13 / 14 * ((L50 - L49) * (H49 - H50 < L50 - L49) * (L49 < L50) + 13 / 14 * ((L51 - L50) * (H50 - H51 < L51 - L50) * (L50 < L51) + 13 / 14 * ((L52 - L51) * (H51 - H52 < L52 - L51) * (L51 < L52) + 13 / 14 * ((L53 - L52) * (H52 - H53 < L53 - L52) * (L52 < L53) + 13 / 14 * ((L54 - L53) * (H53 - H54 < L54 - L53) * (L53 < L54) + 13 / 14 * ((L55 - L54) * (H54 - H55 < L55 - L54) * (L54 < L55) + 13 / 14 * ((L56 - L55) * (H55 - H56 < L56 - L55) * (L55 < L56) + 13 / 14 * ((L57 - L56) * (H56 - H57 < L57 - L56) * (L56 < L57) + 13 / 14 * ((L58 - L57) * (H57 - H58 < L58 - L57) * (L57 < L58) + 13 / 14 * ((L59 - L58) * (H58 - H59 < L59 - L58) * (L58 < L59) + 13 / 14 * ((L60 - L59) * (H59 - H60 < L60 - L59) * (L59 < L60) + 13 / 14 * ((L61 - L60) * (H60 - H61 < L61 - L60) * (L60 < L61) + 13 / 14 * ((L62 - L61) * (H61 - H62 < L62 - L61) * (L61 < L62) + 13 / 14 * ((L63 - L62) * (H62 - H63 < L63 - L62) * (L62 < L63) + 13 / 14 * ((L64 - L63) * (H63 - H64 < L64 - L63) * (L63 < L64) + 13 / 14 * ((L65 - L64) * (H64 - H65 < L65 - L64) * (L64 < L65) + 13 / 14 * ((L66 - L65) * (H65 - H66 < L66 - L65) * (L65 < L66) + 13 / 14 * ((L67 - L66) * (H66 - H67 < L67 - L66) * (L66 < L67) + 13 / 14 * ((L68 - L67) * (H67 - H68 < L68 - L67) * (L67 < L68) + 13 / 14 * ((L69 - L68) * (H68 - H69 < L69 - L68) * (L68 < L69) + 13 / 14 * ((L70 - L69) * (H69 - H70 < L70 - L69) * (L69 < L70) + 13 / 14 * ((L71 - L70) * (H70 - H71 < L71 - L70) * (L70 < L71) + 13 / 14 * ((L72 - L71) * (H71 - H72 < L72 - L71) * (L71 < L72) + 13 / 14 * ((L73 - L72) * (H72 - H73 < L73 - L72) * (L72 < L73) + 13 / 14 * ((L74 - L73) * (H73 - H74 < L74 - L73) * (L73 < L74) + 13 / 14 * ((L75 - L74) * (H74 - H75 < L75 - L74) * (L74 < L75) + 13 / 14 * ((L76 - L75) * (H75 - H76 < L76 - L75) * (L75 < L76) + 13 / 14 * ((L77 - L76) * (H76 - H77 < L77 - L76) * (L76 < L77) + 13 / 14 * ((L78 - L77) * (H77 - H78 < L78 - L77) * (L77 < L78) + 13 / 14 * ((L79 - L78) * (H78 - H79 < L79 - L78) * (L78 < L79) + 13 / 14 * ((L80 - L79) * (H79 - H80 < L80 - L79) * (L79 < L80) + 13 / 14 * ((L81 - L80) * (H80 - H81 < L81 - L80) * (L80 < L81) + 13 / 14 * ((L82 - L81) * (H81 - H82 < L82 - L81) * (L81 < L82) + 13 / 14 * ((L83 - L82) * (H82 - H83 < L83 - L82) * (L82 < L83) + 13 / 14 * ((L84 - L83) * (H83 - H84 < L84 - L83) * (L83 < L84) + 13 / 14 * ((L85 - L84) * (H84 - H85 < L85 - L84) * (L84 < L85) + 13 / 14 * ((L86 - L85) * (H85 - H86 < L86 - L85) * (L85 < L86) + 13 / 14 * ((L87 - L86) * (H86 - H87 < L87 - L86) * (L86 < L87) + 13 / 14 * ((L88 - L87) * (H87 - H88 < L88 - L87) * (L87 < L88) + 13 / 14 * ((L89 - L88) * (H88 - H89 < L89 - L88) * (L88 < L89) + 13 / 14 * ((L90 - L89) * (H89 - H90 < L90 - L89) * (L89 < L90) + 13 / 14 * ((L91 - L90) * (H90 - H91 < L91 - L90) * (L90 < L91) + 13 / 14 * ((L92 - L91) * (H91 - H92 < L92 - L91) * (L91 < L92) + 13 / 14 * ((L93 - L92) * (H92 - H93 < L93 - L92) * (L92 < L93) + 13 / 14 * ((L94 - L93) * (H93 - H94 < L94 - L93) * (L93 < L94) + 13 / 14 * ((L95 - L94) * (H94 - H95 < L95 - L94) * (L94 < L95))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27.1 - XAVGL27.1 + .071496012052765 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93) + 13 / 14 * ((H94 < C95) * (H94 - C95) + (C95 < L94) * (C95 - L94))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

And a Personal Criteria Formula for 14-Period ADX with +DI decreasing and -DI increasing for one Period could be written as:

7.1496012052765 * ((H - H1) * (H - H1 > L1 - L) * (H > H1) + 13 / 14 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) + 13 / 14 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) + 13 / 14 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) + 13 / 14 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) + 13 / 14 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) + 13 / 14 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) + 13 / 14 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) + 13 / 14 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) + 13 / 14 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) + 13 / 14 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) + 13 / 14 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) + 13 / 14 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) + 13 / 14 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) + 13 / 14 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) + 13 / 14 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) + 13 / 14 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) + 13 / 14 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) + 13 / 14 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) + 13 / 14 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) + 13 / 14 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) + 13 / 14 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) + 13 / 14 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) + 13 / 14 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) + 13 / 14 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) + 13 / 14 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) + 13 / 14 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) + 13 / 14 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) + 13 / 14 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) + 13 / 14 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) + 13 / 14 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) + 13 / 14 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32) + 13 / 14 * ((H32 - H33) * (H32 - H33 > L33 - L32) * (H32 > H33) + 13 / 14 * ((H33 - H34) * (H33 - H34 > L34 - L33) * (H33 > H34) + 13 / 14 * ((H34 - H35) * (H34 - H35 > L35 - L34) * (H34 > H35) + 13 / 14 * ((H35 - H36) * (H35 - H36 > L36 - L35) * (H35 > H36) + 13 / 14 * ((H36 - H37) * (H36 - H37 > L37 - L36) * (H36 > H37) + 13 / 14 * ((H37 - H38) * (H37 - H38 > L38 - L37) * (H37 > H38) + 13 / 14 * ((H38 - H39) * (H38 - H39 > L39 - L38) * (H38 > H39) + 13 / 14 * ((H39 - H40) * (H39 - H40 > L40 - L39) * (H39 > H40) + 13 / 14 * ((H40 - H41) * (H40 - H41 > L41 - L40) * (H40 > H41) + 13 / 14 * ((H41 - H42) * (H41 - H42 > L42 - L41) * (H41 > H42) + 13 / 14 * ((H42 - H43) * (H42 - H43 > L43 - L42) * (H42 > H43) + 13 / 14 * ((H43 - H44) * (H43 - H44 > L44 - L43) * (H43 > H44) + 13 / 14 * ((H44 - H45) * (H44 - H45 > L45 - L44) * (H44 > H45) + 13 / 14 * ((H45 - H46) * (H45 - H46 > L46 - L45) * (H45 > H46) + 13 / 14 * ((H46 - H47) * (H46 - H47 > L47 - L46) * (H46 > H47) + 13 / 14 * ((H47 - H48) * (H47 - H48 > L48 - L47) * (H47 > H48) + 13 / 14 * ((H48 - H49) * (H48 - H49 > L49 - L48) * (H48 > H49) + 13 / 14 * ((H49 - H50) * (H49 - H50 > L50 - L49) * (H49 > H50) + 13 / 14 * ((H50 - H51) * (H50 - H51 > L51 - L50) * (H50 > H51) + 13 / 14 * ((H51 - H52) * (H51 - H52 > L52 - L51) * (H51 > H52) + 13 / 14 * ((H52 - H53) * (H52 - H53 > L53 - L52) * (H52 > H53) + 13 / 14 * ((H53 - H54) * (H53 - H54 > L54 - L53) * (H53 > H54) + 13 / 14 * ((H54 - H55) * (H54 - H55 > L55 - L54) * (H54 > H55) + 13 / 14 * ((H55 - H56) * (H55 - H56 > L56 - L55) * (H55 > H56) + 13 / 14 * ((H56 - H57) * (H56 - H57 > L57 - L56) * (H56 > H57) + 13 / 14 * ((H57 - H58) * (H57 - H58 > L58 - L57) * (H57 > H58) + 13 / 14 * ((H58 - H59) * (H58 - H59 > L59 - L58) * (H58 > H59) + 13 / 14 * ((H59 - H60) * (H59 - H60 > L60 - L59) * (H59 > H60) + 13 / 14 * ((H60 - H61) * (H60 - H61 > L61 - L60) * (H60 > H61) + 13 / 14 * ((H61 - H62) * (H61 - H62 > L62 - L61) * (H61 > H62) + 13 / 14 * ((H62 - H63) * (H62 - H63 > L63 - L62) * (H62 > H63) + 13 / 14 * ((H63 - H64) * (H63 - H64 > L64 - L63) * (H63 > H64) + 13 / 14 * ((H64 - H65) * (H64 - H65 > L65 - L64) * (H64 > H65) + 13 / 14 * ((H65 - H66) * (H65 - H66 > L66 - L65) * (H65 > H66) + 13 / 14 * ((H66 - H67) * (H66 - H67 > L67 - L66) * (H66 > H67) + 13 / 14 * ((H67 - H68) * (H67 - H68 > L68 - L67) * (H67 > H68) + 13 / 14 * ((H68 - H69) * (H68 - H69 > L69 - L68) * (H68 > H69) + 13 / 14 * ((H69 - H70) * (H69 - H70 > L70 - L69) * (H69 > H70) + 13 / 14 * ((H70 - H71) * (H70 - H71 > L71 - L70) * (H70 > H71) + 13 / 14 * ((H71 - H72) * (H71 - H72 > L72 - L71) * (H71 > H72) + 13 / 14 * ((H72 - H73) * (H72 - H73 > L73 - L72) * (H72 > H73) + 13 / 14 * ((H73 - H74) * (H73 - H74 > L74 - L73) * (H73 > H74) + 13 / 14 * ((H74 - H75) * (H74 - H75 > L75 - L74) * (H74 > H75) + 13 / 14 * ((H75 - H76) * (H75 - H76 > L76 - L75) * (H75 > H76) + 13 / 14 * ((H76 - H77) * (H76 - H77 > L77 - L76) * (H76 > H77) + 13 / 14 * ((H77 - H78) * (H77 - H78 > L78 - L77) * (H77 > H78) + 13 / 14 * ((H78 - H79) * (H78 - H79 > L79 - L78) * (H78 > H79) + 13 / 14 * ((H79 - H80) * (H79 - H80 > L80 - L79) * (H79 > H80) + 13 / 14 * ((H80 - H81) * (H80 - H81 > L81 - L80) * (H80 > H81) + 13 / 14 * ((H81 - H82) * (H81 - H82 > L82 - L81) * (H81 > H82) + 13 / 14 * ((H82 - H83) * (H82 - H83 > L83 - L82) * (H82 > H83) + 13 / 14 * ((H83 - H84) * (H83 - H84 > L84 - L83) * (H83 > H84) + 13 / 14 * ((H84 - H85) * (H84 - H85 > L85 - L84) * (H84 > H85) + 13 / 14 * ((H85 - H86) * (H85 - H86 > L86 - L85) * (H85 > H86) + 13 / 14 * ((H86 - H87) * (H86 - H87 > L87 - L86) * (H86 > H87) + 13 / 14 * ((H87 - H88) * (H87 - H88 > L88 - L87) * (H87 > H88) + 13 / 14 * ((H88 - H89) * (H88 - H89 > L89 - L88) * (H88 > H89) + 13 / 14 * ((H89 - H90) * (H89 - H90 > L90 - L89) * (H89 > H90) + 13 / 14 * ((H90 - H91) * (H90 - H91 > L91 - L90) * (H90 > H91) + 13 / 14 * ((H91 - H92) * (H91 - H92 > L92 - L91) * (H91 > H92) + 13 / 14 * ((H92 - H93) * (H92 - H93 > L93 - L92) * (H92 > H93) + 13 / 14 * ((H93 - H94) * (H93 - H94 > L94 - L93) * (H93 > H94))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27 - XAVGL27 + .071496012052765 * ((H < C1) * (H - C1) + (C1 < L) * (C1 - L) + 13 / 14 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) < 7.1496012052765 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) + 13 / 14 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) + 13 / 14 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) + 13 / 14 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) + 13 / 14 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) + 13 / 14 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) + 13 / 14 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) + 13 / 14 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) + 13 / 14 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) + 13 / 14 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) + 13 / 14 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) + 13 / 14 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) + 13 / 14 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) + 13 / 14 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) + 13 / 14 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) + 13 / 14 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) + 13 / 14 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) + 13 / 14 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) + 13 / 14 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) + 13 / 14 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) + 13 / 14 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) + 13 / 14 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) + 13 / 14 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) + 13 / 14 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) + 13 / 14 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) + 13 / 14 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) + 13 / 14 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) + 13 / 14 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) + 13 / 14 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) + 13 / 14 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) + 13 / 14 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32) + 13 / 14 * ((H32 - H33) * (H32 - H33 > L33 - L32) * (H32 > H33) + 13 / 14 * ((H33 - H34) * (H33 - H34 > L34 - L33) * (H33 > H34) + 13 / 14 * ((H34 - H35) * (H34 - H35 > L35 - L34) * (H34 > H35) + 13 / 14 * ((H35 - H36) * (H35 - H36 > L36 - L35) * (H35 > H36) + 13 / 14 * ((H36 - H37) * (H36 - H37 > L37 - L36) * (H36 > H37) + 13 / 14 * ((H37 - H38) * (H37 - H38 > L38 - L37) * (H37 > H38) + 13 / 14 * ((H38 - H39) * (H38 - H39 > L39 - L38) * (H38 > H39) + 13 / 14 * ((H39 - H40) * (H39 - H40 > L40 - L39) * (H39 > H40) + 13 / 14 * ((H40 - H41) * (H40 - H41 > L41 - L40) * (H40 > H41) + 13 / 14 * ((H41 - H42) * (H41 - H42 > L42 - L41) * (H41 > H42) + 13 / 14 * ((H42 - H43) * (H42 - H43 > L43 - L42) * (H42 > H43) + 13 / 14 * ((H43 - H44) * (H43 - H44 > L44 - L43) * (H43 > H44) + 13 / 14 * ((H44 - H45) * (H44 - H45 > L45 - L44) * (H44 > H45) + 13 / 14 * ((H45 - H46) * (H45 - H46 > L46 - L45) * (H45 > H46) + 13 / 14 * ((H46 - H47) * (H46 - H47 > L47 - L46) * (H46 > H47) + 13 / 14 * ((H47 - H48) * (H47 - H48 > L48 - L47) * (H47 > H48) + 13 / 14 * ((H48 - H49) * (H48 - H49 > L49 - L48) * (H48 > H49) + 13 / 14 * ((H49 - H50) * (H49 - H50 > L50 - L49) * (H49 > H50) + 13 / 14 * ((H50 - H51) * (H50 - H51 > L51 - L50) * (H50 > H51) + 13 / 14 * ((H51 - H52) * (H51 - H52 > L52 - L51) * (H51 > H52) + 13 / 14 * ((H52 - H53) * (H52 - H53 > L53 - L52) * (H52 > H53) + 13 / 14 * ((H53 - H54) * (H53 - H54 > L54 - L53) * (H53 > H54) + 13 / 14 * ((H54 - H55) * (H54 - H55 > L55 - L54) * (H54 > H55) + 13 / 14 * ((H55 - H56) * (H55 - H56 > L56 - L55) * (H55 > H56) + 13 / 14 * ((H56 - H57) * (H56 - H57 > L57 - L56) * (H56 > H57) + 13 / 14 * ((H57 - H58) * (H57 - H58 > L58 - L57) * (H57 > H58) + 13 / 14 * ((H58 - H59) * (H58 - H59 > L59 - L58) * (H58 > H59) + 13 / 14 * ((H59 - H60) * (H59 - H60 > L60 - L59) * (H59 > H60) + 13 / 14 * ((H60 - H61) * (H60 - H61 > L61 - L60) * (H60 > H61) + 13 / 14 * ((H61 - H62) * (H61 - H62 > L62 - L61) * (H61 > H62) + 13 / 14 * ((H62 - H63) * (H62 - H63 > L63 - L62) * (H62 > H63) + 13 / 14 * ((H63 - H64) * (H63 - H64 > L64 - L63) * (H63 > H64) + 13 / 14 * ((H64 - H65) * (H64 - H65 > L65 - L64) * (H64 > H65) + 13 / 14 * ((H65 - H66) * (H65 - H66 > L66 - L65) * (H65 > H66) + 13 / 14 * ((H66 - H67) * (H66 - H67 > L67 - L66) * (H66 > H67) + 13 / 14 * ((H67 - H68) * (H67 - H68 > L68 - L67) * (H67 > H68) + 13 / 14 * ((H68 - H69) * (H68 - H69 > L69 - L68) * (H68 > H69) + 13 / 14 * ((H69 - H70) * (H69 - H70 > L70 - L69) * (H69 > H70) + 13 / 14 * ((H70 - H71) * (H70 - H71 > L71 - L70) * (H70 > H71) + 13 / 14 * ((H71 - H72) * (H71 - H72 > L72 - L71) * (H71 > H72) + 13 / 14 * ((H72 - H73) * (H72 - H73 > L73 - L72) * (H72 > H73) + 13 / 14 * ((H73 - H74) * (H73 - H74 > L74 - L73) * (H73 > H74) + 13 / 14 * ((H74 - H75) * (H74 - H75 > L75 - L74) * (H74 > H75) + 13 / 14 * ((H75 - H76) * (H75 - H76 > L76 - L75) * (H75 > H76) + 13 / 14 * ((H76 - H77) * (H76 - H77 > L77 - L76) * (H76 > H77) + 13 / 14 * ((H77 - H78) * (H77 - H78 > L78 - L77) * (H77 > H78) + 13 / 14 * ((H78 - H79) * (H78 - H79 > L79 - L78) * (H78 > H79) + 13 / 14 * ((H79 - H80) * (H79 - H80 > L80 - L79) * (H79 > H80) + 13 / 14 * ((H80 - H81) * (H80 - H81 > L81 - L80) * (H80 > H81) + 13 / 14 * ((H81 - H82) * (H81 - H82 > L82 - L81) * (H81 > H82) + 13 / 14 * ((H82 - H83) * (H82 - H83 > L83 - L82) * (H82 > H83) + 13 / 14 * ((H83 - H84) * (H83 - H84 > L84 - L83) * (H83 > H84) + 13 / 14 * ((H84 - H85) * (H84 - H85 > L85 - L84) * (H84 > H85) + 13 / 14 * ((H85 - H86) * (H85 - H86 > L86 - L85) * (H85 > H86) + 13 / 14 * ((H86 - H87) * (H86 - H87 > L87 - L86) * (H86 > H87) + 13 / 14 * ((H87 - H88) * (H87 - H88 > L88 - L87) * (H87 > H88) + 13 / 14 * ((H88 - H89) * (H88 - H89 > L89 - L88) * (H88 > H89) + 13 / 14 * ((H89 - H90) * (H89 - H90 > L90 - L89) * (H89 > H90) + 13 / 14 * ((H90 - H91) * (H90 - H91 > L91 - L90) * (H90 > H91) + 13 / 14 * ((H91 - H92) * (H91 - H92 > L92 - L91) * (H91 > H92) + 13 / 14 * ((H92 - H93) * (H92 - H93 > L93 - L92) * (H92 > H93) + 13 / 14 * ((H93 - H94) * (H93 - H94 > L94 - L93) * (H93 > H94) + 13 / 14 * ((H94 - H95) * (H94 - H95 > L95 - L94) * (H94 > H95))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27.1 - XAVGL27.1 + .071496012052765 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93) + 13 / 14 * ((H94 < C95) * (H94 - C95) + (C95 < L94) * (C95 - L94)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) AND 7.1496012052765 * ((L1 - L0) * (H0 - H1 < L1 - L0) * (L0 < L1) + 13 / 14 * ((L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + 13 / 14 * ((L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + 13 / 14 * ((L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + 13 / 14 * ((L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + 13 / 14 * ((L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + 13 / 14 * ((L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + 13 / 14 * ((L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + 13 / 14 * ((L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + 13 / 14 * ((L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + 13 / 14 * ((L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + 13 / 14 * ((L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + 13 / 14 * ((L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + 13 / 14 * ((L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + 13 / 14 * ((L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + 13 / 14 * ((L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + 13 / 14 * ((L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + 13 / 14 * ((L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + 13 / 14 * ((L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + 13 / 14 * ((L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + 13 / 14 * ((L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + 13 / 14 * ((L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + 13 / 14 * ((L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + 13 / 14 * ((L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + 13 / 14 * ((L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + 13 / 14 * ((L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + 13 / 14 * ((L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + 13 / 14 * ((L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + 13 / 14 * ((L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + 13 / 14 * ((L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + 13 / 14 * ((L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + 13 / 14 * ((L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32) + 13 / 14 * ((L33 - L32) * (H32 - H33 < L33 - L32) * (L32 < L33) + 13 / 14 * ((L34 - L33) * (H33 - H34 < L34 - L33) * (L33 < L34) + 13 / 14 * ((L35 - L34) * (H34 - H35 < L35 - L34) * (L34 < L35) + 13 / 14 * ((L36 - L35) * (H35 - H36 < L36 - L35) * (L35 < L36) + 13 / 14 * ((L37 - L36) * (H36 - H37 < L37 - L36) * (L36 < L37) + 13 / 14 * ((L38 - L37) * (H37 - H38 < L38 - L37) * (L37 < L38) + 13 / 14 * ((L39 - L38) * (H38 - H39 < L39 - L38) * (L38 < L39) + 13 / 14 * ((L40 - L39) * (H39 - H40 < L40 - L39) * (L39 < L40) + 13 / 14 * ((L41 - L40) * (H40 - H41 < L41 - L40) * (L40 < L41) + 13 / 14 * ((L42 - L41) * (H41 - H42 < L42 - L41) * (L41 < L42) + 13 / 14 * ((L43 - L42) * (H42 - H43 < L43 - L42) * (L42 < L43) + 13 / 14 * ((L44 - L43) * (H43 - H44 < L44 - L43) * (L43 < L44) + 13 / 14 * ((L45 - L44) * (H44 - H45 < L45 - L44) * (L44 < L45) + 13 / 14 * ((L46 - L45) * (H45 - H46 < L46 - L45) * (L45 < L46) + 13 / 14 * ((L47 - L46) * (H46 - H47 < L47 - L46) * (L46 < L47) + 13 / 14 * ((L48 - L47) * (H47 - H48 < L48 - L47) * (L47 < L48) + 13 / 14 * ((L49 - L48) * (H48 - H49 < L49 - L48) * (L48 < L49) + 13 / 14 * ((L50 - L49) * (H49 - H50 < L50 - L49) * (L49 < L50) + 13 / 14 * ((L51 - L50) * (H50 - H51 < L51 - L50) * (L50 < L51) + 13 / 14 * ((L52 - L51) * (H51 - H52 < L52 - L51) * (L51 < L52) + 13 / 14 * ((L53 - L52) * (H52 - H53 < L53 - L52) * (L52 < L53) + 13 / 14 * ((L54 - L53) * (H53 - H54 < L54 - L53) * (L53 < L54) + 13 / 14 * ((L55 - L54) * (H54 - H55 < L55 - L54) * (L54 < L55) + 13 / 14 * ((L56 - L55) * (H55 - H56 < L56 - L55) * (L55 < L56) + 13 / 14 * ((L57 - L56) * (H56 - H57 < L57 - L56) * (L56 < L57) + 13 / 14 * ((L58 - L57) * (H57 - H58 < L58 - L57) * (L57 < L58) + 13 / 14 * ((L59 - L58) * (H58 - H59 < L59 - L58) * (L58 < L59) + 13 / 14 * ((L60 - L59) * (H59 - H60 < L60 - L59) * (L59 < L60) + 13 / 14 * ((L61 - L60) * (H60 - H61 < L61 - L60) * (L60 < L61) + 13 / 14 * ((L62 - L61) * (H61 - H62 < L62 - L61) * (L61 < L62) + 13 / 14 * ((L63 - L62) * (H62 - H63 < L63 - L62) * (L62 < L63) + 13 / 14 * ((L64 - L63) * (H63 - H64 < L64 - L63) * (L63 < L64) + 13 / 14 * ((L65 - L64) * (H64 - H65 < L65 - L64) * (L64 < L65) + 13 / 14 * ((L66 - L65) * (H65 - H66 < L66 - L65) * (L65 < L66) + 13 / 14 * ((L67 - L66) * (H66 - H67 < L67 - L66) * (L66 < L67) + 13 / 14 * ((L68 - L67) * (H67 - H68 < L68 - L67) * (L67 < L68) + 13 / 14 * ((L69 - L68) * (H68 - H69 < L69 - L68) * (L68 < L69) + 13 / 14 * ((L70 - L69) * (H69 - H70 < L70 - L69) * (L69 < L70) + 13 / 14 * ((L71 - L70) * (H70 - H71 < L71 - L70) * (L70 < L71) + 13 / 14 * ((L72 - L71) * (H71 - H72 < L72 - L71) * (L71 < L72) + 13 / 14 * ((L73 - L72) * (H72 - H73 < L73 - L72) * (L72 < L73) + 13 / 14 * ((L74 - L73) * (H73 - H74 < L74 - L73) * (L73 < L74) + 13 / 14 * ((L75 - L74) * (H74 - H75 < L75 - L74) * (L74 < L75) + 13 / 14 * ((L76 - L75) * (H75 - H76 < L76 - L75) * (L75 < L76) + 13 / 14 * ((L77 - L76) * (H76 - H77 < L77 - L76) * (L76 < L77) + 13 / 14 * ((L78 - L77) * (H77 - H78 < L78 - L77) * (L77 < L78) + 13 / 14 * ((L79 - L78) * (H78 - H79 < L79 - L78) * (L78 < L79) + 13 / 14 * ((L80 - L79) * (H79 - H80 < L80 - L79) * (L79 < L80) + 13 / 14 * ((L81 - L80) * (H80 - H81 < L81 - L80) * (L80 < L81) + 13 / 14 * ((L82 - L81) * (H81 - H82 < L82 - L81) * (L81 < L82) + 13 / 14 * ((L83 - L82) * (H82 - H83 < L83 - L82) * (L82 < L83) + 13 / 14 * ((L84 - L83) * (H83 - H84 < L84 - L83) * (L83 < L84) + 13 / 14 * ((L85 - L84) * (H84 - H85 < L85 - L84) * (L84 < L85) + 13 / 14 * ((L86 - L85) * (H85 - H86 < L86 - L85) * (L85 < L86) + 13 / 14 * ((L87 - L86) * (H86 - H87 < L87 - L86) * (L86 < L87) + 13 / 14 * ((L88 - L87) * (H87 - H88 < L88 - L87) * (L87 < L88) + 13 / 14 * ((L89 - L88) * (H88 - H89 < L89 - L88) * (L88 < L89) + 13 / 14 * ((L90 - L89) * (H89 - H90 < L90 - L89) * (L89 < L90) + 13 / 14 * ((L91 - L90) * (H90 - H91 < L91 - L90) * (L90 < L91) + 13 / 14 * ((L92 - L91) * (H91 - H92 < L92 - L91) * (L91 < L92) + 13 / 14 * ((L93 - L92) * (H92 - H93 < L93 - L92) * (L92 < L93) + 13 / 14 * ((L94 - L93) * (H93 - H94 < L94 - L93) * (L93 < L94))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27 - XAVGL27 + .071496012052765 * ((H < C1) * (H - C1) + (C1 < L) * (C1 - L) + 13 / 14 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) > 7.1496012052765 * ((L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + 13 / 14 * ((L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + 13 / 14 * ((L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + 13 / 14 * ((L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + 13 / 14 * ((L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + 13 / 14 * ((L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + 13 / 14 * ((L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + 13 / 14 * ((L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + 13 / 14 * ((L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + 13 / 14 * ((L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + 13 / 14 * ((L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + 13 / 14 * ((L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + 13 / 14 * ((L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + 13 / 14 * ((L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + 13 / 14 * ((L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + 13 / 14 * ((L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + 13 / 14 * ((L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + 13 / 14 * ((L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + 13 / 14 * ((L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + 13 / 14 * ((L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + 13 / 14 * ((L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + 13 / 14 * ((L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + 13 / 14 * ((L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + 13 / 14 * ((L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + 13 / 14 * ((L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + 13 / 14 * ((L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + 13 / 14 * ((L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + 13 / 14 * ((L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + 13 / 14 * ((L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + 13 / 14 * ((L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + 13 / 14 * ((L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32) + 13 / 14 * ((L33 - L32) * (H32 - H33 < L33 - L32) * (L32 < L33) + 13 / 14 * ((L34 - L33) * (H33 - H34 < L34 - L33) * (L33 < L34) + 13 / 14 * ((L35 - L34) * (H34 - H35 < L35 - L34) * (L34 < L35) + 13 / 14 * ((L36 - L35) * (H35 - H36 < L36 - L35) * (L35 < L36) + 13 / 14 * ((L37 - L36) * (H36 - H37 < L37 - L36) * (L36 < L37) + 13 / 14 * ((L38 - L37) * (H37 - H38 < L38 - L37) * (L37 < L38) + 13 / 14 * ((L39 - L38) * (H38 - H39 < L39 - L38) * (L38 < L39) + 13 / 14 * ((L40 - L39) * (H39 - H40 < L40 - L39) * (L39 < L40) + 13 / 14 * ((L41 - L40) * (H40 - H41 < L41 - L40) * (L40 < L41) + 13 / 14 * ((L42 - L41) * (H41 - H42 < L42 - L41) * (L41 < L42) + 13 / 14 * ((L43 - L42) * (H42 - H43 < L43 - L42) * (L42 < L43) + 13 / 14 * ((L44 - L43) * (H43 - H44 < L44 - L43) * (L43 < L44) + 13 / 14 * ((L45 - L44) * (H44 - H45 < L45 - L44) * (L44 < L45) + 13 / 14 * ((L46 - L45) * (H45 - H46 < L46 - L45) * (L45 < L46) + 13 / 14 * ((L47 - L46) * (H46 - H47 < L47 - L46) * (L46 < L47) + 13 / 14 * ((L48 - L47) * (H47 - H48 < L48 - L47) * (L47 < L48) + 13 / 14 * ((L49 - L48) * (H48 - H49 < L49 - L48) * (L48 < L49) + 13 / 14 * ((L50 - L49) * (H49 - H50 < L50 - L49) * (L49 < L50) + 13 / 14 * ((L51 - L50) * (H50 - H51 < L51 - L50) * (L50 < L51) + 13 / 14 * ((L52 - L51) * (H51 - H52 < L52 - L51) * (L51 < L52) + 13 / 14 * ((L53 - L52) * (H52 - H53 < L53 - L52) * (L52 < L53) + 13 / 14 * ((L54 - L53) * (H53 - H54 < L54 - L53) * (L53 < L54) + 13 / 14 * ((L55 - L54) * (H54 - H55 < L55 - L54) * (L54 < L55) + 13 / 14 * ((L56 - L55) * (H55 - H56 < L56 - L55) * (L55 < L56) + 13 / 14 * ((L57 - L56) * (H56 - H57 < L57 - L56) * (L56 < L57) + 13 / 14 * ((L58 - L57) * (H57 - H58 < L58 - L57) * (L57 < L58) + 13 / 14 * ((L59 - L58) * (H58 - H59 < L59 - L58) * (L58 < L59) + 13 / 14 * ((L60 - L59) * (H59 - H60 < L60 - L59) * (L59 < L60) + 13 / 14 * ((L61 - L60) * (H60 - H61 < L61 - L60) * (L60 < L61) + 13 / 14 * ((L62 - L61) * (H61 - H62 < L62 - L61) * (L61 < L62) + 13 / 14 * ((L63 - L62) * (H62 - H63 < L63 - L62) * (L62 < L63) + 13 / 14 * ((L64 - L63) * (H63 - H64 < L64 - L63) * (L63 < L64) + 13 / 14 * ((L65 - L64) * (H64 - H65 < L65 - L64) * (L64 < L65) + 13 / 14 * ((L66 - L65) * (H65 - H66 < L66 - L65) * (L65 < L66) + 13 / 14 * ((L67 - L66) * (H66 - H67 < L67 - L66) * (L66 < L67) + 13 / 14 * ((L68 - L67) * (H67 - H68 < L68 - L67) * (L67 < L68) + 13 / 14 * ((L69 - L68) * (H68 - H69 < L69 - L68) * (L68 < L69) + 13 / 14 * ((L70 - L69) * (H69 - H70 < L70 - L69) * (L69 < L70) + 13 / 14 * ((L71 - L70) * (H70 - H71 < L71 - L70) * (L70 < L71) + 13 / 14 * ((L72 - L71) * (H71 - H72 < L72 - L71) * (L71 < L72) + 13 / 14 * ((L73 - L72) * (H72 - H73 < L73 - L72) * (L72 < L73) + 13 / 14 * ((L74 - L73) * (H73 - H74 < L74 - L73) * (L73 < L74) + 13 / 14 * ((L75 - L74) * (H74 - H75 < L75 - L74) * (L74 < L75) + 13 / 14 * ((L76 - L75) * (H75 - H76 < L76 - L75) * (L75 < L76) + 13 / 14 * ((L77 - L76) * (H76 - H77 < L77 - L76) * (L76 < L77) + 13 / 14 * ((L78 - L77) * (H77 - H78 < L78 - L77) * (L77 < L78) + 13 / 14 * ((L79 - L78) * (H78 - H79 < L79 - L78) * (L78 < L79) + 13 / 14 * ((L80 - L79) * (H79 - H80 < L80 - L79) * (L79 < L80) + 13 / 14 * ((L81 - L80) * (H80 - H81 < L81 - L80) * (L80 < L81) + 13 / 14 * ((L82 - L81) * (H81 - H82 < L82 - L81) * (L81 < L82) + 13 / 14 * ((L83 - L82) * (H82 - H83 < L83 - L82) * (L82 < L83) + 13 / 14 * ((L84 - L83) * (H83 - H84 < L84 - L83) * (L83 < L84) + 13 / 14 * ((L85 - L84) * (H84 - H85 < L85 - L84) * (L84 < L85) + 13 / 14 * ((L86 - L85) * (H85 - H86 < L86 - L85) * (L85 < L86) + 13 / 14 * ((L87 - L86) * (H86 - H87 < L87 - L86) * (L86 < L87) + 13 / 14 * ((L88 - L87) * (H87 - H88 < L88 - L87) * (L87 < L88) + 13 / 14 * ((L89 - L88) * (H88 - H89 < L89 - L88) * (L88 < L89) + 13 / 14 * ((L90 - L89) * (H89 - H90 < L90 - L89) * (L89 < L90) + 13 / 14 * ((L91 - L90) * (H90 - H91 < L91 - L90) * (L90 < L91) + 13 / 14 * ((L92 - L91) * (H91 - H92 < L92 - L91) * (L91 < L92) + 13 / 14 * ((L93 - L92) * (H92 - H93 < L93 - L92) * (L92 < L93) + 13 / 14 * ((L94 - L93) * (H93 - H94 < L94 - L93) * (L93 < L94) + 13 / 14 * ((L95 - L94) * (H94 - H95 < L95 - L94) * (L94 < L95))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) / (XAVGH27.1 - XAVGL27.1 + .071496012052765 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + 13 / 14 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + 13 / 14 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + 13 / 14 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + 13 / 14 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + 13 / 14 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + 13 / 14 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + 13 / 14 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + 13 / 14 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + 13 / 14 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + 13 / 14 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + 13 / 14 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + 13 / 14 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + 13 / 14 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + 13 / 14 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + 13 / 14 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + 13 / 14 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + 13 / 14 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + 13 / 14 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + 13 / 14 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + 13 / 14 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + 13 / 14 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + 13 / 14 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + 13 / 14 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + 13 / 14 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + 13 / 14 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + 13 / 14 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + 13 / 14 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + 13 / 14 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + 13 / 14 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + 13 / 14 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31) + 13 / 14 * ((H32 < C33) * (H32 - C33) + (C33 < L32) * (C33 - L32) + 13 / 14 * ((H33 < C34) * (H33 - C34) + (C34 < L33) * (C34 - L33) + 13 / 14 * ((H34 < C35) * (H34 - C35) + (C35 < L34) * (C35 - L34) + 13 / 14 * ((H35 < C36) * (H35 - C36) + (C36 < L35) * (C36 - L35) + 13 / 14 * ((H36 < C37) * (H36 - C37) + (C37 < L36) * (C37 - L36) + 13 / 14 * ((H37 < C38) * (H37 - C38) + (C38 < L37) * (C38 - L37) + 13 / 14 * ((H38 < C39) * (H38 - C39) + (C39 < L38) * (C39 - L38) + 13 / 14 * ((H39 < C40) * (H39 - C40) + (C40 < L39) * (C40 - L39) + 13 / 14 * ((H40 < C41) * (H40 - C41) + (C41 < L40) * (C41 - L40) + 13 / 14 * ((H41 < C42) * (H41 - C42) + (C42 < L41) * (C42 - L41) + 13 / 14 * ((H42 < C43) * (H42 - C43) + (C43 < L42) * (C43 - L42) + 13 / 14 * ((H43 < C44) * (H43 - C44) + (C44 < L43) * (C44 - L43) + 13 / 14 * ((H44 < C45) * (H44 - C45) + (C45 < L44) * (C45 - L44) + 13 / 14 * ((H45 < C46) * (H45 - C46) + (C46 < L45) * (C46 - L45) + 13 / 14 * ((H46 < C47) * (H46 - C47) + (C47 < L46) * (C47 - L46) + 13 / 14 * ((H47 < C48) * (H47 - C48) + (C48 < L47) * (C48 - L47) + 13 / 14 * ((H48 < C49) * (H48 - C49) + (C49 < L48) * (C49 - L48) + 13 / 14 * ((H49 < C50) * (H49 - C50) + (C50 < L49) * (C50 - L49) + 13 / 14 * ((H50 < C51) * (H50 - C51) + (C51 < L50) * (C51 - L50) + 13 / 14 * ((H51 < C52) * (H51 - C52) + (C52 < L51) * (C52 - L51) + 13 / 14 * ((H52 < C53) * (H52 - C53) + (C53 < L52) * (C53 - L52) + 13 / 14 * ((H53 < C54) * (H53 - C54) + (C54 < L53) * (C54 - L53) + 13 / 14 * ((H54 < C55) * (H54 - C55) + (C55 < L54) * (C55 - L54) + 13 / 14 * ((H55 < C56) * (H55 - C56) + (C56 < L55) * (C56 - L55) + 13 / 14 * ((H56 < C57) * (H56 - C57) + (C57 < L56) * (C57 - L56) + 13 / 14 * ((H57 < C58) * (H57 - C58) + (C58 < L57) * (C58 - L57) + 13 / 14 * ((H58 < C59) * (H58 - C59) + (C59 < L58) * (C59 - L58) + 13 / 14 * ((H59 < C60) * (H59 - C60) + (C60 < L59) * (C60 - L59) + 13 / 14 * ((H60 < C61) * (H60 - C61) + (C61 < L60) * (C61 - L60) + 13 / 14 * ((H61 < C62) * (H61 - C62) + (C62 < L61) * (C62 - L61) + 13 / 14 * ((H62 < C63) * (H62 - C63) + (C63 < L62) * (C63 - L62) + 13 / 14 * ((H63 < C64) * (H63 - C64) + (C64 < L63) * (C64 - L63) + 13 / 14 * ((H64 < C65) * (H64 - C65) + (C65 < L64) * (C65 - L64) + 13 / 14 * ((H65 < C66) * (H65 - C66) + (C66 < L65) * (C66 - L65) + 13 / 14 * ((H66 < C67) * (H66 - C67) + (C67 < L66) * (C67 - L66) + 13 / 14 * ((H67 < C68) * (H67 - C68) + (C68 < L67) * (C68 - L67) + 13 / 14 * ((H68 < C69) * (H68 - C69) + (C69 < L68) * (C69 - L68) + 13 / 14 * ((H69 < C70) * (H69 - C70) + (C70 < L69) * (C70 - L69) + 13 / 14 * ((H70 < C71) * (H70 - C71) + (C71 < L70) * (C71 - L70) + 13 / 14 * ((H71 < C72) * (H71 - C72) + (C72 < L71) * (C72 - L71) + 13 / 14 * ((H72 < C73) * (H72 - C73) + (C73 < L72) * (C73 - L72) + 13 / 14 * ((H73 < C74) * (H73 - C74) + (C74 < L73) * (C74 - L73) + 13 / 14 * ((H74 < C75) * (H74 - C75) + (C75 < L74) * (C75 - L74) + 13 / 14 * ((H75 < C76) * (H75 - C76) + (C76 < L75) * (C76 - L75) + 13 / 14 * ((H76 < C77) * (H76 - C77) + (C77 < L76) * (C77 - L76) + 13 / 14 * ((H77 < C78) * (H77 - C78) + (C78 < L77) * (C78 - L77) + 13 / 14 * ((H78 < C79) * (H78 - C79) + (C79 < L78) * (C79 - L78) + 13 / 14 * ((H79 < C80) * (H79 - C80) + (C80 < L79) * (C80 - L79) + 13 / 14 * ((H80 < C81) * (H80 - C81) + (C81 < L80) * (C81 - L80) + 13 / 14 * ((H81 < C82) * (H81 - C82) + (C82 < L81) * (C82 - L81) + 13 / 14 * ((H82 < C83) * (H82 - C83) + (C83 < L82) * (C83 - L82) + 13 / 14 * ((H83 < C84) * (H83 - C84) + (C84 < L83) * (C84 - L83) + 13 / 14 * ((H84 < C85) * (H84 - C85) + (C85 < L84) * (C85 - L84) + 13 / 14 * ((H85 < C86) * (H85 - C86) + (C86 < L85) * (C86 - L85) + 13 / 14 * ((H86 < C87) * (H86 - C87) + (C87 < L86) * (C87 - L86) + 13 / 14 * ((H87 < C88) * (H87 - C88) + (C88 < L87) * (C88 - L87) + 13 / 14 * ((H88 < C89) * (H88 - C89) + (C89 < L88) * (C89 - L88) + 13 / 14 * ((H89 < C90) * (H89 - C90) + (C90 < L89) * (C90 - L89) + 13 / 14 * ((H90 < C91) * (H90 - C91) + (C91 < L90) * (C91 - L90) + 13 / 14 * ((H91 < C92) * (H91 - C92) + (C92 < L91) * (C92 - L91) + 13 / 14 * ((H92 < C93) * (H92 - C93) + (C93 < L92) * (C93 - L92) + 13 / 14 * ((H93 < C94) * (H93 - C94) + (C94 < L93) * (C94 - L93) + 13 / 14 * ((H94 < C95) * (H94 - C95) + (C95 < L94) * (C95 - L94))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

Multiple day versions of these formulas are too long to be practical. You may 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
How to create a Personal Criteria Forumula (PCF)
Using EasyScan to find stocks that meet your own criteria
PCF Formula Descriptions

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
celo
Posted : Tuesday, February 28, 2012 7:42:54 PM
Registered User
Joined: 10/7/2004
Posts: 131
I have been trying to use both of the  PCFs below for ADX.. All they do is lock up my computer, I have a super fast work station and and never had any problems with any PCF's but this one won't run. Is the PCF correct ?'
celo
Posted : Tuesday, February 28, 2012 8:03:18 PM
Registered User
Joined: 10/7/2004
Posts: 131

After about 8 minutes the PCF does work., It just must take a tremendous amount of horsepower. Thanks

Bruce_L
Posted : Wednesday, February 29, 2012 7:25:47 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The Personal Criteria Formulas in this topic are incredibly long and resource intensive.

If you are using TC2000 version 12, I would strongly recommend adding a Directional Movement(+DI - DI) indicator to the charts so you can click on it and select Create Condition to make a Condition instead of using a Condition Formula. You will need to create different Conditions for +DI Moving Up and -DI Moving Down and then add them to the same Scan.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
proguildsocial
Posted : Sunday, March 3, 2013 6:05:44 PM
Registered User
Joined: 2/27/2011
Posts: 3

Is there a way to scan for:ADX crossing up through both -DI and +DI?

Bruce_L
Posted : Monday, March 4, 2013 8:52:08 AM


Worden Trainer

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

If you mean ADX is crossing up through both +DI and -DI during the same bar, then you would need to add ADX and Directional Movement (+DI -DI) to the same pane and scale, click on ADX to create and save a crossing up condition for +DI, click on ADX again to create and save a crossing up condition for -DI and then add both Conditions to the same EasyScan.

Start by adding the ADX indicator to the chart. Then click on the ADX indicator and select Plot new indicator here. Choose Directional Movement and scale it with ADX when prompted.

Make sure you have all of the settings on the ADX and Directional Movement indicators set as desired before creating the Conditions as the resulting Conditions will not be linked to the original indicators in any way. Change the settings of the indicators later will not alter any Conditions which were created earlier.

Then click on the ADX indicator and select Create Scan Condition. Choose Crossing Up (+DI) from the Condition drop down menu in the ADX vs Directional Movement section. You may need to hit the small + in the list to expand the section. Once you are sure you everything set up correctly, select Save condition to library.

Repeat the previous paragraph, but choose Crossing Up (-DI) from the list instead.

Create Conditions from Your Chart

To create the EasyScan, select New | New EasyScan. While still in the Edit tab, set the List to Scan as desired and choose Add Condition to add each of the conditions we created above to the EasyScan. Click on Scan or Continuously to actually view the results.

Building a Scan with Multiple Conditions

Note that if you mean something besides the ADX line crossing up through both +DI and -DI between the previous bar and the current bar, that the process would change. For example, if you just want ADX to be above both +DI and -DI without having ADX also be below both +DI and -DI during the previous bar, you would choose Above (+DI) and Above (-DI) instead Crossing Up (+DI) and Crossing Up (-DI) when creating the Conditions.



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