以下是通达信主力进出指标(原创)
VARAC1:=(CLOSE*2+HIGH+LOW)/4;
VARBC1:=EMA(VARAC1,13)-EMA(VARAC1,34);
VARCC1:=EMA(VARBC1,5);
多方主力: 2*(VARBC1-VARCC1)*380,COLORRED,LINETHICK0;
空方主力: (-2)*(VARBC1-VARCC1)*380,COLORGREEN,LINETHICK0;
VAR1:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*200-100)/2;
VAR2:=SMA(SMA(VAR1,3,1),3,1);
跟风盘:=MA(EMA(VAR2,3),3),COLORYELLOW,LINETHICK0;
股价:=3*VAR2-2*跟风盘,COLORBLUE,LINETHICK0;
VAR3:=EMA(CLOSE,13)-EMA(CLOSE,26)*100;
VAR4:=EMA(VAR3,3);
多头: 3*(VAR4-VAR3),COLORFF00FF,LINETHICK0;
空头: 2*跟风盘-3*VAR2,COLORLIBLUE,LINETHICK0;
多差:多方主力-多头,NODRAW;
空差:空头-空方主力,COLORLIBLUE,NODRAW;
DRAWBAND(空头,RGB(99,100,500),空方主力,RGB(0,9000,100));
DRAWBAND(多方主力,RGB(200,15,50),多头,RGB(10,250,50));
VARC1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VARC2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
B1:=EMA((VARC0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
多方:=SMA(SMA(VARC2,2,1)+3,2,1)-50,COLORRED;
浮筹:=EMA(B1,4)-50,LINETHICK1,COLOR545454;
空方:=SMA(VARC1,3,1)-50,COLORBLUE;
DRAWICON(CROSS(多方主力,多头),多头,11);
DRAWICON(CROSS(空头,空方主力),空头,1);
DRAWICON(CROSS(多头,多方主力),多头,12);
DRAWICON(CROSS(空方主力,空头),空头,2);
DRAWICON(多方主力>多头 AND 空头>空方主力 AND CROSS(多方主力,空头),0,14);
STICKLINE(多方主力>多头 AND 空头>空方主力 ,多方主力,空方主力,0,-1),COLOR545454;
DRAWTEXT( 多方主力>REF(多方主力,1) AND REF(REF(多方主力,1),1)>REF(多方主力,1),0,’升’);
DRAWTEXT(多方主力<REF(多方主力,1) AND REF(REF(多方主力,1),1)<REF(多方主力,1),0,’降’);
B:REF(C,BARSLAST(CROSS(多头,多方主力))),NODRAW;
B涨:(C-B)*100/B,NODRAW;
B天:BARSLAST(CROSS(多头,多方主力)),NODRAW;
B均:B涨/B天,NODRAW;
双B涨跌:(B-REF(B,1))/REF(B,1)*100,NODRAW;
升: 多方主力>REF(多方主力,1) AND REF(REF(多方主力,1),1)>REF(多方主力,1),NODRAW;
评论(0)