N1:=6;N2:=60;D:=3;S:=30;M:=30;
LC:=REF(CLOSE,1);
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;
W1:=V*100/CAPITAL;
W1>REF(W1,1);
W2:=DYNAINFO(23)-DYNAINFO(22);
W2>REF(W2,1);
BU:=CROSS(RSI1,RSI2);
BU1:=RSI2>50;
BU2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*1000/5;
BU2>REF(RSI2,1);
STICKLINE(BU,OPEN,CLOSE,3.2,0),COLORYELLOW;
DRAWICON(CROSS(RSI1,RSI2),RSI1,1);
SM:=(OPEN+HIGH+CLOSE+LOW)/4;
SMID:=MA(SM,D);
IM:=(INDEXO+INDEXH+INDEXL+INDEXC)/4;
IMID:=MA(IM,D);
SI1:=(SMID-REF(SMID,1))/SMID;
II:=(IMID-REF(IMID,1))/IMID;
RADER1:SUM((SI1-II)*2,S)*100;
RADERMA:=SMA(RADER1,M,1);
{ 爱约股_最新股票指标公式}
XG:W1>REF(W1,1) AND REF(W2,1) AND REF(RSI2,1) AND BU AND BU1 ;
VAR01:=(HIGH+LOW+CLOSE)/3;
VAR02:=(VAR01-MA(VAR01,14))/(0.015*AVEDEV(VAR01,14));
BB: EMA(VAR02,2);
VAR03:=MA(VOL,5);
VAR04:=MA(VOL,10);
VAR05:=MA(VOL,60);
VAR06:=MA(CLOSE,5);
VAR07:=MA(CLOSE,8);
VAR08:=MA(CLOSE,25);
VAR09:=MA(CLOSE,60);
VARA0:=CROSS(VAR02,BB) AND VAR02>80 AND VOL>VAR03 AND VOL>VAR04 AND VOL>VAR05 AND VAR06>VAR09 AND VAR07>VAR09 AND VAR08>VAR09 AND OPEN<VAR06 AND CLOSE>VAR06;
DRAWTEXT(VARA0,120,' 爆发拉升!'), , COLORYELLOW;
STICKLINE(VARA0,130,-100,1,0), , COLORRED;
底部:=CROSS(BB,-100);
DRAWICON(底部,-100,1);