通達(dá)信機(jī)構(gòu)意愿選股公式
換手:=V*100/CAPITAL;
主力:=MA(換手,4); 大戶:=MA(換手,9); 中戶:=MA(換手,17); 散戶:=MA(換手,34); 均量:=(主力+大戶+中戶+散戶)/4; 主力能量:=(主力-均量); 大戶能量:=(大戶-均量); 中戶能量:=(中戶-均量); 散戶能量:=(散戶-均量); 當(dāng)日意愿:=(ABS(主力能量)+ABS(大戶能量)+ABS(中戶能量)+ABS(散戶能量))*10; VAR1:=(C-MA(C,6))/MA(C,6)*100; VAR2:=(C-MA(C,24))/MA(C,24)*100; VAR3:=(C-MA(C,32))/MA(C,32)*100; VAR4:=(VAR1+VAR2+VAR3)/3; VAR5:=EMA(VAR4,5); VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20; VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1); VAR8:=VAR7<REF(VAR7,1) AND V>REF(V,1) AND C>REF(C,1); K:=EMA(VAR5,5)*4; D:=EMA(K,5); J:=K*3-D*2; 機(jī)構(gòu)意愿:主力能量,NODRAW; 游資意愿:大戶能量,NODRAW; 大戶意愿:中戶能量,NODRAW; 散戶意愿:散戶能量,NODRAW; 市場(chǎng)意愿:LLV(VAR6,3)<VAR6,NODRAW; 主流意愿:J>D,NODRAW; 空方意愿:VAR8>0,NODRAW;
STICKLINE(CLOSE,0,100,4,1),COLORWHITE; STICKLINE(CLOSE,0,75,4,1),COLORWHITE; STICKLINE(CLOSE,0,50,4,1),COLORWHITE; STICKLINE(CLOSE,0,25,4,1),COLORWHITE; STICKLINE(CLOSE,-25,-100,4,1),COLORWHITE; STICKLINE(CLOSE,-25,-75,4,1),COLORWHITE; STICKLINE(CLOSE,-25,-50,4,1),COLORWHITE;
STICKLINE(散戶能量>=0,5,20,3,0),COLOR0000AA; STICKLINE(散戶能量>=0,5,20,2,0),COLOR0000CC; STICKLINE(散戶能量>=0,5,20,1,0),COLOR0000DD;
STICKLINE(散戶能量<0,5,20,3,0),COLOR007B00; STICKLINE(散戶能量<0,5,20,2,0),COLOR009000; STICKLINE(散戶能量<0,5,20,1,0),COLOR00A800;
STICKLINE(中戶能量>=0,30,45,3,0),COLOR0000AA; STICKLINE(中戶能量>=0,30,45,2,0),COLOR0000CC; STICKLINE(中戶能量>=0,30,45,1,0),COLOR0000DD;
STICKLINE(中戶能量<0,30,45,3,0),COLOR007B00; STICKLINE(中戶能量<0,30,45,2,0),COLOR009000; STICKLINE(中戶能量<0,30,45,1,0),COLOR00A800;
STICKLINE(大戶能量>=0,55,70,3,0),COLOR0000AA; STICKLINE(大戶能量>=0,55,70,2,0),COLOR0000CC; STICKLINE(大戶能量>=0,55,70,1,0),COLOR0000DD;
STICKLINE(大戶能量<0,55,70,3,0),COLOR007B00; STICKLINE(大戶能量<0,55,70,2,0),COLOR009000; STICKLINE(大戶能量<0,55,70,1,0),COLOR00A800;
STICKLINE(主力能量>=0,80,95,3,0),COLOR0000AA; STICKLINE(主力能量>=0,80,95,2,0),COLOR0000CC; STICKLINE(主力能量>=0,80,95,1,0),COLOR0000DD;
STICKLINE(主力能量<0,80,95,3,0),COLOR007B00; STICKLINE(主力能量<0,80,95,2,0),COLOR009000; STICKLINE(主力能量<0,80,95,1,0),COLOR00A800;
STICKLINE(VAR6=LLV(VAR6,3),-80,-95,3,0),COLORGREEN; STICKLINE(LLV(VAR6,3)<VAR6,-80,-95,3,0),COLORRED; STICKLINE(J<D,-55,-70,3,0),COLORCYAN; STICKLINE(J>D,-55,-70,3,0),COLORMAGENTA; STICKLINE(VAR8=0,-30,-45,3,0),COLOR6B8E23; STICKLINE(VAR8>0,-30,-45,3,0),COLORYELLOW;
|