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 |

Force Index and Schochastic conditions Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mnccc75
Posted : Wednesday, September 4, 2013 1:45:38 AM
Registered User
Joined: 7/20/2013
Posts: 1
Could you help me to create the following conditions?
 
1. Elder Force Index.
 
    a. Daily.
 
        Force Index smoothing by 2        
        
        Force Index 2 (Today - Now) > Force Index 2 (Yesterday)
        
        Force Index smoothing by 13        
        
        Force Index 13 (Today - Now) > Force Index 13 (Yesterday)
    
    b. Weekly.
 
        Force Index smoothing by 2        
        
        Force Index 2 (This week - Now) > Force Index 2 (Last week)
        
        Force Index smoothing by 13        
        
        Force Index 13 (This week - Now) > Force Index 13 (Last week)
 
Is there any general formulas that I can calculate the value Force Index smoothing by m of the n th day ago (or the n th week ago)?
 
2. Stochastics 5 %k3.
 
    a. Daily.
 
    Stochastics 5 %k3 (Today) > [Stochastics 5 %k3 (Yesterday) + 20]
 
    b. Weekly.
 
     Stochastics 5 %k3 (This week) > [Stochastics 5 %k3 (Last week) + 20]
 
Is there a fomula that I can calculate the value of Stochastics 5 %k3 of the n th day ago (or the n th week ago)?
 
Thank you.
Bruce_L
Posted : Wednesday, September 4, 2013 9:08:24 AM


Worden Trainer

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

Daily and weekly formulas are the same in TC2000 version 12.3. The only difference is the Time Frame setting of that formula. You can change the time frame using the Time Frame drop-down menu when you create or edit a formula. You can also set the time frame of a formula to something other than its default when using a formula as a WatchList Column or EasyScan Condition by editing the WatchList Column or EasyScan.

A Condition Formula for the 2-Period Force Index increasing could be written as:

(C - C1) * V > ((C1 - C2) * V1 + 1 / 3 * ((C2 - C3) * V2 + 1 / 3 * ((C3 - C4) * V3 + 1 / 3 * ((C4 - C5) * V4 + 1 / 3 * ((C5 - C6) * V5 + 1 / 3 * ((C6 - C7) * V6)))))) / (3 / 2 - 1 / 2 * (1 / 3) ^ 5)

A Condition Formula for the 13-Period Force Index increasing could be written as:

(C - C1) * V > .142996 * ((C1 - C2) * V1 + 6 / 7 * ((C2 - C3) * V2 + 6 / 7 * ((C3 - C4) * V3 + 6 / 7 * ((C4 - C5) * V4 + 6 / 7 * ((C5 - C6) * V5 + 6 / 7 * ((C6 - C7) * V6 + 6 / 7 * ((C7 - C8) * V7 + 6 / 7 * ((C8 - C9) * V8 + 6 / 7 * ((C9 - C10) * V9 + 6 / 7 * ((C10 - C11) * V10 + 6 / 7 * ((C11 - C12) * V11 + 6 / 7 * ((C12 - C13) * V12 + 6 / 7 * ((C13 - C14) * V13 + 6 / 7 * ((C14 - C15) * V14 + 6 / 7 * ((C15 - C16) * V15 + 6 / 7 * ((C16 - C17) * V16 + 6 / 7 * ((C17 - C18) * V17 + 6 / 7 * ((C18 - C19) * V18 + 6 / 7 * ((C19 - C20) * V19 + 6 / 7 * ((C20 - C21) * V20 + 6 / 7 * ((C21 - C22) * V21 + 6 / 7 * ((C22 - C23) * V22 + 6 / 7 * ((C23 - C24) * V23 + 6 / 7 * ((C24 - C25) * V24 + 6 / 7 * ((C25 - C26) * V25 + 6 / 7 * ((C26 - C27) * V26 + 6 / 7 * ((C27 - C28) * V27 + 6 / 7 * ((C28 - C29) * V28 + 6 / 7 * ((C29 - C30) * V29 + 6 / 7 * ((C30 - C31) * V30 + 6 / 7 * ((C31 - C32) * V31 + 6 / 7 * ((C32 - C33) * V32 + 6 / 7 * ((C33 - C34) * V33 + 6 / 7 * ((C34 - C35) * V34 + 6 / 7 * ((C35 - C36) * V35 + 6 / 7 * ((C36 - C37) * V36 + 6 / 7 * ((C37 - C38) * V37 + 6 / 7 * ((C38 - C39) * V38 + 6 / 7 * ((C39 - C40) * V39 + 6 / 7 * ((C40 - C41) * V40 + 6 / 7 * ((C41 - C42) * V41 + 6 / 7 * ((C42 - C43) * V42 + 6 / 7 * ((C43 - C44) * V43 + 6 / 7 * ((C44 - C45) * V44 + 6 / 7 * ((C45 - C46) * V45)))))))))))))))))))))))))))))))))))))))))))))

