Registered User Joined: 10/7/2004 Posts: 9
|
if one can look at a chart of os or ati recently one will see a new high made and a failing histogram- i know how to set up new highs for 100 days but how would one write a program where the 8/16/5 histogram fails to confirm a new high when the 5 day rsi is over 80 i can write the rsi program and new high--i need a program for the failing histogram thank you for your help
|
Registered User Joined: 10/7/2004 Posts: 9
|
that an exponential 8/16/5 histogram but i will take a non expo
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
If you are looking for price making a high while the MACD histogram has not try this:
H=MAXH100 AND (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.1-XAVGC16.1)-(XAVG(XAVGC8.1,5)-XAVG(XAVGC16.1,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.2-XAVGC16.2)-(XAVG(XAVGC8.2,5)-XAVG(XAVGC16.2,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.3-XAVGC16.3)-(XAVG(XAVGC8.3,5)-XAVG(XAVGC16.3,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.4-XAVGC16.4)-(XAVG(XAVGC8.4,5)-XAVG(XAVGC16.4,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.5-XAVGC16.5)-(XAVG(XAVGC8.5,5)-XAVG(XAVGC16.5,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.6-XAVGC16.6)-(XAVG(XAVGC8.6,5)-XAVG(XAVGC16.6,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.7-XAVGC16.7)-(XAVG(XAVGC8.7,5)-XAVG(XAVGC16.7,5)) OR [Keep this pattern going until you get to] (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.98-XAVGC16.98)-(XAVG(XAVGC8.98,5)-XAVG(XAVGC16.98,5)) OR (XAVGC8-XAVGC16)-(XAVG(XAVGC8,5)-XAVG(XAVGC16,5))<(XAVGC8.99-XAVGC16.99)-(XAVG(XAVGC8.99,5)-XAVG(XAVGC16.99,5))
If you looking for some other histogram pattern, let me know.
- Craig Here to Help!
|
Registered User Joined: 10/7/2004 Posts: 9
|
THANK YOU CRAIG-VERY HELPFUL
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Glad to hear it.
- Craig Here to Help!
|