用法:出現(xiàn)在有莊可以介入,出現(xiàn)賣指示,可以賣掉,一般漲停的就算了,沒有漲停的出現(xiàn)賣指標95%都會在當天的高位上。 VAR1:=EMA(EMA(CLOSE,13),13); 控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盤<0,控盤,0,1,1),COLOR00FF00; STICKLINE(控盤>REF(控盤,1) AND 控盤<0,控盤,0,1,1),COLORFF00FF; 無莊控盤:=控盤<0; STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,1),COLOR0000FF; 有莊控盤:=控盤>REF(控盤,1) AND 控盤>0; VAR2:=100*WINNER(CLOSE*0.95); STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,1,1),COLORFFFF00; 主力出貨:=控盤<REF(控盤,1) AND 控盤>0; STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,1,1),COLOR00FFFF; 高度控盤: VAR2>50 AND COST(85)<CLOSE AND 控盤>0,COLOR00FFFF,LINETHICK2; A10:=CROSS(控盤,0); 控盤B:=FILTER(IF(A10,1,0),5); {分時價格原碼} JJ:=DYNAINFO(11); {波段買賣原碼} P:=55;S:=8;M1:=3; 財:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2; 神:=EMA(財,M1),COLORGREEN,LINETHICK1; DRAWBAND(財,RGB(255,0,0),神,RGB(0,100,50)); {股價與均線偏離買賣條件} BTJ1:=(C-JJ)/JJ<-0.03; BTJ11:=(C-JJ)/JJ<-0.03; BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005; {控盤買賣條件} STJ01:=控盤<REF(控盤,1) AND 控盤>0.5; STJ02:=控盤>0; BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2; BTJ22:=控盤>REF(控盤,1) AND 控盤<0 ; {波段買賣條件} BTJ3:=CROSS(財,神) AND 財<-0.3; BTJ32:=CROSS(財,神) AND 財<-0.1; STJ31:=CROSS(神,財); STJ32:=CROSS(神,財) AND 財>1.618; {以下為信號}; BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13); BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13); DRAWTEXT(BTJ81,神,'↑買底'),COLORRED; DRAWTEXT(BTJ811,神*1.2,'↑有莊'),COLORWHITE; STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13); STJ82:=FILTER(STJ02 AND STJ32 ,13); STJ83:=STJ81 AND STJ82; DRAWTEXT(STJ83,神,'↓賣'),COLOR00FF00; DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED; DEA: EMA(DIFF,3),COLORGREEN; 莊:= BTJ11 AND BTJ2 AND BTJ3; 有莊:FILTER(莊,55),COLORWHITE; DRAWTEXT(BTJ811,有莊,'有莊'),COLORWHITE;
用法:有指標線時持有,消失就清倉觀望。適用于振蕩市和熊市,牛市中小的調(diào)整可以不用觀注。
通達信指標源碼: YYGQQM:=3*(SMA((SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1)) ,3,1))-1*(SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1)); HJ:=IF(YYGQQM>(3*(SMA(((CLOSE-LLV(LOW,28))/( HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1)) -2.1*(SMA((SMA(((CLOSE-LLV(LOW,28))/( HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1)) ,3,1))),(3*(SMA(((CLOSE-LLV(LOW,28))/( HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1)) -2.1*(SMA((SMA(((CLOSE-LLV(LOW,28))/( HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1)) ,3,1))),YYGQQM)COLOR0090FF,LINETHICK0; F1:STICKLINE((HJ>=REF(HJ,1)),HJ,HJ,18,9)COLOR0080FF; F2:STICKLINE((HJ>=REF(HJ,1)),HJ,HJ,10,9)COLOR00009C; F3:STICKLINE((HJ>=REF(HJ,1)),HJ,HJ,5,9)COLORYELLOW; F4:STICKLINE((HJ<REF(HJ,1)),HJ,HJ,18,9)COLOR0080FF; F5:STICKLINE((HJ<REF(HJ,1)),HJ,HJ,10,9)COLOR00009C; F6:STICKLINE((HJ<REF(HJ,1)),HJ,HJ,5,9)COLORYELLOW; F1,COLOR0080FF,LINESTICK,LINETHICK9; F2,COLORGREEN,LINESTICK,LINETHICK6; F3,COLOR00099C,LINESTICK,LINETHICK4; 一兩黃金:IF(HJ>=REF(HJ,1),HJ,DRAWNULL)COLORGREEN, LINETHICK6; 三味真火:IF(HJ>=REF(HJ,1),HJ,DRAWNULL)COLOR0080FF, LINETHICK3;
|