通達信精選指標——主力控籌副圖+附圖源碼指標VAR2:=MA(CLOSE,60); VAR3:=MA(CLOSE,2); VAR6:=100*(WINNER(VAR2*1.1)-WINNER(VAR2*0.9)); VAR7:=100*(WINNER(VAR2*1.1)-WINNER(VAR3*0.85)); 主力動向:=IF((VAR6-VAR7)*2>0,(VAR6-VAR7)*2,0); 主力控籌:=IF((0.1-WINNER(C/1.1))*100<0,(0.1-WINNER(C/1.1))*100,0); 生命線:=100*WINNER(CLOSE); 頂線:=ABS((COST(50)-CLOSE)/CLOSE*100); 莊籌:(WINNER(C)-WINNER(C*0.2))*100,COLORFFFFFF; 70,DOTLINE; STICKLINE(主力控籌,70,70-主力控籌,1.1,1),COLORYELLOW; 操作線:=SMA(生命線,3,1); 黃金窩:IF(頂線>操作線,-頂線,0),COLORGREEN,DOTLINE; STICKLINE(主力動向,黃金窩,黃金窩+主力動向,1.2,0),COLORRED; STICKLINE(頂線>操作線,主力動向,主力動向+莊籌,1.2,0),COLOR0000FF;
|