通达信操盘线牛熊线主图指标 源码
BB:=CLOSE>MA(CLOSE,18) AND CLOSE/MA(CLOSE,18)>1.003 AND MA(CLOSE,18)>REF(MA(CLOSE,18),1) AND MA(CLOSE,18)-REF(MA(CLOSE,18),1)>0.003 OR (CROSS(CLOSE,MA(CLOSE,18)) AND CLOSE/REF(CLOSE,1)>=1.0994);
SS:=CLOSE<MA(CLOSE,18) AND CLOSE<=OPEN AND MA(CLOSE,18)<REF(MA(CLOSE,18),1) AND REF(MA(CLOSE,18),1)-MA(CLOSE,18)>0.006 OR (CROSS(MA(CLOSE,18),CLOSE) AND MA(CLOSE,18)-CLOSE>0.01 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>=0.0994);
操盘线:MA(CLOSE,18),COLORWHITE;
牛股线:MA(CLOSE,65),COLORMAGENTA,LINETHICK2;
MM:=TFILTER(BB,SS,0);
TDXSTEP108:DRAWICON(FILTER(MM=1,3),LOW*0.985,1);
TDXSTEP109:DRAWICON(FILTER(MM=2,3),HIGH*1.015,2);
BY:=TFILTER(BB,SS,1);
MC:=TFILTER(SS,BB,1);
T1:=BARSLAST(BY);
T2:=BARSLAST(MC);
SC:=T1-T2;
TDXSTEP110:STICKLINE(CLOSE>OPEN,LOW,HIGH,0,0),COLORGREEN;
TDXSTEP111:STICKLINE(CLOSE>OPEN,OPEN,CLOSE,2,1),COLORGREEN;
TDXSTEP112:STICKLINE(CLOSE<OPEN,OPEN,CLOSE,2,0),COLORGREEN;
TDXSTEP113:STICKLINE(T2>0 AND SC<0,HIGH,LOW,0,0),COLORRED;
TDXSTEP114:STICKLINE(T2>0 AND SC<0,OPEN,CLOSE,2.5,1),COLORRED;
TDXSTEP115:STICKLINE(T2>0 AND SC<0 AND OPEN>CLOSE,OPEN,CLOSE,2.5,0),COLORRED;好股票软件下载网(www.goodgupiao.com)提示:您正在下载的是:通达信操盘线牛熊线主图指标 源码
BB:=CLOSE>MA(CLOSE,18) AND CLOSE/MA(CLOSE,18)>1.003 AND MA(CLOSE,18)>REF(MA(CLOSE,18),1) AND MA(CLOSE,18)-REF(MA(CLOSE,18),1)>0.003 OR (CROSS(CLOSE,MA(CLOSE,18)) AND CLOSE/REF(CLOSE,1)>=1.0994);
SS:=CLOSE<MA(CLOSE,18) AND CLOSE<=OPEN AND MA(CLOSE,18)<REF(MA(CLOSE,18),1) AND REF(MA(CLOSE,18),1)-MA(CLOSE,18)>0.006 OR (CROSS(MA(CLOSE,18),CLOSE) AND MA(CLOSE,18)-CLOSE>0.01 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>=0.0994);
操盘线:MA(CLOSE,18),COLORWHITE;
牛股线:MA(CLOSE,65),COLORMAGENTA,LINETHICK2;
MM:=TFILTER(BB,SS,0);
TDXSTEP108:DRAWICON(FILTER(MM=1,3),LOW*0.985,1);
TDXSTEP109:DRAWICON(FILTER(MM=2,3),HIGH*1.015,2);
BY:=TFILTER(BB,SS,1);
MC:=TFILTER(SS,BB,1);
T1:=BARSLAST(BY);
T2:=BARSLAST(MC);
SC:=T1-T2;
TDXSTEP110:STICKLINE(CLOSE>OPEN,LOW,HIGH,0,0),COLORGREEN;
TDXSTEP111:STICKLINE(CLOSE>OPEN,OPEN,CLOSE,2,1),COLORGREEN;
TDXSTEP112:STICKLINE(CLOSE<OPEN,OPEN,CLOSE,2,0),COLORGREEN;
TDXSTEP113:STICKLINE(T2>0 AND SC<0,HIGH,LOW,0,0),COLORRED;
TDXSTEP114:STICKLINE(T2>0 AND SC<0,OPEN,CLOSE,2.5,1),COLORRED;
TDXSTEP115:STICKLINE(T2>0 AND SC<0 AND OPEN>CLOSE,OPEN,CLOSE,2.5,0),COLORRED;好股票软件下载网(www.goodgupiao.com)提示:您正在下载的是:通达信操盘线牛熊线主图指标 源码
BB:=CLOSE>MA(CLOSE,18) AND CLOSE/MA(CLOSE,18)>1.003 AND MA(CLOSE,18)>REF(MA(CLOSE,18),1) AND MA(CLOSE,18)-REF(MA(CLOSE,18),1)>0.003 OR (CROSS(CLOSE,MA(CLOSE,18)) AND CLOSE/REF(CLOSE,1)>=1.0994);
SS:=CLOSE<MA(CLOSE,18) AND CLOSE<=OPEN AND MA(CLOSE,18)<REF(MA(CLOSE,18),1) AND REF(MA(CLOSE,18),1)-MA(CLOSE,18)>0.006 OR (CROSS(MA(CLOSE,18),CLOSE) AND MA(CLOSE,18)-CLOSE>0.01 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>=0.0994);
操盘线:MA(CLOSE,18),COLORWHITE;
牛股线:MA(CLOSE,65),COLORMAGENTA,LINETHICK2;
MM:=TFILTER(BB,SS,0);
TDXSTEP108:DRAWICON(FILTER(MM=1,3),LOW*0.985,1);
TDXSTEP109:DRAWICON(FILTER(MM=2,3),HIGH*1.015,2);
BY:=TFILTER(BB,SS,1);
MC:=TFILTER(SS,BB,1);
T1:=BARSLAST(BY);
T2:=BARSLAST(MC);
SC:=T1-T2;
TDXSTEP110:STICKLINE(CLOSE>OPEN,LOW,HIGH,0,0),COLORGREEN;
TDXSTEP111:STICKLINE(CLOSE>OPEN,OPEN,CLOSE,2,1),COLORGREEN;
TDXSTEP112:STICKLINE(CLOSE<OPEN,OPEN,CLOSE,2,0),COLORGREEN;
TDXSTEP113:STICKLINE(T2>0 AND SC<0,HIGH,LOW,0,0),COLORRED;
TDXSTEP114:STICKLINE(T2>0 AND SC<0,OPEN,CLOSE,2.5,1),COLORRED;
TDXSTEP115:STICKLINE(T2>0 AND SC<0 AND OPEN>CLOSE,OPEN,CLOSE,2.5,0),COLORRED;