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 |

Tom DeMark's Range Expansion Index (TD REI) Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
toplisek
Posted : Thursday, June 8, 2006 6:07:57 AM
Registered User
Joined: 8/29/2005
Posts: 58
I would like to have Tom DeMark's Range Expansion Index (TD REI). Is this possible to plot with TeleChart software?
Bruce_L
Posted : Thursday, June 8, 2006 8:19:25 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I don't have anything to compare it against, but please try the following:

Select Chart Template | Add Indicator | Indicator.
- Visible: Checked
- Center Zero Line: Checked
- Plot using price scale: Unchecked
- Smoothing Average: 1
- Average Type: Doesn't matter
- Indicator Formula: 100 * ((((H >= L5 OR H >= L6) AND (L <= H5 OR L <= H6)) OR ((H2 >= C7 OR H2 >= C8) AND (L2 <= C7 OR L2 <= C8))) * (H2 - H + L2 - L) + (((H1 >= L6 OR H1 >= L7) AND (L1 <= H6 OR L1 <= H7)) OR ((H3 >= C8 OR H3 >= C9) AND (L3 <= C8 OR L3 <= C9))) * (H3 - H1 + L3 - L1) + (((H2 >= L7 OR H2 >= L8) AND (L2 <= H7 OR L2 <= H8)) OR ((H4 >= C9 OR H4 >= C10) AND (L4 <= C9 OR L4 <= C10))) * (H4 - H2 + L4 - L2) + (((H3 >= L8 OR H3 >= L9) AND (L3 <= H8 OR L3 <= H9)) OR ((H5 >= C10 OR H5 >= C11) AND (L5 <= C10 OR L5 <= C11))) * (H5 - H3 + L5 - L3) + (((H4 >= L9 OR H4 >= L10) AND (L4 <= H9 OR L4 <= H10)) OR ((H6 >= C11 OR H6 >= C12) AND (L6 <= C11 OR L6 <= C12))) * (H6 - H4 + L6 - L4)) / (ABS(H - H2) + ABS(L - L2) + ABS(H1 - H3) + ABS(L1 - L3) + ABS(H2 - H4) + ABS(L2 - L4) + ABS(H3 - H5) + ABS(L3 - L5) + ABS(H4 - H6) + ABS(L4 - L6) + .0000001)

You may wish to review the following:

Plotting Custom Indicators with Examples

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
toplisek
Posted : Thursday, June 8, 2006 8:59:04 AM
Registered User
Joined: 8/29/2005
Posts: 58
Again there is error like missing Argument. On technical support told me that I musz have XP USA edition. this is very strange.
Bruce_L
Posted : Thursday, June 8, 2006 9:14:05 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
We do not officially support non-US English versions of Windows, but you might want to try clicking on Start | Settings | Control Panel | Regional Options. If it is not already selected, please switch to English (United States), click OK and then try TeleChart again. Currently the program is not 100% compatible with non-United States regional date settings and this error, or others, may occur.

Another thought is that if your current Regional Options Settings in Windows use the , as the Decimal Symbol and the . as the Digit Grouping Symbol, you could try changing the .0000001 in the above formula to use ,0000001 instead (I have no idea if this will work or not, the first option is better).

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rlb1987
Posted : Tuesday, May 13, 2008 10:48:01 AM
Registered User
Joined: 1/2/2008
Posts: 41
I would like to have Tom DeMark's Range Expansion Index (TD REI) with 5 bar. Could you  help me with this code, I saw the 8-bar that it's in the forum but I was not able to modify it to 5 bar period?
Bruce_L
Posted : Tuesday, May 13, 2008 1:36:50 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
rlb1987,
I've broken down the formula provided in this topic and both the Numerator and Denominator seem to be summed over 5-Periods, not 8-Periods. What would make it an 8-Period TD REI in your mind?

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jayrama
Posted : Friday, June 6, 2008 12:34:21 AM
Registered User
Joined: 4/25/2007
Posts: 91
Bruce, Can you please develop a real code for this in Blocks as an Indicator? Please-- Jay. 
PS: I am really getting a lot of learning from your posts on RealCode, Thanks.
Bruce_L
Posted : Friday, June 6, 2008 6:32:38 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
jayrama,
You may wish to review:

TD REI for BLOCKS

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jayrama
Posted : Friday, June 6, 2008 11:20:49 AM
Registered User
Joined: 4/25/2007
Posts: 91
Bruce, Thanks, Appreciate it. -- Jay
Bruce_L
Posted : Friday, June 6, 2008 11:23:10 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
jayrama,
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.