Registered User Joined: 1/3/2014 Posts: 36
|
-
I am attempting to write a condition for a Divergence of
-
Slope of the MACD Histogram(65,90,12) vs. the Slope of price close.
-
Would like a Divergence that includes an "OR" statement for 20, 10, 5 periods.
-
Both Positive and Negative Divergences.
Can u help
thanks
mo.trader
|
Registered User Joined: 1/3/2014 Posts: 36
|
When i refer "Slope of price close" i am referencing Slope of last 3 Bar of the price Close.
thanks
mo.trader
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Higher price and lower MACD Histogram.
(C > C3 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) < XAVGC65.3 - XAVGC90.3 - XAVG(XAVGC65.3,12) + XAVG(XAVGC90.3,20)) OR (C > C5 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) < XAVGC65.5 - XAVGC90.5 - XAVG(XAVGC65.5,12) + XAVG(XAVGC90.5,20)) OR (C > C10 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) < XAVGC65.10 - XAVGC90.10 - XAVG(XAVGC65.10,12) + XAVG(XAVGC90.10,20)) OR (C > C20 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) < XAVGC65.20 - XAVGC90.20 - XAVG(XAVGC65.20,12) + XAVG(XAVGC90.20,20))
Lower price and higher MACD Histogram.
(C < C3 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) > XAVGC65.3 - XAVGC90.3 - XAVG(XAVGC65.3,12) + XAVG(XAVGC90.3,20)) OR (C < C5 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) > XAVGC65.5 - XAVGC90.5 - XAVG(XAVGC65.5,12) + XAVG(XAVGC90.5,20)) OR (C < C10 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) > XAVGC65.10 - XAVGC90.10 - XAVG(XAVGC65.10,12) + XAVG(XAVGC90.10,20)) OR (C < C20 AND XAVGC65 - XAVGC90 - XAVG(XAVGC65,12) + XAVG(XAVGC90,20) > XAVGC65.20 - XAVGC90.20 - XAVG(XAVGC65.20,12) + XAVG(XAVGC90.20,20))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|