M2:=EMA(C,2);
M18:=EMA(C,18);
Q:=EMA(VOL,13);
Y:=EMA(AMOUNT,13);
S:=((Y /Q) / 100);
X:=(((CLOSE -S) / S) * 100);
F:=((X < (0)) AND ZXNH);
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
XQ:=F AND RSVV<VARB2-2;
买:=IF(CROSS(M18,M2),5,0* 10000),COLORFF00FF,LINETHICK2;
持股线:EMA(C,7),COLOR9F5F9F,LINETHICK2;
多空线: EMA(C,14),COLORGREEN,LINETHICK2;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
收阴买:=买 AND XQ ,STICK,COLORYELLOW,LINETHICK3;
DRAWTEXT(收阴买,L*0.98,'←快买'),COLORYELLOW;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
STICKLINE(持股线>多空线 AND 持股线>=REF(持股线,
1) AND 多空线>REF(多空线,1),持股线,多空线,0.3,0),COLORRED;
STICKLINE(持股线>多空线 AND 持股线<REF(持股线,
1) AND 多空线>=REF(多空线,1),持股线,多空线,0.3,0),COLORRED;
STICKLINE(持股线<多空线 AND 持股线<=REF(持股线,
1) AND 多空线<REF(多空线,1),持股线,多空线,0.3,0),COLORYELLOW;
STICKLINE(持股线<多空线 AND 持股线<=REF(持股线,
1) AND 多空线<REF(多空线,1),持股线,多空线,0.3,0),COLORYELLOW;
A:=MAX(MA(C,60),MA(C,120));
E:=MAX(MA(C,45),MA(C,90));
J:=MAX(MA(C,30),MA(C,60));
生命线:=(MA(C,25));
牛线1:=(MA(C,40));
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
趋势:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
年线:=EMA(C,250);
黄金线:EMA(C,55),COLORFA05FF,LINETHICK2;
IF(黄金线>=REF( 黄金线,1),黄金线,DRAWNULL),COLORFA05FF,LINETHICK2;
IF(黄金线<REF (黄金线,1), 黄金线,DRAWNULL),COLOR399C7F,LINETHICK2;
LA:=趋势-(EMA(C,3)-趋势);
反线:=EMA((年线-(EMA(C,3)-年线)),5);
追涨:=EMA(COST(81),10);
YC5:=PPART(5)*100;
YC100:=PPART(100)*100;
C85:=COST(85);
C15:=COST(15);
B1:=C85-C15;
B2:=(C85+C15)/2;
牛熊线:=EMA(COST(27),120),DOTLINE;
做空68:= HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5);
平衡点:= LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3);
XG:=CROSS(做空68,牛熊线);
B3:=B1/B2*100<15 AND YC5>90 AND YC100<15;
ZF:=RANGE((C-REF(C,1))/REF(C,1)*100,-3,3) AND M5>=REF(M5,1);
XG1:=EVERY(ZF,3) AND M10>=M20 AND B3 AND M5>M60 AND ASR>80;
WWWGUPANGCOM:=EMA(CLOSE,9)-EMA(CLOSE,2*9+2),NODRAW;
STICKLINE(CROSS(XG1,0.5),C,O,1.8,0),COLORLIMAGENTA;
STICKLINE(CROSS(XG1,0.5),H,L,0,0),COLORLIMAGENTA;
DRAWTEXT(CROSS(XG1,0.5),L*0.98,'←抢筹'),COLORYELLOW;