牛熊線怎么設(shè)置?牛熊線設(shè)置公式(2)
空:MA(B,3),COLORBLUE;操作:MA(B,13),COLORYELLOW;波段牛熊:MA(B,34),COLORGREEN;長(zhǎng)期牛熊:MA(B,233),COLORWHITE;買線:=EMA(C,2);賣線:=EMA(SLOPE(C,21)*20+C,42);BU:=CROSS(買線,賣線);SEL:=CROSS(賣線,買線);
DRAWTEXT(BU,LOW*0.999,'B'),COLORRED,LINETHICK3;DRAWTEXT(BU,LOW,'〩'),COLOR208FFF,LINETHICK3;DRAWTEXT(SEL,HIGH,'〩'),COLORFFFF00,LINETHICK3;DRAWTEXT(SEL,HIGH*1.008,'S'),COLORFFFF00,LINETHICK3;
STICKLINE(買線>=賣線,LOW,HIGH,1,0),COLORRED;STICKLINE(買線>=賣線,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(買線>=賣線,CLOSE,OPEN,4,0),COLOR0000CC;STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(買線>=賣線,CLOSE,OPEN,2,0),COLOR0000EE;STICKLINE(買線<賣線,CLOSE,OPEN,4.
5,0),COLORAAAA00;STICKLINE(買線<賣線,CLOSE,OPEN,4,0),COLORBBBB00;
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;G:=95。