false Scanning stocks! false Technical Indicator Scans true ISUP The stock is going up ISUP Range Scan the quotes between N1 and N2 Between(C,N1,N2) & (V>N3); Cross MA MA1 cross MA2 from below within N3 days Exist(Cross(MA(C,N1),MA(C,N2)),N3); Rising Rising stocks C>Ref(C,1); Scan by MACD DIFF line cross DEA from below. DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); CROSS(DIFF,DEA) RSI scanning CROSS("RSI(N)[RSI]",LL); Newest high within N days Newest high within N days HHV(H,N)==H & BARSCOUNT(C)>=N Boll scanning CROSS(C,"BB(N,P)[LOWER]") Sar scan SARTURN(N,STEP,MAXP)==1 Newest low within N days LLV(L,N)==L & BARSCOUNT(C)>=N Strong Volume Gainers V>(MA(V,N2)*N1) & ISUP Strong Volume Decliners V>(MA(V,N2)*N1) & ISDOWN Bullish MA Crossover Stocks that had the simple moving average of the last N1 closing prices move above the simple moving average of the last N2 closing prices. Cross(MA(C,N1),MA(C,N2)) & ISUP; Bearish MA Crossover Stocks that had the simple moving average of the last N1 closing prices move below the simple moving average of the last N2 closing prices. Cross(MA(C,N1),MA(C,N2)) & ISDOWN; Moved Above Upper Bollinger Band Stocks which closed above the upper line of their N-day Bollinger Band and which were below that same band after the previous trading session. CROSS(C,"BB(N,2)[UPPER]") Moved Below Lower Bollinger Band Stocks which closed below the lower line of their N-day Bollinger Band and which were above that same band after the previous trading session. CROSS("BB(N,2)[LOWER]",C) Gap Ups Stocks whose current low was at least P percent higher than the previous day's high. LH := REF(H,1); (L-LH)/LH>(P/100) Gap Downs Stocks whose current high was at least P percent lower than the previous day's low. LL := REF(L,1); (LL-H)/LL>(P/100) Island Tops Stocks that gapped up at least P percent yesterday and gapped down at least 2.5 percent today. REF("GU(P)",1) & "GD(P)" Island Bottoms REF("GD(P)",1) & "GU(P)" Stocks in a New Uptrend(ADX) Stocks for which the N-day ADX Line just moved above the +M level (signaling a new trend) and the +DI line is above the -DI line (signaling that the new trend is upwards). Cross("ADX(N)",M) & "ADX(N)[+DI]">"ADX(N)[-DI]" Stocks in a New Downtrend (ADX) Stocks for which the N-day ADX Line just moved above the +M level (signaling a new trend) and the -DI line is above the +DI line (signaling that the new trend is downwards). Cross("ADX(N)",M) & "ADX(N)[-DI]">"ADX(N)[+DI]"; Bullish MACD Crossovers Stocks whose MACD line crossed above the signal line today after being below the signal line for the previous three days. The MACD parameters used are 26 and 12 and the signal line is a 9-day EMA of the MACD line. DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); LONGCROSS(DIFF,DEA,3) Bearish MACD Crossovers Stocks whose MACD line crossed below the signal line today after being above the signal line for the previous three days. The MACD parameters used are 26 and 12 and the signal line is a 9-day EMA of the MACD line. DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); LONGCROSS(DEA,DIFF,3) Overbought with a Declining RSI Stocks whose RSI line moved below 70 today after being above 70 for the previous three days. The RSI period used is 14. LONGCROSS(LL,"RSI(N)[RSI]",3); Oversold with an Improving RSI Stocks whose RSI line moved above 30 today after being below 30 for the previous three days. The RSI period used is 14. LONGCROSS("RSI(N)[RSI]",LL,3); Improving Chaikin Money Flow Stocks for which the 21-day Chaikin Money Flow oscillator has just moved above the +20% level. CROSS("CMF(N)", 0.2); Declining Chaikin Money Flow Stocks for which the 21-day Chaikin Money Flow oscillator has just moved below the -20% level. CROSS(-0.2,"CMF(N)"); CCI Buy Signals Stocks for which the 20-day Commodity Channel Index (CCI) has just moved above the +100 level. TYP := (HIGH + LOW + CLOSE)/3; CROSS((TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),100) CCI Sell Signals Stocks for which the 20-day Commodity Channel Index (CCI) has just moved below the -100 level. TYP := (HIGH + LOW + CLOSE)/3; CROSS(-100,(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N))) Parabolic SAR Buy Signals Stocks whose Parabolic SAR just "flipped" from above the price bars to below the price bars. The parameters used are 0.02 and 0.20. SARTURN(N,STEP,MAXP)==1 Parabolic SAR Sell Signals SARTURN(N,STEP,MAXP)==-1 Fibonnaci BETWEEN(("Fibonnaci(N)[A3]"-C)/C,-0.01,0.01) Down Trend DownT will show all stocks under N which closed less than P% below their M week high. So for example, if the 52 week high is $10 and the stock closed at $9.00 it would be in the screen. If it closed at $8.90 it would not show up. A :=HHV(C,M*5); C<N & Between(C,A*P/100,A); up at least N% and closed in the upper M% range of the days range up at least N% and closed in the upper M% range of the days range PC := REF(C,1); (C-PC)/PC>N/100 & (H-C)/(H-L)<=M/100 & C>=P1 & C<=P2; down at least N% and closed in the lower M% range of the days range down at least N% and closed in the lower M% range of the days range PC := REF(C,1); (C-PC)/PC<-N/100 & (C-L)/(H-L)<=M/100 & C>=P1 & C<=P2; Muddy Original This locates stocks where the price has been decreasing for the past 3 days, has touched the lower Bollinger Band and the volume is above the 90 day average of N3 volume N1=Enter Min Price N2=Enter Max Price N3=Enter the average 90 day volume R1 := REF(C,1); R2 := REF(R1,1); C<R1 & R1<R2 & MA(V,N3)>100000 & BETWEEN(C,N1,N2) & "BB(M,2)[LOWER]"/C>0.99 Muddy 2 This locates stocks where the price has been decreasing for the past 3 days, has touched the lower Bollinger Band and the volume is above the 90 day average of N3 volume X :=(V>REF(V,1))*2; AvgV := MA(V,90); Y :=Count(V>AvgV,3); Z :=X+Y; C1 :=Z>1; C2 :=C<Ref(C,1) & Ref(C,1)<Ref(C,2) & Count(ISUP,3)==0; C3 :=AvgV>MinVolume; C4 :=BETWEEN(C,MinPrice,MaxPrice); C5 :=C<"BB(20,2)[LOWER]"; C1 & C2 & C3 & C4 & C5; Avery Zone This locates stocks which broke the upper bollinger band and pulled back into a 'zone' between EMA13 and MA 20. uRSI := Count("RSI(2)">90, 5); C1 := C < EMA(C,13); C2 := C > MA(C,20); C3 := uRSI > 0; C4 := Between(C,MinPrice,MaxPrice); C5 := V > MinVolume; C6 := Exist(Cross("BB(20,2)[UPPER]",C),7); C1 & C2 & C3 & C4 & C5 & C6 Muddy Triple C1 :=C<Ref(C,1) & Ref(C,1)<Ref(C,2) & Count(ISUP,3)==0; C2 :=MA(V,90)>MinVolume & BETWEEN(C,MinPrice,MaxPrice) & "BB(20,2)[LOWER]"/C>0.99; C3 :="RSI(2)"<1; C4 :=SLOPE(C,N)>0; C5 :=Near("LinRegr(N)[LOWER]",L,0.05); C1 & C2 & C3 & C4 & C5 Muddy Double C1 :=C<Ref(C,1) & Ref(C,1)<Ref(C,2) & Count(ISUP,3)==0; C2 :=MA(V,90)>MinVolume & BETWEEN(C,MinPrice,MaxPrice) & "BB(20,2)[LOWER]"/C>0.99; C3 :="RSI(2)"<1; C4 :=SLOPE(C,N)>0; C5 :=Near("LinRegr(N)[LOWER]",L,0.05); C1 & C2 & ((C4 & C5) | C3) Indicator greater or less than a number (FML(Indi) > N) ^ IsLess Search key from stock name Contain(StkName,Key) | Contain(Code,Key); Candlestick Pattern Scans true Bullish Engulfing LO :=Ref(O,1); LC :=Ref(C,1); C>LO & O<LC & LO>LC; Piercing Line 1)The first is a relatively long black candlestick. 2)The second is a white candlestick that opens below the previous period's close and closes above the mid-point of the black candlestick's body. LC :=Ref(C,1); LO :=Ref(O,1); (LO-LC)/LO>0.05 & O<LC & C>(LC+LO)/2; Bullish Harami The bullish harami is made up of two candlesticks. The first has a large body and the second a small body that is totally encompassed by the first. LC :=Ref(C,1); LO :=Ref(O,1); ABS(LO-LC)/LO>0.05 & MIN(LC,LO)<MIN(C,O) & MAX(LC,LO)>MAX(C,O) Bearish Engulfing The open must be higher than the previous close. The close must be lower than the previous open. LO :=Ref(O,1); LC :=Ref(C,1); O>LC & C<LO & LC>LO Bearish Harami The first candlestick has a long body that is white or black. The second candlestick has a short body that is white or black and is nestled within the body of the first candlestick. LC :=Ref(C,1); LO :=Ref(O,1); ABS(LO-LC)/LO>0.05 & MIN(LC,LO)<MIN(C,O) & MAX(LC,LO)>MAX(C,O) Three Black Crows Three black crows is a bearish reversal pattern that forms with three consecutive long black candlesticks. After an advance, the three black crows pattern signals a change in sentiment and reversal of trend from bullish to bearish. Further bearish confirmation is not required, but there is sometimes a test of resistance established by the reversal. IsDown & Ref(IsDown,1) & Ref(IsDown,2); Rising Three Methods Stocks that have a Rising Three Methods pattern at the end of their daily chart. C>Ref(C,1) & Ref(C,1)>Ref(C,2) Falling Three Methods Stocks that have a Falling Three Methods pattern at the end of their daily chart C<Ref(C,1) & Ref(C,1)<Ref(C,2) Dragonfly Doji Stocks that have a Dragonfly Doji pattern at the end of their daily chart. between((C-O)/O,0,0.005) & (H-C)<(O-L) Gravestone Doji Stocks that have a Gravestone Doji pattern at the end of their daily chart. between((O-C)/C,0,0.005) & (H-O)>(C-L) Hammer, Hanging Man The resulting candlestick looks like a square lollipop with a long stick. The long stick below represents the long lower shadow that forms from the intraday low. The high for the day is near the open or the close, depending on which of the two is higher. between(ABS(O-C)/C,0,0.02) & (H-MAX(O,C))<(MIN(C,O)-L) Morning Doji Star A Morning Doji Star is a 3-candlestick pattern that forms after a decline and marks a potential reversal of trend. 1.The first candlestick is black and should have a relatively long body. 2.The middle candlestick is a doji that forms after a gap down on the open. 3.The third candlestick is white and has a relatively long white body. REF(ISDOWN,2) & REF(ISEQUAL,1) & ISUP; Three White Soldiers Three white soldiers is a bullish reversal pattern that forms with three consecutive long white candlesticks. After a decline, the three white soldiers pattern signals a change in sentiment and reversal of trend from bearish to bullish. Further bullish confirmation is not required, but there is sometimes a test of support established by the reversal. REF(ISUP,2) & REF(ISUP,1) & ISUP Dark Cloud Cover Pattern (bearish) A dark cloud cover pattern is formed by two candlesticks where: 1.The first is a relatively long white candlestick. 2.The second is a black candlestick that opens above the previous period's high and closes below the mid-point of the long white candlestick's body REF(ISUP,1) & O>REF(H,1) & C<REF((O+C)/2,1) Evening Star (bearish) An evening star is a bearish pattern that forms after an advance and marks a reversal of trend. The evening star formation is made up of three candlesticks: 1.The first candlestick should have a relatively long white body. 2.The middle candlestick can be either black or white and has a relatively small body. It should also form with a gap up on the open. 3.The third candlestick has a relatively long black body and should form with a gap down on the open. REF(ISUP,2) & REF(ISEQUAL,1) & ISDOWN; Shooting Star A shooting star candlestick forms when a security advances significantly higher after the open, but gives up most or all of its intraday gain to close well off of its high. As opposed to the hanging man or the hammer, a shooting star looks like an upside down square lollipop with a long stick. Sometimes there will be a short lower shadow, but not always. between(ABS(O-C)/C,0,0.02) & (H-MAX(O,C))>(MIN(C,O)-L) Filled Black Candles Stocks that have a black, filled-in candlestick at the end of their daily chart. O==H & L==C & (O-C)/O>0.05 Hollow Red Candles Stocks that have a red, hollow candlestick at the end of their daily chart. O==L & H==C & (C-O)/O>0.05 true EMA is greater or less than Close (C > EMA(C,N)) ^ IsLess Moving average is greater or less than closs (C > MA(C,N)) ^ IsLess ATR sar status M := ATRSAR(NAtr,NEma,Factor); M>C; The distance between atr sar and closing price M := ATRSAR(NAtr,NEma,Factor); (M-C)/C