OmniTrader Forum - OmniTrader 2011 Technical Support
About the CCI

^ Top
Gerry

Posts: 277

Joined: 12/24/2003
Location: Lewiston, Maine 04240

User Profile
 
Subject : About the CCI
Posted : 1/26/2012 11:32 AM
Post #25718

Hello all,

I'm looking for help in changing this formula that looks at the CCI
being at oversold levels yesterday and at the close today ( EOD ) close higher. This is what I am now using :

CCI(14) [1]<=-133 and CCI(14)>= -129

I messed up with my question about the CCI. On my earlier post.

Actually, this would occur over a 3 day period. Ex:

Say the CCI[14] 3 bars ago was higher than the CCI[14] of 2 bars ago and then at the close of this bar the CCI[14] is higher than the reading of 1 bar ago.

EX: Mon CCI[14] closed at -68.09 then on Tues CCI[14] closed at -133.33 then at the close today ( current bar ) the CCI[14] closes at -69.29 which is higher than -133.33.

Sorry, about the confusion, I knew what I was looking for but did not put it in the proper question.


Thanking you in advance,

Gerry


^ Top
Mel

Posts: 291

Joined: 12/30/2003
Location: Kensington

User Profile
 
Subject : RE: About the CCI
Posted : 1/26/2012 1:20 PM
Post #25720 - In reply to #25718

CCI(14)>CCI(14)[1]

says moving up, current bar is higher than yesterday's bar

Mel
^ Top
Gerry

Posts: 277

Joined: 12/24/2003
Location: Lewiston, Maine 04240

User Profile
 
Subject : RE: About the CCI
Posted : 1/26/2012 3:40 PM
Post #25722 - In reply to #25720

Hi again,


I just reposted my original question but MODIFIED it.


Thanks for the help !


Gerry
^ Top
julesrulesny

Posts: 900

Joined: 8/15/2007
Location: NYC

User Profile
 
Subject : RE: About the CCI
Posted : 1/26/2012 4:57 PM
Post #25723 - In reply to #25722

Gerry,

Check your PM.

jules
^ Top
Mel

Posts: 291

Joined: 12/30/2003
Location: Kensington

User Profile
 
Subject : RE: About the CCI
Posted : 1/26/2012 5:18 PM
Post #25724 - In reply to #25723

CCI(14)>CCI(14)[1] and CCI(14)[1]>CCI(14)[2]

says moving up, current bar is higher than yesterday's bar, and yesterday's bar is higher than the bar two days ago.

Note that appending the square brackets with a number inside allows you to refer to a value that many bars back from the current bar.

Mel
^ Top
Gerry

Posts: 277

Joined: 12/24/2003
Location: Lewiston, Maine 04240

User Profile
 
Subject : RE: About the CCI
Posted : 1/26/2012 5:51 PM
Post #25726 - In reply to #25724

Thanks for the help !


Gerry


https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=5916&posts=6