以下是通达信选股指标A副图2指标
通达信选股指标A副图2指标
{金鱼}
{参数:P(10,1,100),A(5,1,100);}
SVOL:=INTPART(SUM(V,0)/CAPITAL);
TJ0:=SVOL>REF(SVOL,1) OR BARSSINCE(CLOSE)=0;
S1:=BARSLAST(TJ0)+1;
TJ2:=S1
S2:=IF(TJ2,REF(S1,1)+1,S1);
S3:=SUM(TJ2,0);
ZK1:=”KD.K#WEEK”(9,3,3);
ZD2:=”KD.D#WEEK”(9,3,3);
ZF1:=”MACD.DIF#WEEK”(12,26,9);
ZA2:=”MACD.DEA#WEEK”(12,26,9);
换手:=V/CAPITAL*100;
JCD:=FILTER(CROSS(ZK1,ZD2) AND REF(ZD2,1)<30,13);
取点:=BARSLAST(JCD);
吸筹区:=IF(取点>0 AND 取点<61,取点,0);
ZS1:=吸筹区;
ZS2:=吸筹区+1;
ZS3:=换手/5;
ZSA:=IF(ZS1>0,SUM((ZS3),吸筹区+1),0);
主力筹码%:=ZSA;
建仓天数:=ZS1;
阶段总额(万):=SUM(AMOUNT/10000,S2)*100;
阶段总量(手):=SUM(V,S2)*100;
阶段成本(元):=(阶段总额(万)/(阶段总量(手)/100));
TJ1:=JCD;
N:=2.5;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
卖出:=14.5*N;
清仓:=17.5*N;
动力线:= (EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*10-17.5)*N;
底部:=-15.5*N;
关注:=-12.5*N;
T1:=FILTER(CROSS(动力线,关注),20);
T2:=FILTER(CROSS(动力线,底部),20);
T3:=FILTER(CROSS(清仓,动力线),20);
T4:=FILTER(CROSS(卖出,动力线),20);
RSV:=((((HHV(HIGH,P) – CLOSE) / (HHV(HIGH,P) – LLV(LOW,P))) * 200) – 125);
散户:=SMA(RSV,A,1)+15;
RSV1:=((((CLOSE – LLV(LOW,P)) / (HHV(HIGH,P) – LLV(LOW,P))) * 200) – 105);
主力:=SMA(RSV1,A,1)+15;
准备起爆:=CROSS(主力,散户);
TJ8:=准备起爆;
阴跌:=CROSS(散户,主力);
TTJ8:=EXIST(阴跌,8);
XG:TJ1 OR TJ8 AND TTJ8;
======================================================
{只做牛市}
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
WLT1:=EMA(C,3);
WLT2:=EMA(C,5);
WLT3:=EMA(WLT2,5);
HP:=(HHV(CLOSE,10)-LLV(CLOSE,10))/CLOSE<0.10;
LB:=VOL/MA(VOL,5);
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;
EMA3:=EMA(C,3);
TT:=FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10);
MM:=WLT1>REF(WLT1,1) AND REF(WLT1,1)
GG1:=CROSS(WLT1,WLT2);
TYP:= (HIGH + LOW + CLOSE)/3;
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;
CCI:=(CCI1+CCI2+CCI3+CCI4+CCI5)/2,COLORRED,LINETHICK2;
WLT91:=HHV(CCI,13);
WLT92:=LLV(CCI,13)<-100;
WLT95:=COUNT(WLT92,13)>=3;
WLT93:=CCI>WLT91;
WLT96:=CROSS(CCI,100);
TJ91:=WLT95 AND WLT96;
JLP:=FILTER(TJ91,5);
超买:=MA(C,10)*IF(CAPITAL=0,1.04,1.1);
超卖:=MA(C,10)*IF(CAPITAL=0,0.95,0.9);
TEND:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
DD:=TEND>REF(TEND,1) AND REF(TEND,1) >REF(TEND,2);
GG2:=CROSS(WLT1,TEND);
HRY1:=LLV(LOW,55);
HRY2:=HHV(HIGH,21);
GG3:=CHRY33;
JJ1:=C
TJ1:=GG1;
TJ2:=GG2 AND JJ1;
TJ3:=GG1 AND GG3 ;
XG:=TJ1 OR TJ3 ;
XG2:=C1;
XG1:=XG AND XG2 AND C>HRY33 AND JLP;
XG3:=XG AND C
XG11:=XG1 OR XG3;
W8:=XG11 OR XG1;
GET:=ZIG(3,5),COLORFFFFFF;
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
EX1:=ZIG(3,5)=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
PL10:=ZIG(3,10);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
EX2:=ZIG(3,10)=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
PL20:=ZIG(3,20);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
EX3:=ZIG(3,20)=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
PL40:=ZIG(3,40);
走强1:=BARSLAST(PL5
走弱1:=BARSLAST(PL5>REF(PL5,1));
走强2:=BARSLAST(PL10
走弱2:=BARSLAST(PL10>REF(PL10,1));
走强3:=BARSLAST(PL20
走弱3:=BARSLAST(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
DTJZ5:=IF(PL10
DTJD5:=IF(PL10
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
DTJZ10:=IF(PL20
DTJD10:=IF(PL20
WLT11:=EN1 AND DTJZ5=1;
WLT22:=EN2 AND ZTJZ5=1;
WLT33:=WLT11 OR WLT22;
WLT01:=EN2 AND DTJZ10=1;
WLT02:=EN3 AND ZTJZ10=1;
WLT03:=WLT01 OR WLT02;
WLT:=WLT33 AND WLT03;
W18:W8 OR WLT;
======================================================
{波段底}
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
TJ1:=FILTER(CROSS(动力线,0.2),8);
TJ2:=FILTER(CROSS(动力线,0.5),8);
TJ3:=FILTER(CROSS(动力线,0.98),8);
XG:=TJ1 OR TJ2 OR TJ3;
W18:EXIST(XG,3);
======================================================
{山水鱼身}
子1:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
子2:=SMA(MAX(C-REF(C,1),0),10,1)/SMA(ABS(C-REF(C,1)),10,1)*100;
山水1:=EMA(子1,2);
山水2:=EMA(子2,2);
山水3:=(山水1-山水2);
IF1:=IF(山水3>REF(山水3,1),山水3,DRAWNULL);
山水4:=-山水3;
IF2:=IF(山水3>0,山水4,DRAWNULL);
IF3:=IF(山水3>0,山水3,DRAWNULL);
IF4:=IF3>IF2;
XG:IF4 AND CROSS(山水3,0);
======================================================
{长下引}
X1:=(MIN(C,O)-L)/(H-L)>0.67;
X2:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)<0.33;
XG:X1 AND X2;
======================================================
{强势股}
大盘:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);{大盘指数涨跌幅度公式函数表达式}
个股:=(C-REF(C,1))/REF(C,1);{个股涨跌幅度公式}
强度:=(个股-大盘)*100;
X1:=EMA(强度,3);
X2:=EMA(强度,8);
X3:=EMA(强度,89);
TJ1:=CROSS(X1,X2) OR CROSS(X1,X3);
TJ:=FILTER(TJ1,5);
XG:TJ;
======================================================
{利多方舟}
MA20:=MA(CLOSE,20);
AA10:=MA(CLOSE,8);
中期大底:=LLV(LOW,30);
支撑:=HHV(EMA(((((OPEN + LOW) + HIGH) + CLOSE) / 4),5),60);
压力一:=HHV(LOW,20);
中线:=MA(CLOSE,3);
天:=(MA(LOW,15) * 0.985);
人:=(MA(LOW,15) * 0.96);
地:=(((HIGH + LOW) + CLOSE) / 3);
B1:=HHV(地,(4 * 15));
B6:=LLV(地,(4 * 15));
B7:=(B1 – B6);
B8:=(MA(((地 – B6) / B7),2) * 80);
短期底部:=(LLV(HIGH,30) * 0.93);
MA80:=LLV(HIGH,30);
压力二:=(SMA(HIGH,21,2) * 1.035);
下档线:=(((CLOSE – LLV(LOW,13)) / (HHV(HIGH,13) – LLV(LOW,13))) * 100);
RSV:=SMA(下档线,3,1);
K:=SMA(RSV,3,1);
D:=((3 * RSV) – (2 * K));
J12:=(((CLOSE – LLV(LOW,55)) / (HHV(HIGH,55) – LLV(LOW,55))) * 100);
K24:=SMA(SMA(J12,3,1),3,1);
D24:=((3 * SMA(J12,3,1)) – (2 * K24));
压力位:=IF(CROSS(D24,D),HIGH,L);
长期底部:=LLV(HIGH,30),COLORYELLOW;
X1:=EMA((((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6),10);
逃遁:=(SMA(HIGH,21,2) * 1.05);
TJ1:=FILTER(((((LLV(LOW,0) AND ((MA(CLOSE,37) – REF(MA(CLOSE,37),1))
> 0)) AND (LOW <= 短期底部)) AND (WINNER(CLOSE) < 0.05)) AND
((CLOSE / OPEN)> 0.13)),7);
阻挡:=(SMA(LOW,21,2) * 0.94);
TJ2:=FILTER(((((((((CLOSE / OPEN) > 1.03) AND ((MA(CLOSE,15) –
REF(MA(CLOSE,15),1)) > 0)) AND ((CLOSE – REF(CLOSE,1)) > 0))
AND (HIGH < 压力一)) AND (CLOSE < 压力一)) AND ((压力二 –
REF(压力二,1)) > 0)) AND (CLOSE < (SMA(HIGH,21,2) * 1.05))),3);
TJ3:=FILTER(((((((LOW <= 天) AND (CLOSE >= MA20)) AND (HIGH < 压力一))
AND ((天 – REF(天,1)) > 0)) AND (CLOSE < 压力一)) AND ((MA20 –
REF(MA20,1)) > 0)),6);
TJ4:=LOW <= (SMA(LOW,5,2) * 0.96 AND HIGH >= 短期底部 AND
CLOSE >= 长期底部 AND CLOSE / OPEN) > 1.03;
TJ5:=FILTER((((CROSS((MA(LOW,10) * 0.96),(EMA(OPEN,107) * 0.897))
AND (HIGH < MA(CLOSE,80))) AND (HIGH < 压力一)) AND LLV(LOW,0)),10);
红轨道:=MA(MA(CLOSE,3),1);
绿轨道:=MA(MA(CLOSE,3),3);
AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);
波段底:=(3)*(SMA(((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)))*(100),5,1)) –
(2)*(SMA(SMA(((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)))*(100),5,1),3,1));
TJ6:=加仓;
TJ7:=V/REF(V,1)>2;
XG1:TJ1 OR TJ2 OR TJ3 AND TJ6;
======================================================
{利多方舟}
MA20:=MA(CLOSE,20);
AA10:=MA(CLOSE,8);
中期大底:=LLV(LOW,30);
支撑:=HHV(EMA(((((OPEN + LOW) + HIGH) + CLOSE) / 4),5),60);
压力一:=HHV(LOW,20);
中线:=MA(CLOSE,3);
天:=(MA(LOW,15) * 0.985);
人:=(MA(LOW,15) * 0.96);
地:=(((HIGH + LOW) + CLOSE) / 3);
B1:=HHV(地,(4 * 15));
B6:=LLV(地,(4 * 15));
B7:=(B1 – B6);
B8:=(MA(((地 – B6) / B7),2) * 80);
短期底部:=(LLV(HIGH,30) * 0.93);
MA80:=LLV(HIGH,30);
压力二:=(SMA(HIGH,21,2) * 1.035);
下档线:=(((CLOSE – LLV(LOW,13)) / (HHV(HIGH,13) – LLV(LOW,13))) * 100);
RSV:=SMA(下档线,3,1);
K:=SMA(RSV,3,1);
D:=((3 * RSV) – (2 * K));
J12:=(((CLOSE – LLV(LOW,55)) / (HHV(HIGH,55) – LLV(LOW,55))) * 100);
K24:=SMA(SMA(J12,3,1),3,1);
D24:=((3 * SMA(J12,3,1)) – (2 * K24));
压力位:=IF(CROSS(D24,D),HIGH,L);
长期底部:=LLV(HIGH,30),COLORYELLOW;
X1:=EMA((((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6),10);
逃遁:=(SMA(HIGH,21,2) * 1.05);
TJ1:=FILTER(((((LLV(LOW,0) AND ((MA(CLOSE,37) – REF(MA(CLOSE,37),1))
> 0)) AND (LOW <= 短期底部)) AND (WINNER(CLOSE) < 0.05)) AND
((CLOSE / OPEN)> 0.13)),7);
阻挡:=(SMA(LOW,21,2) * 0.94);
TJ2:=FILTER(((((((((CLOSE / OPEN) > 1.03) AND ((MA(CLOSE,15) –
REF(MA(CLOSE,15),1)) > 0)) AND ((CLOSE – REF(CLOSE,1)) > 0))
AND (HIGH < 压力一)) AND (CLOSE < 压力一)) AND ((压力二 –
REF(压力二,1)) > 0)) AND (CLOSE < (SMA(HIGH,21,2) * 1.05))),3);
TJ3:=FILTER(((((((LOW <= 天) AND (CLOSE >= MA20)) AND (HIGH < 压力一))
AND ((天 – REF(天,1)) > 0)) AND (CLOSE < 压力一)) AND ((MA20 –
REF(MA20,1)) > 0)),6);
TJ4:=LOW <= (SMA(LOW,5,2) * 0.96 AND HIGH >= 短期底部 AND
CLOSE >= 长期底部 AND CLOSE / OPEN) > 1.03;
TJ5:=FILTER((((CROSS((MA(LOW,10) * 0.96),(EMA(OPEN,107) * 0.897))
AND (HIGH < MA(CLOSE,80))) AND (HIGH < 压力一)) AND LLV(LOW,0)),10);
红轨道:=MA(MA(CLOSE,3),1);
绿轨道:=MA(MA(CLOSE,3),3);
AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);
波段底:=(3)*(SMA(((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)))*(100),5,1)) –
(2)*(SMA(SMA(((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)))*(100),5,1),3,1));
TJ6:=加仓;
TJ7:=V/REF(V,1)>2;
XG1:TJ1 OR TJ2 OR TJ3 AND TJ6;
======================================================
{漓江}
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
QQ:=(MA(HHH,2)*3+HHH*13)/16;
SS:=(MA(CCC,2)*3+CCC*13)/16;
GG:=MA(HHH,5);
MM:=MA(CCC,5);
WW:=IF(QQ
EE:=IF(SS
买:(EE-WW)<5.6;
======================================================
{敢死队}
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:=IF(B6>60,B6-60,0);
TJ1:=REF(B7,1)
DIFF:= EMA(CLOSE,12) – EMA(CLOSE,26);
DEA1:=EMA(DIFF,9);
MACD:= 2*(DIFF-DEA1)*60;
TJ2:=MACD>=0 AND MACD>REF(MACD,1);
TJ3:=LAST(MACD<0,8,1);
XG:=FILTER(TJ1 AND TJ2 AND TJ3,8);
W18:XG;
======================================================
{OBV选股}
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30);
MAOBV1:=MA(OBV,13);
MAOBV2:=MA(OBV,5);
TJ1:=CROSS(OBV,MAOBV2) AND MAOBV2>REF(MAOBV2,1) AND OBV/MAOBV<1.021;
TJ11:=FILTER(TJ1,5);
TJ2:=FILTER(CROSS(MAOBV2,MAOBV1),5);
TJ3:=COUNT(CROSS(OBV,MAOBV2) OR CROSS(OBV,MAOBV1)
OR CROSS(OBV,MAOBV),5)>2 AND MAOBV>REF(MAOBV,1);
TJ33:=FILTER(TJ3,5);
XG:TJ2 OR TJ11 OR TJ33;
======================================================
{海底捞金}
S2:=EMA(EMA(L,5),10)*0.82;
L1:=EMA(EMA(H,5),5)*1.06;
L2:=EMA(EMA(L,5),5)*0.93;
BT11:=FILTER(L
BT12:=FILTER(COUNT(L=2,3);
BT1:=BT11 OR BT12;
BT21:=FILTER(COUNT(L=2,5);
BT22:=FILTER(COUNT(L=4,3);
BT2:=BT21 OR BT22;
XG:BT1 OR BT2;
======================================================
{钱道}
S1:=EMA(EMA(H,5),10)*1.18;
S2:=EMA(EMA(L,5),10)*0.82;
L1:=EMA(EMA(H,5),5)*1.06;
L2:=EMA(EMA(L,5),5)*0.93;
BT11:=FILTER(L
BT12:=FILTER(COUNT(L=2,3);
BT1:=BT11 OR BT12;
BT21:=FILTER(COUNT(L=2,5);
BT22:=FILTER(COUNT(L=4,3);
XG:BT21 OR BT22;
======================================================
{五里8号}
N:=55;
WL:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
WLT:=MA(WL,89);
WLT1:=CROSS(WL,WLT);
WLT11:=CROSS(WL,-10);
WLT2:=FILTER(WLT1,8);
T1:=WLT11 OR WLT2;
T2:=REF(“KDJ.J”,1)<0 AND “KDJ.J”>0;
LV:=MA(C,24);
HR0:=HHV(HIGH,N);
HRY0:=LLV(LOW,N);
HRY110:=HR0*HRY0;
HRY330:=SQRT(HRY110);
NS1:=C>HRY330 AND HRY330 >=REF(HRY330,1) AND C>LV;
T3:=WLT2 OR WL>WLT;
XG1:=T1 AND NS1;
XG2:=T1 AND T3;
W18:XG1 OR XG2 OR T2;
======================================================
{五里主升}
{N_120;M_89;}
A1:=PPART(M)*100,COLORFF00FF;{M日前那部分成本占总成本的比例}
B1:=MA(A1,N),COLOR0000FF;
AA1:=CROSS(5,A1);
AA2:=CROSS(0,A1);
AA3:=CROSS(-50,A1);
AA5:=CROSS(-100,A1);
AA4:=CROSS(-150,A1);
AA6:=CROSS(-200,A1);
AA7:=CROSS(50,A1);
TJ:=AA1 OR AA1 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7;
TJ1:=CROSS(B1,A1);
XG:TJ1;
======================================================
{彩虹}
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE
量能:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3));
趋势:=IF(CAPITAL<1,EMA(量能,360),EMA(量能,21));
VAR3:=(量能-趋势);
VAR44:=SMA(RV,3,1);
VAR55:=SMA(VAR44,3,1);
KK:=EMA(SMA(RG,3,1),2);
DD:=SMA(KK,3,1);
共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));
TTJ1:=共振点;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
TTJ2:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
TT1:=COUNT(TTJ1 OR TTJ2,2)=2;
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1);
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1);
TJ3:=CROSS(C1,C2) AND C1<40;
XG:TT1 OR TJ3;
======================================================
{熊市金牛}
X1:=REF(C,1)/HHV(H,20)<0.82;
X2:=(MIN(C,O)-L)/(H-L)>0.67;
X3:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)<0.33;
X4:=ABS(C-O)/C<0.01;
DOWN:=O>C;
X5:=COUNT(DOWN,7)>=5;
XG8:=X1 AND X2 AND X3 AND X4 AND X5;
AA:=REF(C,1)/REF(O,1)<0.96;
BB:=C/O>1.03;
CC:=C>REF(O,1);
TJ81:=AA AND BB AND CC;
X81:=REF(C,1)/HHV(H,20)<0.82;
DN:=O>C;
X82:=COUNT(DN,7)>=5;
X83:=C=HHV(C,3);
XG81:=TJ81 AND X81 AND X82;
XG82:=X81 AND X82 AND X83;
XG88:=XG81 OR XG82;
X01:=REF(C,1)/HHV(H,21)<0.77;
DOWN1:=O>C;
X02:=COUNT(DOWN1,9)>=6;
X03:=ABS(C-O)/C<0.008;
X04:=(H-L)/C>0.025;
XG0:=X01 AND X02 AND X03 AND X04;
W88:XG88 OR XG8 OR XG0;
======================================================
{螺旋桨}
X1:=REF(C,1)/HHV(H,20)<0.82;
X2:=(MIN(C,O)-L)/(H-L)>0.67;
X3:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)<0.33;
X4:=ABS(C-O)/C<0.01;
XG:X1 AND X2 AND X3 AND X4;
======================================================
{爆动1号}
{WL:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
WLT:=MA(WL,89);
WLT1:=CROSS(WL,WLT);
TJ5:=EXIST(WLT1,2);}
TJ1:=REF(C,1)/REF(C,2)>1.05;
TJ2:=ABS(C-O)/C<0.03 AND (H-L)/C>0.01;
AA:=IF(BETWEEN(C,REF(C,1),H),VOL,0);
BB:=IF(BETWEEN(C,REF(C,1),L),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
DDY:=3*(AA-(BB+CC))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL);
TJ3:=DDY>-0.08 ;
EE:=LLV(C,10);
TJ4:=C/EE<1.15;
TJ6:=REF(V,1)/REF(MA(V,5),1)>2;
XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ6;
======================================================
{单日反转}
AA:=REF(C,1)/REF(O,1)<0.95;
BB:=C/O>1.05;
CC:=C>REF(O,1);
TJ1:=AA AND BB AND CC;
X1:=REF(C,1)/HHV(H,20)<0.82;
DN:=O>C;
X2:=COUNT(DN,7)>=5;
XG:TJ1 AND X1 AND X2;
======================================================
★★ 含DATA等句需作修改 ★★
评论(0)