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

Intraday Intensity Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
JordanS
Posted : Friday, May 13, 2011 5:48:53 PM
Registered User
Joined: 8/1/2006
Posts: 97
Hi.  I'm trying to create, as a custom indicator, an indicator called "Intraday Intensity."  Not sure if you've ever heard of it (it's one of the rarer ones, I think), but I do know how the indicator is constructed.  It's as follows:
 
(2 * close - high - low) / (high - low) * volume  .  That being the case, here's my guess on how to build the PCF/indicator for it:
 
(2 * C - H - L) / (H-L * V)
 
However, I'm getting very strange results (all zero's).  Do you have any idea what's wrong here?  Thanks.
StockGuy
Posted : Friday, May 13, 2011 6:21:08 PM

Administration

Joined: 9/30/2004
Posts: 9,187

Try this for a 21-day intraday intensity.  The .0001 is used to prevent divide by 0 errors.

((((2*C-H-L)/(.0001+H-L))*V)+
(((2*C1-H1-L1)/(.0001+H1-L1))*V1)+
(((2*C2-H2-L2)/(.0001+H2-L2))*V2)+
(((2*C3-H3-L3)/(.0001+H3-L3))*V3)+
(((2*C4-H4-L4)/(.0001+H4-L4))*V4)+
(((2*C5-H5-L5)/(.0001+H5-L5))*V5)+
(((2*C6-H6-L6)/(.0001+H6-L6))*V6)+
(((2*C7-H7-L7)/(.0001+H7-L7))*V7)+
(((2*C8-H8-L8)/(.0001+H8-L8))*V8)+
(((2*C9-H9-L9)/(.0001+H9-L9))*V9)+
(((2*C10-H10-L10)/(.0001+H10-L10))*V10)+
(((2*C11-H11-L11)/(.0001+H11-L11))*V11)+
(((2*C12-H12-L12)/(.0001+H12-L12))*V12)+
(((2*C13-H13-L13)/(.0001+H13-L13))*V13)+
(((2*C14-H14-L14)/(.0001+H14-L14))*V14)+
(((2*C15-H15-L15)/(.0001+H15-L15))*V15)+
(((2*C16-H16-L16)/(.0001+H16-L16))*V16)+
(((2*C17-H17-L17)/(.0001+H17-L17))*V17)+
(((2*C18-H18-L18)/(.0001+H18-L18))*V18)+
(((2*C19-H19-L19)/(.0001+H19-L19))*V19)+
(((2*C20-H20-L20)/(.0001+H20-L20))*V20))/
(.0001+V+V1+V2+V3+V4+V5+V6+V7+V8+V9+V10+
V11+V12+V13+V14+V15+V16+V17+V18+V19+V20)

JordanS
Posted : Monday, May 16, 2011 9:58:03 AM
Registered User
Joined: 8/1/2006
Posts: 97
Great, thanks, but I just want to make sure of one thing.  This is the 21-day Intraday Intensity, and not the 20-day?  I just don't see any reference to the number "21".  Thanks again.
Bruce_L
Posted : Monday, May 16, 2011 10:01:40 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The most recent 21-Bars run from 0 through 20, so yes, it is a 21-Period version.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
JordanS
Posted : Monday, May 16, 2011 10:07:23 AM
Registered User
Joined: 8/1/2006
Posts: 97
Oh, so this IS, in fact, the 21-day version of the indicator?
Bruce_L
Posted : Monday, May 16, 2011 10:10:34 AM


Worden Trainer

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
JordanS
Posted : Monday, May 16, 2011 10:11:44 AM
Registered User
Joined: 8/1/2006
Posts: 97

Great, thanks.

Piedra
Posted : Monday, December 10, 2018 9:08:01 PM
Registered User
Joined: 1/2/2017
Posts: 3

Hello, What exactly would I copy and paste in order to get the Intraday Intensity indicator in TC2000? Thanks. 

Piedra
Posted : Monday, December 10, 2018 9:35:55 PM
Registered User
Joined: 1/2/2017
Posts: 3

QUOTE (StockGuy)

Try this for a 21-day intraday intensity.  The .0001 is used to prevent divide by 0 errors.