A Condition Formula for a Simple Stochastic 5,3 %K increasing by more than 20 between the previous bar and the current bar can be written as:

STOC5.3 > STOC5.3.1 + 20

Checking for n-bars ago ago is simply a matter of adding 1 to all of the bars ago parameters in the formula. In the case of the Stochastic, that is relatively easy to do. A 1-bar ago version of the above would just be:

STOC5.3.1 > STOC5.3.2 + 20

The technique is the same for the Force Index, but it is obviously more tedious because you have to increment far more bars ago parameters.

Another option would be to add a 1-Period Simple Moving Average to the indicator of interest with the Offset of that moving average set to the number of bars ago you want to check. You can then click on the moving average and select Create Scan Condition or Show Values in WatchList. This allows you to create conditions or display values based on past values of the indicator without creating any formulas.

Create Conditions from Your Chart
Building a Scan with Multiple Conditions



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
macphemd
Posted : Thursday, February 1, 2018 12:12:58 PM
Registered User
Joined: 5/28/2011
Posts: 7

Can you provide the formula below for a 3-Period Elder Force Index? Thanks.

A Condition Formula for the 2-Period Force Index increasing could be written as:

(C - C1) * V > ((C1 - C2) * V1 + 1 / 3 * ((C2 - C3) * V2 + 1 / 3 * ((C3 - C4) * V3 + 1 / 3 * ((C4 - C5) * V4 + 1 / 3 * ((C5 - C6) * V5 + 1 / 3 * ((C6 - C7) * V6)))))) / (3 / 2 - 1 / 2 * (1 / 3) ^ 5)

 

Bruce_L
Posted : Thursday, February 1, 2018 12:40:14 PM


Worden Trainer

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

The 3 period Elder's Force Index can be written as follows in TC2000 v17+.

XAVG((C - C1) * V, 3)

Or as follows in earlier versions of TC2000.

.50048876 * ((C - C1) * V + .5 * ((C1 - C2) * V1 + .5 * ((C2 - C3) * V2 + .5 * ((C3 - C4) * V3 + .5 * ((C4 - C5) * V4 + .5 * ((C5 - C6) * V5 + .5 * ((C6 - C7) * V6 + .5 * ((C7 - C8) * V7 + .5 * ((C8 - C9) * V8 + .5 * ((C9 - C10) * V9))))))))))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
macphemd
Posted : Thursday, February 1, 2018 11:06:04 PM
Registered User
Joined: 5/28/2011
Posts: 7

Thanks for this Bruce. 

I'm using V18..., but would like to have the indicatator indicate when the 3-period Elder's Force index is greater than previous period.  That is, a condition formula for the 3-Period Force Index increasing over the last period.  Hope you can help.  Thanks again.

Bruce_L
Posted : Friday, February 2, 2018 8:40:11 AM


Worden Trainer

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

Please try the following.

(C - C1) * V > XAVG((C1 - C2) * V1, 3)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
macphemd
Posted : Friday, February 2, 2018 11:03:41 AM
Registered User
Joined: 5/28/2011
Posts: 7

Excellent!!! Thanks again Bruce. You are an amazing help as usual.

Bruce_L
Posted : Friday, February 2, 2018 11:06:47 AM


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.