TYP:=(HIGH+LOW+CLOSE)/3;
快手:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
浪:EMA(快手,5),RGB(0,128,128);
波:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),RGB(0,255,0),LINETHICK2;
DRAWCOLORLINE(快手>REF(快手,1),快手,RGB(255,0,128),RGB(0,128,255)),LINETHICK1;
{短线精灵}
主力资金线:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
VAR2LL:=HHV(主力资金线>20,10);
VAR1T:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2T:=2*ABS(VAR1T);
VAR5T:=(HIGH+LOW+CLOSE)/3;
VAR6T:=(VAR5T-MA(VAR5T,14))/(0.015*AVEDEV(VAR5T,14));
VAR7T:=(VAR5T-MA(VAR5T,70))/(0.015*AVEDEV(VAR5T,70));
VAR8T:=IF(VAR6T>=150 AND VAR6T<200 and="" var7t="">=150 AND VAR7T<200,10,0);
VAR9T:=IF(VAR6T<=-150 and="" var6t="">-200 AND VAR7T<=-150 and="" var7t="">-200,-10,VAR8T);
VARAT:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VARBT:=100-ABS(VARAT);
预警系统:=IF(VAR7T>=200 AND VAR6T>=150,100,IF(VAR7T<=-200 AND VAR6T<=-150,-100,VAR9T))+0;
//DRAWBAND(预警系统,RGB(10,100,10),0,RGB(100,10,0));
天线:=IF(VARBT<90,VARBT,60);
红军:=IF(VAR1T>0,VAR1T,0),COLORRED;
VAR24:=红军>48 AND 预警系统>60 AND 天线<100;
//DRAWICON(COUNT(CROSS(2,预警系统),15)>=1 AND CROSS(100,CCI14),100,2);
//DRAWICON(COUNT(CROSS(预警系统,-2),15)>=1 AND CROSS(CCI14,0),-100,1);
天界:100,RGB(0,255,255),DOT;
界:0,DOT,RGB(255,255,255);
地界1:-100,RGB(255,128,0),DOT;
350,RGB(0,128,255);
220,RGB(0,128,255),POINTDOT;
-220,RGB(255,255,0),POINTDOT;
-350,RGB(255,255,0);