通达信猛牛抬头主图指标公式

通达信多空止损止盈指标公式

通达信猛牛抬头主图指标公式:

M1:=4; M2:=6;

MA5:MA(CLOSE,5),LINETHICK1,COLORWHITE;

MA10:MA(CLOSE,10),LINETHICK1,COLORGREEN;

MA30:MA(CLOSE,30),LINETHICK2,COLORRED;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

stICKLINE(买线>=卖线,CLOSE,OPEN,3,0), COLOR7070FF;

STICKLINE(买线>=卖线,LOW,HIGH,0,0), COLORYELLOW;

STICKLINE(买线<卖线,CLOSE,OPEN,3,0), COLORFF6600;

STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORFFCC66;

顶:HHV(H,20),COLORCCFFFF,LINETHICK2;

底:LLV(L,20),COLORYELLOW,LINETHICK2;

V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);

HY1:=REF(EMA(V1,3),1);

DRAWTEXT(crOSS(CLOSE,HY1),LOW,'.底'),COLORWHITE;

DRAWICON(CROSS(CLOSE,HY1),LOW*0.97,9);

DRAWTEXT(CROSS(MA(CLOSE,9),MA(CLOSE,20)) AND J>REF(J,1),LOW,'.红牛抬头'),COLORYELLOW;

DRAWICON(CROSS(MA(CLOSE,9),MA(CLOSE,20)),LOW*0.98,1);

PBX1:=(expma(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3,LINETHICK2,COLORRED;

PBX2:=(EXPMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3,LINETHICK2,COLORYELLOW;

DRAWICON(CROSS(PBX1,PBX2),LOW*0.96,23);

通达信筹码变化规律指标公式