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 |

+DI5 and -DI5 1 bar ago Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
leeatnyc
Posted : Thursday, October 20, 2011 10:16:07 AM
Registered User
Joined: 12/30/2004
Posts: 40
I know the +DI5 and -DI5 for TC2007 are available in this forum.  Can you provide the +DI5 and -DI5 for 1 bar ago?  Many thanks for your help.
(email removed by moderator)
Bruce_L
Posted : Thursday, October 20, 2011 10:31:43 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The +DI5 of 1-Bar Ago could be written as:

PCF for Wilder's Directional Movement DMI-crossovers
PCF for Wilder's DX, and/or a CI for Wilder's ADX

.200198266760174 * ((H1 - H2) * (H1 - H2 > L2 - L1) * (H1 > H2) + .8 * ((H2 - H3) * (H2 - H3 > L3 - L2) * (H2 > H3) + .8 * ((H3 - H4) * (H3 - H4 > L4 - L3) * (H3 > H4) + .8 * ((H4 - H5) * (H4 - H5 > L5 - L4) * (H4 > H5) + .8 * ((H5 - H6) * (H5 - H6 > L6 - L5) * (H5 > H6) + .8 * ((H6 - H7) * (H6 - H7 > L7 - L6) * (H6 > H7) + .8 * ((H7 - H8) * (H7 - H8 > L8 - L7) * (H7 > H8) + .8 * ((H8 - H9) * (H8 - H9 > L9 - L8) * (H8 > H9) + .8 * ((H9 - H10) * (H9 - H10 > L10 - L9) * (H9 > H10) + .8 * ((H10 - H11) * (H10 - H11 > L11 - L10) * (H10 > H11) + .8 * ((H11 - H12) * (H11 - H12 > L12 - L11) * (H11 > H12) + .8 * ((H12 - H13) * (H12 - H13 > L13 - L12) * (H12 > H13) + .8 * ((H13 - H14) * (H13 - H14 > L14 - L13) * (H13 > H14) + .8 * ((H14 - H15) * (H14 - H15 > L15 - L14) * (H14 > H15) + .8 * ((H15 - H16) * (H15 - H16 > L16 - L15) * (H15 > H16) + .8 * ((H16 - H17) * (H16 - H17 > L17 - L16) * (H16 > H17) + .8 * ((H17 - H18) * (H17 - H18 > L18 - L17) * (H17 > H18) + .8 * ((H18 - H19) * (H18 - H19 > L19 - L18) * (H18 > H19) + .8 * ((H19 - H20) * (H19 - H20 > L20 - L19) * (H19 > H20) + .8 * ((H20 - H21) * (H20 - H21 > L21 - L20) * (H20 > H21) + .8 * ((H21 - H22) * (H21 - H22 > L22 - L21) * (H21 > H22) + .8 * ((H22 - H23) * (H22 - H23 > L23 - L22) * (H22 > H23) + .8 * ((H23 - H24) * (H23 - H24 > L24 - L23) * (H23 > H24) + .8 * ((H24 - H25) * (H24 - H25 > L25 - L24) * (H24 > H25) + .8 * ((H25 - H26) * (H25 - H26 > L26 - L25) * (H25 > H26) + .8 * ((H26 - H27) * (H26 - H27 > L27 - L26) * (H26 > H27) + .8 * ((H27 - H28) * (H27 - H28 > L28 - L27) * (H27 > H28) + .8 * ((H28 - H29) * (H28 - H29 > L29 - L28) * (H28 > H29) + .8 * ((H29 - H30) * (H29 - H30 > L30 - L29) * (H29 > H30) + .8 * ((H30 - H31) * (H30 - H31 > L31 - L30) * (H30 > H31) + .8 * ((H31 - H32) * (H31 - H32 > L32 - L31) * (H31 > H32)))))))))))))))))))))))))))))))) / (XAVGH9.1 - XAVGL9.1 + .200198266760174 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + .8 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + .8 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + .8 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + .8 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + .8 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + .8 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + .8 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + .8 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + .8 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + .8 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + .8 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + .8 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + .8 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + .8 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + .8 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + .8 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + .8 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + .8 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + .8 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + .8 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + .8 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + .8 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + .8 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + .8 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + .8 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + .8 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + .8 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + .8 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + .8 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + .8 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31)))))))))))))))))))))))))))))))))

The -DI of 1-Bar Ago could be written as:

