通達信漲停先鋒買入減倉操盤指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2019-04-30 來源:互聯網
通達信漲停先鋒買入減倉操盤指標公式:
MA5:MA(CLOSE,5),LINETHICK1,COLORFFFFFF;
MA10:MA(CLOSE,10),LINETHICK1,COLOR00FFFF;
MA30:MA(CLOSE,30),LINETHICK1,COLORFF00FF;
MA60:MA(CLOSE,60),LINETHICK1,COLOR0000FF;
MA120:MA(CLOSE,120),LINETHICK1,COLORFFFF00;
DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW*0.99),'Ψ'),LINETHICK3,COLORF00FF0;
DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH* 1.01),'◎'),LINETHICK3,COLORFFFFFF;
多空:=(MA(LOW,6)+MA(LOW,13)+MA(LOW,26))/3;
{STICKLINE(CLOSE<多空,OPEN,CLOSE,1,0),COLORBLUE;
STICKLINE(CLOSE>=多空 AND CLOSE>=MA(CLOSE,3),OPEN,CLOSE,1,0),COLORYELLOW;}
VAR22:=(100 - ((90 * (HHV(HIGH,30) - CLOSE)) / (HHV(HIGH,30) - LLV(LOW,30))));
VAR33:=(100 - ((90 * (HHV(HIGH,120) - CLOSE)) / (HHV(HIGH,120) - LLV(LOW,120))));
VAR11:=(100 - ((90 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))));
短頂預警:=CROSS(VAR11,95);
短底預報:=CROSS(15,VAR11);
TJ1:=短底預報;
TJ2:=REF(TJ1,1) AND CLOSE>MA(CLOSE,3);
TJ4:=VAR11>15 AND REF(CLOSE,1)<REF(MA(CLOSE,3),1) AND CLOSE>MA(CLOSE,3) AND CLOSE<MA(CLOSE,13);
TJ5:=短頂預警;
相對高位:=IF(HIGH=HHV(HIGH,5),HIGH=HHV(HIGH,5),CLOSE=HHV(CLOSE,5));
相對低位:=IF(LOW=LLV(LOW,5),LOW=LLV(LOW,5),CLOSE=LLV(CLOSE,5));
TJ6:=(REF(相對低位,1) OR REF(相對低位,2));
TJ7:=(REF(相對高位,1) OR REF(相對高位,2));
DRAWTEXT(TJ6 AND REF(CLOSE,1)<REF(MA(CLOSE,3),1) AND CLOSE>MA(CLOSE,3) AND CLOSE>=多空,LOW-0.4,'全倉買入'),COLORRED;
DRAWTEXT(TJ7 AND REF(CLOSE,1)>REF(MA(CLOSE,3),1) AND CLOSE<MA(CLOSE,3) AND CLOSE>=多空 AND CLOSE<OPEN,HIGH+0.4,'減倉2/3'),COLORGREEN;
DRAWTEXT(TJ1,LOW-0.6,'準備'),COLORYELLOW;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KDJ1:=CROSS(K,D) AND CROSS(J,D);
均線:=CROSS(MA(C,5),MA(C,10));
量線:=CROSS(MA(V,5),MA(V,10));
SCC:=MACD1 AND KDJ1 AND 均線 AND 量線;
SC1:=MACD1 AND KDJ1;
SC2:=均線 AND 量線;
SC3:=均線 AND MACD1;
SC4:=量線 AND KDJ1;
SC5:=均線 AND KDJ1;
SC6:=MACD1 AND 量線;
DRAWICON(SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6,L-0.20,9);{兩個以上指標同時金叉顯示9號圖標}
DRAWICON(SCC,L-0.20,1);{四個指標同時金叉顯示3號圖標,便于區別};
通達信漲停先鋒買入減倉操盤指標公式實例圖解:
通達信漲停先鋒買入減倉操盤指標公式