N:9;
M:35;
R1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100-70;
R2:=SMA(R1,N,1)+100;
R3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
R4:=SMA(R3,3,1);
R5:=SMA(R4,3,1)+100;
R6:=R5-R2;
短线操盘1:IF(R6>0,R6,0),COLORYELLOW,POINTDOT;
STICKLINE(REF(短线操盘1,1)<短线操盘1,短线操盘1,REF(短线操盘1,1),1,1),COLORRED,LINETHICK3; ;
STICKLINE(REF(短线操盘1,1)>短线操盘1,短线操盘1,REF(短线操盘1,1),1,1),COLOR00FF00,LINETHICK3;
短线天使:CROSS(短线操盘1,M)*50;
量价:=(VOL/CLOSE)/3;
统计主动买量:=SUM((IF(((量价 > 0.20) AND (CLOSE > (REF(CLOSE,1)))),量价,0)),0);
统计主动卖量:=SUM((IF(((量价 > 0.20) AND (CLOSE < (REF(CLOSE,1)))),量价,0)),0);
涨停能量:=((统计主动买量)/统计主动卖量)*10;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,9,1);
VAR3:=SMA(VAR2,9,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=CROSS(VAR4,95);
VAR6:=EMA(CLOSE,12)-EMA(CLOSE,150);
VAR7:=EMA(VAR6,9);
探底:(VAR6-VAR7)*2,NODRAW;
VAR8:=探底 < 0 AND 探底 > REF(探底,1) AND REF(探底,1) < REF(探底,2) AND REF(探底,2) < REF(探底,3) AND REF(探底,3) < REF(探底,4) AND VAR4 < 30;
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,-5,VAR9T))+0;
趋势线:VAR4,DOTLINE,COLORWHITE;
仓位控制:ROUND(10-VAR4/10),NODRAW;
DRAWICON(VAR5,100,15);
底部启动:0,COLORYELLOW;
DRAWICON(VAR8,5,34);
风险区:90,DOTLINE,COLORBLUE;
DRAWBAND(预警系统,RGB(10,100,10),0,RGB(100,10,0));