参数:
N 2, 10000, 5
M 2,10000, 20
****************************************************************************************************************************************************************************************
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(1,0.1,0.45.01,0,CJL),COLORYELLOW;
A1W:=CROSS(MA(C,60),C);
A2:=BARSLAST(A1W);
T1:=A2>=5;
T2:=CROSS(C,MA(C,60));
XY:T1 AND T2 AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)),COLORGREEN,LINETHICK9;
STICKLINE((XY),L*0.95,L,2,0),COLORGREEN;
VR:=STDDEV(CLOSE,N)*900,COLORWHITE;
VRMA:=MA(VR,M),LINETHICK3,COLORRED;
VAR2Z:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR2Z,13)-EMA(VAR2Z,73);
SD:=EMA(SK,2);
短线:=CROSS(SK,SD) AND SK<0.05 AND (VOL/MA(VOL,5)>2 OR CLOSE/REF(CLOSE,1)>0.035 AND CLOSE>EMA(CLOSE,17));
STICKLINE(短线,HIGH,LOW,0.5,0),COLORFFFF00;
STICKLINE(短线,OPEN,CLOSE,5,1),LINETHICK2,COLORFFFF00;
涨停:REF(C,1)*1.1,NODRAW,COLORRED;
跌停:REF(C,1)*0.9,NODRAW,COLORGREEN;
成交额:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/10000000,2)<5,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(1,0.01,0.3,0,成交额),COLORGRAY;
现价:=IF(DYNAINFO(7)<2,STRCAT(CON2STR(DYNAINFO(7)<2,60),' '),STRCAT(CON2STR(DYNAINFO(7)<2,0),'1')),COLORGREEN;
{DRAWTEXT_FIX(1,0.750,0.88,0,现价),COLORYELLOW;}
DRAWTEXT_FIX(1,0.01,0.70,0,现价),COLORRED;
VAR1:=IF(CLOSE>OPEN,CLOSE,OPEN);
VAR2:=MEMA(CLOSE,5);
VAR3:=ATAN((VAR2/REF(VAR2,1)-1)*100);
VAR4:=IF(VAR3>0,VAR3,VAR3);
VAR5:=(CLOSE/REF(CLOSE,1)-1)*100;
VAR6:=VAR5<1.5 AND VAR5>-1.5;
今日之升★:LAST(VAR6,4,1) AND VAR5>2 AND VOL>REF(VOL,1),NODRAW,COLORYELLOW;
DRAWTEXT(今日之升★,L/1.01,'★'),COLOR0099FF;
N:=21;M:=55;Q:=3;
回归:=EMA(SLOPE(CLOSE,N)*20+CLOSE,M)*1,COLORMAGENTA,LINETHICK3;
平滑:=EMA(CLOSE,Q),COLORYELLOW,LINETHICK2;
简单差:=平滑-回归;
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),平滑,9);
STICKLINE(C/REF(C,1)>=1.015 ,C,O,3,1),COLORMAGENTA;
V2:=SMA(AMOUNT/V,2,1)/100;
V5:=SMA(V2,5,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
V40:=SMA(V20,5,1);
当日实量:=V,NODRAW;
{DRAWKLINE(V2,REF(V2,1),REF(V2,1),V2);}
DRAWTEXT(CROSS(C,REF(V2,1)*1.02)AND TIME<=0933 AND CROSS(C,REF(V5,1)*1.03),REF(V2,1) ,'↖一'),COLORYELLOW;
工作线:=EMA(CLOSE,14),COLORFFFFFF;
生命线:=EMA(CLOSE,47);
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);
STICKLINE(VAR327>90,L*0.99,L*0.95,2,0),COLORGREEN;
DRAWTEXT(VAR327>90 AND TIME<=0933,LOW*0.55,'↖涨'),COLORYELLOW;
DRAWTEXT(VAR327>90 AND TIME<=0933,LOW*0.75,'↖定'),COLORYELLOW;
VASS1:=HHV(H,20);
VASS2:=LLV(L,20);
VASS3:=REF((VASS1/VASS2-1)*100<=30,1);
AHC1:=CLOSE*VOL;
AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
通道:=1.0668*AHC22;
起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.005 AND C>O*0.5;
VARR1:=V;
VARR2:=VARR1>MA(V,89);
VARR3:=EXPMA(C,5);
VARR4:=EXPMA(C,29);
VARR5:=VARR3>VARR4;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),56,1)/SMA(ABS(CLOSE-LC),56,1)*100;
VARR6:=RSI1>RSI2 AND VARR5 AND VARR2 AND C>REF(HHV(H,40),1);
DRAWTEXT(起爆 AND TIME<=0933 AND VARR6 AND VASS3,L*0.35,'↖停'),COLORYELLOW;
{上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
DRAWTEXT( CROSS(上线,下线),HIGH *0.15,'SHIT!!!' ),COLORWHITE;}
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW *0.35),'↖SHIT'),COLORMAGENTA;
F1:=ZIG(3,15);
F2:=IF((F1> REF(F1,1)),100,80);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
MA势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100;
势:=EMA(MA势,5),COLORLIRED,DOTLINE;
QZ:=IF(势<=45,势,DRAWNULL),COLORGREEN;
趋势:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
ZZ:=趋势>REF(趋势,1);
K1:=DVOL/1000000;
K2:=DCLOSE;
V1:=EMA(K1,5);
V2Z:=EMA(K2,5);
价异动:=K2>REF(V2Z,1)*1.06;
量异动:=K1>REF(V1,1)*1.6&&ZZ;
停牌:=DYNAINFO(17)>0;
M1:=SUM(价异动,2)>0 AND 停牌;
M2:=SUM(量异动,2)>0 AND REF(趋势,1)<89;
{共鸣:(F2=100 AND C>REF(C,1) AND FILTER(M1,3))*9,COLORWHITE,LINETHICK9;};
H11:=EMA(DCLOSE,5);
A1Z:=LLV(DCLOSE,5);
L11:=LLV(L,10);
敢死队操作线:=MA(C,24),LINETHICK2,COLORLIMAGENTA;
操作线2:=MA(C,26),LINETHICK1,COLORLICYAN;
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XGG:=CROSS(爆发点,20) OR CROSS(爆发点,18);
L3:=IF(XGG,O,L11*0.999),COLORYELLOW;
STICKLINE(XGG,L3,L3,100,1);
DRAWTEXT(XGG,L3,'爆爆爆爆爆爆爆爆爆爆爆'),COLOR0099FF;