((((2*C-H-L)/(.0001+H-L))*V)+
(((2*C1-H1-L1)/(.0001+H1-L1))*V1)+
(((2*C2-H2-L2)/(.0001+H2-L2))*V2)+
(((2*C3-H3-L3)/(.0001+H3-L3))*V3)+
(((2*C4-H4-L4)/(.0001+H4-L4))*V4)+
(((2*C5-H5-L5)/(.0001+H5-L5))*V5)+
(((2*C6-H6-L6)/(.0001+H6-L6))*V6)+
(((2*C7-H7-L7)/(.0001+H7-L7))*V7)+
(((2*C8-H8-L8)/(.0001+H8-L8))*V8)+
(((2*C9-H9-L9)/(.0001+H9-L9))*V9)+
(((2*C10-H10-L10)/(.0001+H10-L10))*V10)+
(((2*C11-H11-L11)/(.0001+H11-L11))*V11)+
(((2*C12-H12-L12)/(.0001+H12-L12))*V12)+
(((2*C13-H13-L13)/(.0001+H13-L13))*V13)+
(((2*C14-H14-L14)/(.0001+H14-L14))*V14)+
(((2*C15-H15-L15)/(.0001+H15-L15))*V15)+
(((2*C16-H16-L16)/(.0001+H16-L16))*V16)+
(((2*C17-H17-L17)/(.0001+H17-L17))*V17)+
(((2*C18-H18-L18)/(.0001+H18-L18))*V18)+
(((2*C19-H19-L19)/(.0001+H19-L19))*V19)+
(((2*C20-H20-L20)/(.0001+H20-L20))*V20))/
(.0001+V+V1+V2+V3+V4+V5+V6+V7+V8+V9+V10+
V11+V12+V13+V14+V15+V16+V17+V18+V19+V20)

I copy and pasted this entire formula in order to get the Intraday Intensity indicator and it gives me the exact same numbers the Chaikin Money Flow indicator gives me. Are you guys getting the same thing? 

Bruce_L
Posted : Tuesday, December 11, 2018 9:04:52 AM


Worden Trainer

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

The formula as written should be the same as Chaikin Money Flow.

I have found different definitions of intraday intensity online. At least one doesn't have a period as it is the name of an intermediate step in calculating the Chaikin Money Flow.

IIF(H > L, V * (2 * C - H - L) / (H - L), 0)

But another version developed by Dave Bostian seems to differ from Chaikin Money Flow primarily in not dividing the sum over time of what Chaikin seems to call the intraday intensity index by total volume.

SUM(IIF(H > L, V * (2 * C - H - L) / (H - L), 0), 21)

With the Chaikin Money Flow following a similar formula structure being the following.

SUM(IIF(H > L, V * (2 * C - H - L) / (H - L), 0), 21) / SUM(V, 21)

Note that this is all taken from a few pages I found in search on the internet. I do not own the books and am not working from original sources.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Piedra
Posted : Tuesday, December 11, 2018 10:05:36 AM
Registered User
Joined: 1/2/2017
Posts: 3

Hi Bruce, thanks for your response. So I see that the formula below seems to be the accepted formula for the 21 day Intraday Intensity indicator...

Try this for a 21-day intraday intensity.  The .0001 is used to prevent divide by 0 errors.

((((2*C-H-L)/(.0001+H-L))*V)+
(((2*C1-H1-L1)/(.0001+H1-L1))*V1)+
(((2*C2-H2-L2)/(.0001+H2-L2))*V2)+
(((2*C3-H3-L3)/(.0001+H3-L3))*V3)+
(((2*C4-H4-L4)/(.0001+H4-L4))*V4)+
(((2*C5-H5-L5)/(.0001+H5-L5))*V5)+
(((2*C6-H6-L6)/(.0001+H6-L6))*V6)+
(((2*C7-H7-L7)/(.0001+H7-L7))*V7)+
(((2*C8-H8-L8)/(.0001+H8-L8))*V8)+
(((2*C9-H9-L9)/(.0001+H9-L9))*V9)+
(((2*C10-H10-L10)/(.0001+H10-L10))*V10)+
(((2*C11-H11-L11)/(.0001+H11-L11))*V11)+
(((2*C12-H12-L12)/(.0001+H12-L12))*V12)+
(((2*C13-H13-L13)/(.0001+H13-L13))*V13)+
(((2*C14-H14-L14)/(.0001+H14-L14))*V14)+
(((2*C15-H15-L15)/(.0001+H15-L15))*V15)+
(((2*C16-H16-L16)/(.0001+H16-L16))*V16)+
(((2*C17-H17-L17)/(.0001+H17-L17))*V17)+
(((2*C18-H18-L18)/(.0001+H18-L18))*V18)+
(((2*C19-H19-L19)/(.0001+H19-L19))*V19)+
(((2*C20-H20-L20)/(.0001+H20-L20))*V20))/
(.0001+V+V1+V2+V3+V4+V5+V6+V7+V8+V9+V10+
V11+V12+V13+V14+V15+V16+V17+V18+V19+V20)

 

 

Back to top
 

So would I simply copy and paste the entire formula above (top to bottom) into the formula bar in order to have the 21 day intraday intensity indicator? Thanks in advance. 

Bruce_L
Posted : Tuesday, December 11, 2018 10:35:10 AM


Worden Trainer

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

There wouldn't be a reason to plot that formula on the chart in TC2000, you could just plot Chaikin Money Flow instead.

The only reasons I can think of to use a formula for plotting the indicator would be if you wanted to use one of the first two formulas given in my Tuesday, December 11, 2018 9:04:52 AM ET post or if you are using an older version of the software without the new syntax (which does not seem to be the case).

If you do want to use a formula to plot an indicator in TC2000 v18, you would add a Custom PCF Indicator to the chart with the desired formula as the Formula setting.

How to Add an Indicator to a Chart Template



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