钱钱炒股训练软件logo


通达信AI机构持仓副图指标 超牛资金共振大涨 源码分享 附图

DIF:=EMA(CLOSE,13)-EMA(CLOSE,28),NODRAW;
DEA:=EMA(DIF,8),NODRAW;
MACD:(DIF-DEA)*5,NODRAW;
AI机构持仓:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
指标公式:=SMA(AI机构持仓,3,1);
通达信:=SMA(指标公式,3,1);
VSEWW12:=SMA(通达信,3,1);
STICKLINE((MACD > 0),0,MACD,3.2,0),COLOR000033;
STICKLINE((MACD > 0),0,MACD,2.7,0),COLOR000066;
STICKLINE((MACD > 0),0,MACD,2.1,0),COLOR000099;
STICKLINE((MACD > 0),0,MACD,1.5,0),COLOR0000CC;
STICKLINE((MACD > 0),0,MACD,0.9,0),COLOR0000FF;
STICKLINE((MACD > 0),0,MACD,0.3,0),COLORCC66FF;
STICKLINE((MACD <= 0),0,MACD,3,2),COLOR990000;
STICKLINE((MACD <= 0),0,MACD,2.7,0),COLORCC0000;
STICKLINE((MACD <= 0),0,MACD,2.1,0),COLORFF4400;
STICKLINE((MACD <= 0),0,MACD,1.5,0),COLORFF8800;
STICKLINE((MACD <= 0),0,MACD,0.9,0),COLORFFCC00;
STICKLINE((MACD <= 0),0,MACD,0.3,0),COLORCYAN;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,3,2),COLOR990000;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,2.7,0),COLORCC0000;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,2.1,0),COLORFF4400;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,1.5,0),COLORFF8800;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,0.9,0),COLORFFCC00;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,0.3,0),COLORCYAN;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,3.2,0),COLOR000033;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,2.7,0),COLOR000066;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,2.1,0),COLOR000099;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,1.5,0),COLOR0000CC;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,0.9,0),COLOR0000FF;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,0.3,0),COLORCC66FF;
SSXDD1:=DMA((((H+L) + (C*2)) / 4),0.9);
SSXDD2:=REF(EMA(SSXDD1,3),1);
SSXDD3:(MA((C-SSXDD2)*10,2))*0.1,NODRAW;
SSXDD4:=V*100/CAPITAL;
SSXDD5:=MA(SSXDD4,4);
SSXDD6:=MA(SSXDD4,9);
SSXDD7:=MA(SSXDD4,17);
SSXDD8:=MA(SSXDD4,34);
SSXDD9:=(SSXDD5+SSXDD6+SSXDD7+SSXDD8)/4;
VSEWWW1:(SSXDD5-SSXDD9)COLORMAGENTA,NODRAW;
VSEWWW2:(SSXDD6-SSXDD9)COLORYELLOW,NODRAW;
VSEWWW3:(SSXDD7-SSXDD9)COLORLIBLUE,NODRAW;
VSEWWW4:(SSXDD8-SSXDD9)COLORBLUE,NODRAW;
VSEWWW5:STICKLINE(VSEWWW1>=0 AND VSEWWW1>=REF(VSEWWW1,1),5,5+VSEWWW1,1.5,0),COLORRED;
VSEWWW6:STICKLINE(VSEWWW1>=0 AND VSEWWW1< REF(VSEWWW1,1),5,5+VSEWWW1,1.5,0),COLORYELLOW;
VSEWWW7:STICKLINE(VSEWWW1<0 AND VSEWWW1>=REF(VSEWWW1,1),5,5+VSEWWW1,1.5,0),COLORGREEN;
VSEWWW8:STICKLINE(VSEWWW1<0 AND VSEWWW1< REF(VSEWWW1,1),5,5+VSEWWW1,1.5,0),COLORGREEN;
VSEWWW54:STICKLINE(SSXDD3>=0 AND SSXDD3>=REF(SSXDD3,1),10,10+SSXDD3,1.5,0),COLORRED;
VSEWWW64:STICKLINE(SSXDD3>=0 AND SSXDD3< REF(SSXDD3,1),10,10+SSXDD3,1.5,0),COLORRED;
VSEWWW74:STICKLINE(SSXDD3<0 AND SSXDD3>=REF(SSXDD3,1),10,10+SSXDD3,1.5,0),COLORGREEN;
VSEWWW84:STICKLINE(SSXDD3<0 AND SSXDD3< REF(SSXDD3,1),10,10+SSXDD3,1.5,0),COLORGREEN;