M:=5;
TR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),
ABS(LOW-REF(CLOSE,1))),5);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),5);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),5);
LDFU:=DMP*100/TR1;
DF:=EMA(LDFU,7)*0.5;
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9))*100;
PDI:=DMP*100/TR1;
MDI:=DMM*100/TR1;
ADX:=MA((ABS(MDI-PDI))/(MDI+PDI)*100,3);
VAR12:=EMA(WINNER((LOW+HIGH)/2),10)*100;
VAR13:=EMA(WINNER(CLOSE),21)*100;
VAR14:=EMA(WINNER(CLOSE),34)*100;
VAR15:=MA(WINNER(CLOSE),1)*100;
VAR16:=VAR12>80 AND VAR13>80 AND VAR14>80;
VAR17:=CROSS(VAR12,VAR15);
VAR18:=VAR16 AND VAR17;
VAR19:=CROSS(90,VAR15);
VARA:=VAR12>80;
VARB:=VAR19 AND VARA;
VARC:=VAR12>80 AND VAR13>80;
VARD:=CROSS(90,VAR15);
VARE:=VARC AND VARD;
VARF:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR101:=SMA(VARF,3,1);
VAR111:=SMA(VAR101,3,1);
VAR112:=3*VAR101-2*VAR111;
VAR113:=LLV(LOW,5);
VAR114:=HHV(HIGH,5);
VAR115:=EMA((CLOSE-VAR113)/(VAR114-VAR113)*100,4)*2;
VAR116:=EMA(0.667*REF(VAR115,1)+0.333*VAR115,2);
VAR117:=3*VAR115-2*VAR116;
VAR118:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR119:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR1A:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR1B:=(VAR18-LLV(VAR19,64))/(HHV(VAR1A,64)-LLV(VAR19,64))*150+65-10;
VAR1C:=SMA(VAR1B,3,1)*1.5-100;
VAR1D:=SMA(VAR1C,3,1);
VAR1E:=3*VAR1C-2*VAR1D;
VAR1F:=(HIGH+LOW+CLOSE*2)/4;
VAR20:=EMA(VAR1F,13);
VAR21:=STD(VAR1F,13);
VAR22:=(VAR1F-VAR20)*100/VAR21;
VAR23:=EMA(VAR22,5);
VAR24:=EMA(VAR23,13);
VAR25:=EMA(VAR23,13)+200-100;
VAR26:=EMA(VAR25,10);
VAR27:=3*VAR25-2*VAR26;
VAR28:=VAR101+VAR115+VAR1C+VAR25;
VAR29:=VAR111+VAR116+VAR1D+VAR26;
VAR2A:=VAR112+VAR117+VAR1E+VAR27;
VAR2B:=(HIGH+LOW+CLOSE)/3;
VAR2C:=AMOUNT/VOL/100;
VAR2D:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR2E:=(VAR2B-MA(VAR2B,34))/(0.015*AVEDEV(VAR2B,34));
VAR2F:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR30:=(HIGH+LOW+CLOSE+VAR2B)/4;
VAR31:=EMA(VAR30,24);
VAR32:=STD(VAR30,24);
VAR33:=(VAR30-VAR31)/VAR32*100;
VAR34:=(VAR2B-MA(VAR2B,24))/(0.015*AVEDEV(VAR2B,24));
VAR35:=EMA(VAR33,5);
VAR36:=(VAR2C-MA(VAR2C,21))/(0.015*AVEDEV(VAR2C,21));
VAR37:=(VAR2D-MA(VAR2D,90))/(0.015*AVEDEV(VAR2D,90));
VAR38:=((VAR37+VAR36+VAR35+VAR34+VAR2E)/5+165)/4;
VAR39:=(EMA(EMA(EMA(VAR38,15),10),5)-25)*2+VAR2F;
VAR3A:=(VAR28+VAR29+VAR2A*30)/32/5-15;
VAR3B:=EMA(VAR3A,13);
VAR3C:=(VAR38+VAR3A)/2/1.1;
WB1:=EMA(VAR3C,3);
(VAR39+VAR3B)/2*0.712;
EMA((VAR39+VAR3B)/2*0.712,3),COLORMAGENTA;
RSV2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
动力线:EMA(J2,M)*0.98,LINETHICK3,COLORYELLOW;
太极线:HHV(J2,4)*0.97,LINETHICK4;
选股LL:IF(CROSS(动力线,太极线),90,0),LINETHICK2,COLORBLUE;
{捞一把:IF(COUNT(CLOSE>REF(CLOSE,1),3)=3 AND COUNT(VOL<REF(VOL,1),3)=3,80,0),STICK,COLORRED;
T1:=COUNT(V>REF(V,1)*2,4)=1;
T2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3;
T3:IF(T1 AND T2,100,0),STICK,COLORLICYAN;}
{清:=EMA(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416,5)/2+50,COLORGREEN,POINTDOT;
STICKLINE(FILTER(清>REF(清,1),5),100,90,1,0),COLORMAGENTA;};
增减力度:=(MA(CLOSE,34.000) - CLOSE) / MA(CLOSE, 34.000) * 10.000,COLOR6666FF;
雷达抢筹:IF(FILTER(CROSS(0.019100,增减力度),21),60,0),COLORRED;
二十日换:SUM(V/CAPITAL*100,20),COLORRED,NODRAW ;
预换:MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,COLORFFFF00,NODRAW;
LB:VOL/REF(MA(VOL,5),1)/(FROMOPEN/240),NODRAW;
量比十倍:=LB*10,DOTLINE,COLORBLUE;
10,DOTLINE,COLORGREEN;
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:SMA(V3,2,1),LINETHICK3;
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW,LINETHICK2;
DEA:=EMA(DIFF,9),COLOR0000FF,LINETHICK2;
MAP:=C>REF(C,1);
AA12:=DIFF>REF(DIFF,1) AND DEA>REF(DEA,1) AND DIFF>DEA;
大牛:IF(FILTER(MAP AND AA12 AND EVERY(操盘线>REF(操盘线,1),2),30),80,0),COLORGREEN;
VAR2J:=(CLOSE-MA(CLOSE,2))/MA(CLOSE,2)*100;
VAR3J:=(EMA(VAR2J,1)+EMA(VAR2J,3)+EMA(VAR2J,6))/2;
A1:=EMA(VAR3J,2);
A2:=EMA(A1,2);
A3:=EMA(A2,2);
激进涨停:IF(A1>A3 AND A3>2,45,0);
VAR11:=0-((100)*(HHV(HIGH,3)-CLOSE))/(HHV(HIGH,3)-LLV(LOW,3));
涨停:IF((VAR11=0) AND ((HHV(HIGH,3))/(LLV(LOW,3))>1+(15)/(100))
AND ((HHV(HIGH,3))/(LLV(LOW,3))<1+25/100),35,0),LINETHICK1; |