通達信【多頭買入】副圖選股指標源碼-支持手機電腦
{副圖指標源碼}
GSKZ:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(GSKZ,9);
MACD:=2*(GSKZ-DEA);
GS1:=REF(MACD,1) REF(MACD,2) AND REF(MACD,2) REF(MACD,3) AND REF(MACD,3) REF(MACD,4);
GS2:=MACD =0 AND COUNT(MACD REF(MACD,1),1)=1;
GS3:=EMA(C,30) =REF(EMA(C,30),1) AND COUNT(EMA(C,5) EMA(C,10) AND EMA(C,10) EMA(C,30),1)=1;
GS4:=CROSS(C,EMA(C,30)) OR C EMA(C,30);
GS5:=GS1 AND GS2 AND GS3 AND GS4;
GS6:=GS1 AND GS2 AND GS3 AND GS4 AND ABS((GSKZ-DEA)/C) 0.018;
GS7:=GS1 AND GS2 AND GS3 AND GS4 AND MACD 0.10;
買進:GS5 OR GS6 OR GS7,COLORRED;
DRAWTEXT(買進,0.5, ↖買進 ),COLORYELLOW;
漲停家數: 880006$C ,COLORRED,NODRAW;
跌停家數: 880006$O ,COLORGREEN,NODRAW;
上漲家數:INDEXADV,COLOR0080FF,NODRAW;
下跌家數:INDEXDEC,COLORGREEN,NODRAW;
STICKLINE(買進, 0,2, 3, 0),COLORLIMAGENTA;
STICKLINE(買進, 0,1, 3, 0),COLORGREEN;
DRAWICON(買進,6.7,1);
DRAWSL(買進 AND C O,3.5,0,30,0),COLORMAGENTA;公:DRAWNULL,COLORCCCCCC;衆:DRAWNULL,COLORCCCCCC;號:DRAWNULL,COLORCCCCCC;股市客棧:DRAWNULL,COLORCCCCCC;
{選股指標源碼}
STICKLINE(買進, 0,2, 3, 0),COLORLIMAGENTA;
STICKLINE(買進, 0,1, 3, 0),COLORGREEN;
DRAWICON(買進,6.7,1);
DRAWSL(買進 AND C O,3.5,0,30,0),COLORMAGENTA;
GSKZ:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(GSKZ,9);
MACD:=2*(GSKZ-DEA);
GS1:=REF(MACD,1) REF(MACD,2) AND REF(MACD,2) REF(MACD,3) AND REF(MACD,3) REF(MACD,4);
GS2:=MACD =0 AND COUNT(MACD REF(MACD,1),1)=1;
GS3:=EMA(C,30) =REF(EMA(C,30),1) AND COUNT(EMA(C,5) EMA(C,10) AND EMA(C,10) EMA(C,30),1)=1;
GS4:=CROSS(C,EMA(C,30)) OR C EMA(C,30);
GS5:=GS1 AND GS2 AND GS3 AND GS4;
GS6:=GS1 AND GS2 AND GS3 AND GS4 AND ABS((GSKZ-DEA)/C) 0.018;
GS7:=GS1 AND GS2 AND GS3 AND GS4 AND MACD 0.10;
買進:GS5 OR GS6 OR GS7;
0條評論