稳赢:IF(MAA10 MAA30,MAA10,MAA30),COLORYELLOW;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8 0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW*0.99,'进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
A:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
A0:=(AH-AL)/40;
B1:=L-A0;
STICKLINE((A+0)/34=FLOOR((A+0)/34),B1,B1-1.5*A0,3,0),COLORF00FF0;
DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B1-1*A0,'时间窗'),COLORWHITE;
ZZ:=(HHV(H,3)+LLV(L,3))/2;
A00:=IF(C ZZ,VOL,0);
B:=IF(C ZZ,VOL,0);
总0:=(A00-B);
HBBD:=EMA(总0,3)/SUM(VOL,5)*100,LINETHICK;
BBD:=HBBD;
BBD1:=REF(BBD,1) 0 AND BBD REF(BBD,1) AND BBD
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6);
LDW:=YUWEI 0 AND YUWEI REF(YUWEI,1) AND REF(YUWEI,1)
XG:=BBD1 AND LDW;
N1:=6;
N2:=12;
LC:=REF(CLOSE,1);
RSI11:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RS1:=CROSS(RSI1,RSI2);
RS2:=CROSS(RSI1,50);
RS3:=CROSS(RSI2,50);
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
UA:=X2;
UB:=X1;
DR:=CROSS(UA,UB);
DRAWTEXT(RS2 AND FILTER(买=1,5) AND XG AND DR,LOW*0.95,'牛'),COLORRED;
DRAWTEXT(XG AND DR,LOW*0.90,'买'),COLORGREEN;
ZLCM:=EMA((WINNER(CLOSE) * 70),3);
SHCM:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);
主力控盘:=((ZLCM / (ZLCM + SHCM)) * 100);
AA:=主力控盘 50 AND REF(主力控盘,1)
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
A10:=CROSS(控盘,0);
无庄控盘:=IF(控盘 0,控盘,0);
开始控盘:=IF(A10,5,0);
有庄控盘:=IF(控盘 REF(控盘,1) AND 控盘 0,控盘,0);
VAR2:=100*WINNER(CLOSE*0.95);
BB:=VAR2 50 AND COST(85) CLOSE AND 控盘
DRAWTEXT(AA AND BB,LOW*0.85,'起'),COLORFF00FF;
X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;
魔鬼:=DRAWLINE(X =HHV(X,N1),X,X =LLV(X,N1),X,1),COLOR00FF00;
魔王:=DRAWLINE(X =HHV(X,N1),X,X =LLV(X,N1),1,X),COLOR00FF00;
TJ0:=X=魔王;
TJ1:=X=魔鬼;
TJ2:=X REF(X,1);
TJ3:=X REF(1,X);
JRS1:=DRAWICON(TJ1
AND TJ2,X,1);
JRS2:=DRAWICON(TJ0 AND
TJ3,X,2);
DRAWICON(FILTER(JRS1 0,1),L*0.97,5);
DRAWICON(FILTER(JRS2 0,1),H*1.02,3);
TTJ:=BARSLAST((VOL=HHV(VOL,20)));
K0:=TTJ=0;
K1:=SUMBARS(K0,1);
量能平台:STICKLINE(K1 =30,REF(C,K1-1)*1.002,REF(C,K1-1),8,0),COLORRED;