{攻击涨停}
Y:=CLOSE/REF(CLOSE,1) 1.07;
X:=VOL MA(VOL,5);
A1:=Y AND X;
攻击涨停:IF(A1,70,0),COLORFF3399;
K1:=BARSLAST(L REF(H,1) AND C/O 1.05);
K2:=L
=========================================
{通达信1250选}
MA20:=MA(C,20),COLORWHITE,LINETHICK2;
MA120:=MA(C,120),COLORFFCCCC,LINETHICK2;
MA250:=MA(C,250),COLORFFCC66,LINETHICK2;
乖离线:=((C-REF(MA20,1))/20+MA20)*1.20;
TT1:=CROSS(MA20,MA120) AND CROSS(MA20,MA250) AND V REF(V,1);
TT2:=MA20 REF(MA20,2) AND V REF(V,1) AND CROSS(C,MA20);
(TT1) OR (CROSS(C,MA120) AND CROSS(C,MA250) AND CROSS(C,MA20)) OR (TT2) OR
(MA250 =REF(MA250,1) AND MA20 =REF(MA20,1) AND CROSS(C,MA250)) OR
(MA120 =REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V REF(V,1));
===========================================
{仅此一招就够}
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,29)*1.01,10);
CROSS(V1,V2);
======================================
{顶天立地}
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趋势:=SMA(VAR21,3,1);
人气:=SMA(趋势,3,1);
出击:CROSS(趋势,人气) AND (趋势
{短卖:IF(CROSS(人气,趋势) AND (人气 75),85,100),COLOR008000,LINETHICK2; };
========================================
{利多方舟B}
{VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));}
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
{DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);}
CROSS(VAR2,MA(VAR3,6)){,(LOW * 0.984),'B '),COLOR4440FF};
========================================
{益盟BS选股}
MA3:=MA(C,5),COLORF00FF0;
MA10:=MA(C,10),COLORYELLOW;
MA21:=MA(C,21),COLORE66878;
MA30:=MA(C,30),COLORWHITE;
MA120:=MA(C,120),COLOR399C7F;
MA240:=MA(C,240),COLOR000999;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
B:CROSS(X2,X3);
========================================
{MACD0轴下二次金叉}
{天数=20}
CROSS( MACD.DIF , MACD.DEA ) EVERY( MACD.DIF 0,天数)
REF(EXIST(CROSS( MACD.DIF , MACD.DEA ),天数),1);
=======================================
M1:=MA(C,N1);{短期参数:5}
M2:=MA(C,N2);{中期参数:10}
M3:=MA(C,N3);{长期参数:30}
{以下计算交叉点距今的天数}
D1:=BARSLAST(CROSS(M1,M2));{短上穿中}
D2:=BARSLAST(CROSS(M1,M3));{短上穿长}
D3:=BARSLAST(CROSS(M2,M3));{中上穿长}
T1:=CROSS(M2,M3);{今天中线上穿长线}
T2:=D1 =D2 AND D2 {交叉按指定的先后出现}
T3:=COUNT(CROSS(M2,M1) OR CROSS(M3,M2) OR CROSS(M3,M1),D1)=0;{中间无夹杂其它交叉}
T4:=REF(M1
JT:T1 AND T2 AND T3 AND T4;{价托确定};
=====================================
{百分之三选股}
{M=60;N=3}
MAM:=MA(CLOSE,M);
CZ:=ABS(CLOSE-MAM)/MAM*100;
百分之X:CZ
===================================
{飞鹰猎庄选股}
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
XG:CROSS(VAR1,VAR2);
=====================================
{阶段震仓启动点(黄金坑)}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))
B:=BARSLAST(CROSS(GJTJ4,GJTJ2));
D:=GJTJ3
E:=BARSLAST(CROSS(GJTJ4,GJTJ3)) 3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))
F:=GJTJ2
B1:=A 0 AND REF(A,1)=0 AND REF(A,2)
ENTERLONG:A AND B AND D AND E AND F;
=======================================
{黄K加码}
MA18:=MA(C,21);
加码价:=((C-REF(MA18,1))/18+MA18)*1.004;
黄K加码:CROSS(C,加码价) AND 加码价 REF(加码价,1);
====================================
{一招绝选股}
VAR326:=IF(CLOSE REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1) 1.050 AND HIGH/CLOSE 1.010 AND VAR326 0, 91, 0);
XG:FILTER(VAR327 1,5);
=======================================
{老鼠仓的选股公式}
AA1:=AMOUNT/VOL;
BB1:=L
CC1:=(C-REF(C,1))/REF(C,1)*100
DD1:=L
EE1:=VOL
FF1:BB1 AND CC1 AND DD1 AND EE1;
=====================================
{操盘黄金选股}
新价:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORYELLOW,LINETHICK1;
GAO:=HHV(H,30)-LLV(L,30);
指导线:=新价+(SMA(MAX(新价-REF(新价,1),0),5,1)/SMA(ABS(新价-REF(新价,1)),5,1)*GAO-GAO*0.5),COLORMAGENTA,LINETHICK1;
平衡:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55),COLORRED,LINETHICK0;
买:C =平衡 AND CROSS(指导线,平衡);
====================================
{筹码突破-选股}
主筹估算:=EMA(WINNER(C)*70,3);
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
选股:CROSS(主筹估算,散筹估算);
====================================
{短线强弱选}
{N:(1,10,3)}
UP:=SMA(IF(CLOSE REF(CLOSE,1), CLOSE-REF(CLOSE,1),0),N,1);
DN:=SMA(IF (CLOSE =REF(CLOSE,1),ABS(CLOSE-REF(CLOSE,1)),0),N,1);
指标:=100*UP/(UP+DN);
强弱:=EMA(指标,3),COLORRED;
平均:=EMA(强弱,3),COLORGREEN;
买进:CROSS(强弱,平均);
=======================================
{选股指标}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD 0,1)=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KDJ1:=CROSS(K,D) AND CROSS(J,D);
均线:=CROSS(MA(C,5),MA(C,10));
量线:=CROSS(MA(V,5),MA(V,10));
SCC:=MACD1 AND KDJ1 AND 均线 AND 量线;
SC1:=MACD1 AND KDJ1;
SC2:=均线 AND 量线;
SC3:=均线 AND MACD1;
SC4:=量线 AND KDJ1;
SC5:=均线 AND KDJ1;
SC6:=MACD1 AND 量线;
SCC OR SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6;
======================================
{45度选股}
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
选股:FILTER(BB13 1 AND EMA(X1,13) REF(EMA(X1,8),1),10);
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
通达信条件选股公式四
加入收藏