.200198266760174 * ((L2 - L1) * (H1 - H2 < L2 - L1) * (L1 < L2) + .8 * ((L3 - L2) * (H2 - H3 < L3 - L2) * (L2 < L3) + .8 * ((L4 - L3) * (H3 - H4 < L4 - L3) * (L3 < L4) + .8 * ((L5 - L4) * (H4 - H5 < L5 - L4) * (L4 < L5) + .8 * ((L6 - L5) * (H5 - H6 < L6 - L5) * (L5 < L6) + .8 * ((L7 - L6) * (H6 - H7 < L7 - L6) * (L6 < L7) + .8 * ((L8 - L7) * (H7 - H8 < L8 - L7) * (L7 < L8) + .8 * ((L9 - L8) * (H8 - H9 < L9 - L8) * (L8 < L9) + .8 * ((L10 - L9) * (H9 - H10 < L10 - L9) * (L9 < L10) + .8 * ((L11 - L10) * (H10 - H11 < L11 - L10) * (L10 < L11) + .8 * ((L12 - L11) * (H11 - H12 < L12 - L11) * (L11 < L12) + .8 * ((L13 - L12) * (H12 - H13 < L13 - L12) * (L12 < L13) + .8 * ((L14 - L13) * (H13 - H14 < L14 - L13) * (L13 < L14) + .8 * ((L15 - L14) * (H14 - H15 < L15 - L14) * (L14 < L15) + .8 * ((L16 - L15) * (H15 - H16 < L16 - L15) * (L15 < L16) + .8 * ((L17 - L16) * (H16 - H17 < L17 - L16) * (L16 < L17) + .8 * ((L18 - L17) * (H17 - H18 < L18 - L17) * (L17 < L18) + .8 * ((L19 - L18) * (H18 - H19 < L19 - L18) * (L18 < L19) + .8 * ((L20 - L19) * (H19 - H20 < L20 - L19) * (L19 < L20) + .8 * ((L21 - L20) * (H20 - H21 < L21 - L20) * (L20 < L21) + .8 * ((L22 - L21) * (H21 - H22 < L22 - L21) * (L21 < L22) + .8 * ((L23 - L22) * (H22 - H23 < L23 - L22) * (L22 < L23) + .8 * ((L24 - L23) * (H23 - H24 < L24 - L23) * (L23 < L24) + .8 * ((L25 - L24) * (H24 - H25 < L25 - L24) * (L24 < L25) + .8 * ((L26 - L25) * (H25 - H26 < L26 - L25) * (L25 < L26) + .8 * ((L27 - L26) * (H26 - H27 < L27 - L26) * (L26 < L27) + .8 * ((L28 - L27) * (H27 - H28 < L28 - L27) * (L27 < L28) + .8 * ((L29 - L28) * (H28 - H29 < L29 - L28) * (L28 < L29) + .8 * ((L30 - L29) * (H29 - H30 < L30 - L29) * (L29 < L30) + .8 * ((L31 - L30) * (H30 - H31 < L31 - L30) * (L30 < L31) + .8 * ((L32 - L31) * (H31 - H32 < L32 - L31) * (L31 < L32)))))))))))))))))))))))))))))))) / (XAVGH9.1 - XAVGL9.1 + .200198266760174 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + .8 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + .8 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + .8 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + .8 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + .8 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + .8 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + .8 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + .8 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9) + .8 * ((H10 < C11) * (H10 - C11) + (C11 < L10) * (C11 - L10) + .8 * ((H11 < C12) * (H11 - C12) + (C12 < L11) * (C12 - L11) + .8 * ((H12 < C13) * (H12 - C13) + (C13 < L12) * (C13 - L12) + .8 * ((H13 < C14) * (H13 - C14) + (C14 < L13) * (C14 - L13) + .8 * ((H14 < C15) * (H14 - C15) + (C15 < L14) * (C15 - L14) + .8 * ((H15 < C16) * (H15 - C16) + (C16 < L15) * (C16 - L15) + .8 * ((H16 < C17) * (H16 - C17) + (C17 < L16) * (C17 - L16) + .8 * ((H17 < C18) * (H17 - C18) + (C18 < L17) * (C18 - L17) + .8 * ((H18 < C19) * (H18 - C19) + (C19 < L18) * (C19 - L18) + .8 * ((H19 < C20) * (H19 - C20) + (C20 < L19) * (C20 - L19) + .8 * ((H20 < C21) * (H20 - C21) + (C21 < L20) * (C21 - L20) + .8 * ((H21 < C22) * (H21 - C22) + (C22 < L21) * (C22 - L21) + .8 * ((H22 < C23) * (H22 - C23) + (C23 < L22) * (C23 - L22) + .8 * ((H23 < C24) * (H23 - C24) + (C24 < L23) * (C24 - L23) + .8 * ((H24 < C25) * (H24 - C25) + (C25 < L24) * (C25 - L24) + .8 * ((H25 < C26) * (H25 - C26) + (C26 < L25) * (C26 - L25) + .8 * ((H26 < C27) * (H26 - C27) + (C27 < L26) * (C27 - L26) + .8 * ((H27 < C28) * (H27 - C28) + (C28 < L27) * (C28 - L27) + .8 * ((H28 < C29) * (H28 - C29) + (C29 < L28) * (C29 - L28) + .8 * ((H29 < C30) * (H29 - C30) + (C30 < L29) * (C30 - L29) + .8 * ((H30 < C31) * (H30 - C31) + (C31 < L30) * (C31 - L30) + .8 * ((H31 < C32) * (H31 - C32) + (C32 < L31) * (C32 - L31)))))))))))))))))))))))))))))))))

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
leeatnyc
Posted : Thursday, October 20, 2011 3:54:30 PM
Registered User
Joined: 12/30/2004
Posts: 40
Bruce,
Thanks very much.  It works very well.
Lee Klein
Bruce_L
Posted : Thursday, October 20, 2011 3:55:18 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.