|
Gerry
 Veteran
     Posts: 277
Joined: 12/24/2003
Location: Lewiston, Maine 04240
User Profile |
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
[Edited by Gerry on 1/26/2012 3:01 PM]
|
|
Mel
 Veteran
     Posts: 291
Joined: 12/30/2003
Location: Kensington
User Profile |
CCI(14)>CCI(14)[1]
says moving up, current bar is higher than yesterday's bar
Mel
|
|
Gerry
 Veteran
     Posts: 277
Joined: 12/24/2003
Location: Lewiston, Maine 04240
User Profile |
Hi again,
I just reposted my original question but MODIFIED it.
Thanks for the help !
Gerry
|
|
julesrulesny
 Elite
     Posts: 900
Joined: 8/15/2007
Location: NYC
User Profile |
Gerry,
Check your PM.
jules
|
|
Mel
 Veteran
     Posts: 291
Joined: 12/30/2003
Location: Kensington
User Profile |
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
|
|
Gerry
 Veteran
     Posts: 277
Joined: 12/24/2003
Location: Lewiston, Maine 04240
User Profile |
Thanks for the help !
Gerry
|