同花顺主力控盘方式源码附图
-
相关简介:个股趋势:=MA(C,1)/MA(REF(C,18),18)*100; 大盘趋势:=MA(INDEXC,1)/MA(REF(INDEXC,18),18)*100; 位置:(个股趋势-大盘趋势),LINETHICK0; STICKLINE(位置=0,2,-2,10,0),COLORC0C0C0; STICKLINE(位置0,2,-2,10,0),COLORFF0000; VAR1:=EMA(EMA(CLOSE,13),13); 控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)
-
文章来源:股海网作者:股海网发布时间:2015-07-01浏览次数:
个股趋势:=MA(C,1)/MA(REF(C,18),18)*100;
大盘趋势:=MA(INDEXC,1)/MA(REF(INDEXC,18),18)*100;
位置:(个股趋势-大盘趋势),LINETHICK0;
STICKLINE(位置>=0,2,-2,10,0),COLORC0C0C0;
STICKLINE(位置<0,2,-2,10,0),COLORFF0000;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,POINTDOT;
STICKLINE(控盘<0,控盘,0,4,0),colorwhite;
无控盘:0,colorwhite;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,1),colorred;
有控盘: 0,colorred;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLOR00FF00;
出货: 0,COLOR00FF00;
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),COLORFF00FF;
高控盘: 0,COLORFF00FF;
A10:=CROSS(控盘,0);
开始控盘:IF(A10,3,0),coloryellow;
AA:=WINNER(CLOSE+CLOSE*15/100)*100;
BB:=WINNER(CLOSE+CLOSE*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
A3:=VOL/WINNER(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
V1:=REF(C,1);
V2:=SMA(MAX(C-V1,0),6,1)/SMA(ABS(C-V1),6,1)*100;
DRAWICON(IF(CROSS(81,V2),1,0),H*1.01,10),coloryellow;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,L*0.99,' 老鼠仓'),coloryellow;
STICKLINE(FF1,H,L,0.5,0),colormagenta;
STICKLINE(FF1,O,C,7,0),colormagenta;