VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8){公众号:程序化指标源码,应有尽有};
底部吸筹:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, COLOR00FF00;
STICKLINE(CROSS(底部吸筹,-24),90,100,6,0), LINETHICK4,COLORFFFFFF;
DRAWTEXT(CROSS(底部吸筹,-24),100,'-准备拉升'),COLORFFFFFF;
准备拉升: IF(CROSS(底部吸筹,-24),100,0), POINTDOT,COLORFFFFFF;
VAR31:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
VAR32:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
VAR33:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
VAR34:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
VAR11:=BARSLAST(CROSS(30,VAR31))<2 AND BARSLAST(CROSS(VAR31,50))<2;
VAR12:=BARSLAST(CROSS(VAR34,VAR31))<2 AND VAR31>VAR34;
VAR13:=VAR31>60 AND VAR34>70;
DRAWTEXT(VAR11 AND VAR12 AND VAR13,70,'-关注');
VAR21:=BARSLAST(CROSS(50,VAR31))<3 AND BARSLAST(CROSS(VAR31,50))<3;
VAR22:=BARSLAST(CROSS(VAR34,VAR31))<2 AND VAR31>VAR34;
DRAWTEXT(VAR21 AND VAR22,55,'-波段');
T1:=VAR21;
T2:=VAR22;
T3:=VAR11;
T4:=VAR12;
T5:=VAR13;
STICKLINE(T3 AND T4 AND T5,77,66,3,0),COLORWHITE;
波段: IF(T1 AND T2,50,0),COLORGREEN,POINTDOT;
关注: IF(T3 AND T4 AND T5,50,0),COLORBLUE,POINTDOT;
STICKLINE(T2 AND T1,66,55,3,0),COLORWHITE;
XG:=BARSLAST(CROSS(VAR34,VAR31))<5 AND VAR31>VAR34;
DRAWTEXT(COUNT(XG,3)=1 AND XG AND C>MA(C,20),40,'-启动'),COLORRED;
启动:=IF(COUNT(XG,3)=1 AND XG AND C>MA(C,20),50,0);
STICKLINE(启动,10,30,3,0),COLORRED;
指标线:40,POINTDOT,COLORRED;