RELATIVE STRENGTH OF STOCK TO INDEX
Here is what I have been using
as Relative strength (RSC)Compared to the XAO
Column A: CLOSE Column B: If( (Ref(Div(CLOSE,P),-4) > Ref(Mov(Div(C,P),30,E),-4)),1,0) Column C: If( (Ref(Div(CLOSE,P),-3) > Ref(Mov(Div(C,P),30,E),-3)),1,0) Column D: If( (Ref(Div(CLOSE,P),-2) > Ref(Mov(Div(C,P),30,E),-2)),1,0) Column E: If( (Ref(Div(CLOSE,P),-1) > Ref(Mov(Div(C,P),30,E),-1)),1,0) Column F: (( C/P - Mov(C/P,30,E)) / Mov(C/P,30,E)) * 100 Filter: Div(C,P)> Mov(Div(C,P),30,E) AND colB=1 AND colC =1 AND colD = 1 AND colE =1 I name columns B - E period 1, 2, 3, etc. Open The chart of the index you wish to get the relative strength of the securities on make periodicity "Week". In the options area of the exploration editor change to Week. This formula will select securities that have outperform the index over the last 5 weeks. The formula in column F provides a way to rank the securities in terms of their recent performance relative to the index. Frederick W McKenzie FLEXIBLE PARAMETER BOLLINGER BAND SYSTEM N:=Input("Lookback Period", 9, 220, 90); M:=N; {Period used for Momentum Index} SD:=1.5; {Number of Stdev's around FlexPivot} MI:= CMO(C ,M ) / 100; { Momentum Index } MA:= Mov(C, N, S); { Moving Average } FlxP := If( MI > 0, { THEN } MA + (MI * (HHV(C, M) - MA)), { ELSE } MA + (MI * (MA - LLV(C, M))) ); { ENDIF } LBand := FlxP - SD * Stdev(INDICATOR, N); UBand := FlxP + SD * Stdev(INDICATOR, N); UBand; FlxP; LBand; {from Andreas Grau}
DIVERGENCE TRADING SYSTEM RSI(9) DIVERGENCE BUY: If(RSI(9) >= HHV(RSI(9),19) AND CLOSE <HHV(CLOSE,19), 1,0) OR If(CLOSE <= LLV(CLOSE,19) AND RSI(9) > LLV(RSI(9),19), 1,0) RSI(9) DIVERGENCE SELL: If(CLOSE >= HHV(CLOSE,19) AND RSI(9)<HHV(RSI(9),19),1,0) OR If(RSI(9) <= LLV(RSI(9),19) AND CLOSE > LLV(CLOSE,19),1,0) Substitute any formula for the "RSI(9)" in the above. Mike Arnoldi
DYNAMIC ZONE WILLIAMS%R EXPLORATION ColA: Mov(WillR(19),70,S)-(1.3185 * Stdev(WillR(19),70)) ColB: Mov(WillR(19),70,s) Filter: Cross(mov(WillR(19),70,s) , Mov(WillR(19),70,S)-(1.3185 * Stdev(WillR(19),70))) {from suggestions by J. Seed and A. Grau}
DYNAMIC ZONE WILLIAMS%R INDICATOR I have written a Dynamic Zone Williams % R indicator that you may find useful. I have converted the Will%R to a +/- 50 oscillator. The formula is: {DYNAMIC W%R} PR:=Input("Enter Periods for W%R",1,100,14); PB:=Input("Enter Periods for BUY",1,100,20); PS:=Input("Enter Periods for SELL",1,100,20); {CONVERT W%R TO +/-50 OSC} DWR:=(Mov(WillR(PR),2,S))+50; UpZone:=Mov(DWR,PS,S)+(1.3185 *Stdev(DWR,PS)); LwZone:=Mov(DWR,PB,S)-(1.3185 *Stdev(DWR,PB)); MidZone:=(UpZone + LwZone)/2; MidZone; UpZone; LwZone; DWR This will plot 3 dynamic zones and a Dynamic Williams%R. To use in an exploration you would need to use the Fml Var call function of the indicator. from J. S
NEGATIVE CLOSES – DOWN DAYS EXPLORE THE NUMBER OF NEGATIVE CLOSES AND THE PERCENT LOSSCHANGING THE > WITH < WE HAVE THE POSITIVE DAYS . COL A: BarsSince(C>Ref(C,-1)) {NUMBER OF NEG. DAYS ) COL B: ROC(C, LastValue(BarsSince(C>Ref(C,-1))),%) {PERCENT} From "KAKARIDIS NIKOS"
FIND RSI ABOVE 80 Col A: RSI(14) Filter colA>=80 Filter enabled Yes Periodicity Daily Records required 18
WOLF WAVE PATTERNS Here's a simple Metastock exploration for locating Wolf Wave patterns. It doesn't hit all that often, but when it does, it's best to pay attention. ColA: WW Pa:=Trough(4,LOW,5); Pb:=Peak(3,HIGH,5); P1:=Trough(3,LOW,5); P2:=Peak(2,HIGH,5); P3:=Trough(2,LOW,5); P4:=Peak(1,HIGH,5); P5:=Trough(1,LOW,5); tb:=TroughBars(1,LOW,5); tb<=4 AND p1 > pa AND pb < p2 AND p1 < p2 AND p1 < p4 AND p1 > p3 AND p3 > p5 AND p4 < p2 AND ColB: Tangents p1:=Trough(3,LOW,5); p3:=Trough(2,LOW,5); p5:=Trough(1,LOW,5); o1:=p1-p3; o2:=p1-p5; a1:=TroughBars(3,LOW,5)-TroughBars(2,LOW,5); a2:=TroughBars(3,LOW,5)-TroughBars(1,LOW,5); tan1:=o1/a1; tan2:=o2/a2; Abs(tan1-tan2) Filter: colA AND colB <= .2
The Market Facilitation Index In the August 1996 STOCKS & COMMODITIES, an article by Thom Hartle titled "The Market Facilitation Index" showed how to color chart bars to identify chart patterns based on changes in the market facilitation index and volume. The first step is to create a new expert by choosing Expert Advisor from MetaStock's Tool menu, and then choose New from the Expert Advisor. Name the expert "Market Facilitation Index," enter any notes you like, and then click on the Highlights tab. Enter the following Highlights by choosing New, choosing the color and then entering the following formulas: Green Bar (Green bar) ROC((H-L)/V,1,$) > 0 AND ROC(V,1,$) > 0 Fade Bar (Blue bar) ROC((H-L)/V,1,$) < 0 AND ROC(V,1,$) < 0 Fake Bar (Dk Gray bar) ROC((H-L)/V,1,$) > 0 AND ROC(V,1,$) < 0 Squat Bar (Red bar) ROC((H-L)/V,1,$) < 0 AND ROC(V,1,$) > 0 After you have entered the four Highlights, click OK to finish editing the expert's properties. You can now right-click on the heading or background of any chart. Next, select Expert Advisor and then Attach from the Chart shortcut menu. Attach the market facilitation index expert, and it will highlight the four market facilitation patterns that were discussed in Hartle's article. Note: You can save a chart as a template with this expert attached, and then any time you apply the template to a chart, the market facilitation index expert will automatically attach to the chart. from Allan J. McNichol, EQUIS International www.equis.com Sender: blackman@hawaii.rr.com |