MA5:MA(CLOSE,5),LINETHICK1,COLORGREEN; MA10:MA(CLOSE,10),LINETHICK1,COLORRED; MA30:MA(CLOSE,30),LINETHICK2,COLORYELLOW; _持倉:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20), DRAWNULL),CIRCLEDOT,COLORRED,{COLOR9955FF}; _空倉:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20), DRAWNULL),CIRCLEDOT,COLORGREEN,{COLORDDFF00}; {www.gUPaNg.com 股旁網(wǎng)_最新股票指標公式} _現(xiàn)價:CLOSE,COLORWHITE,NODRAW; _10日漲跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW; {二次給力} 給:=EMA(C,2),COLORRED; 力:=EMA(SLOPE(C,9)*20+C,37); 買:=CROSS(給,力); 賣:=CROSS(力,給); DRAWICON(買,L*0.97,1); DRAWTEXT(買,L*0.95,'進攻'),COLORYELLOW; DRAWICON(賣,H*1.03,2); DRAWTEXT(賣,H*1.08,'撤退'),COLORWHITE; STICKLINE(給>=力,LOW,HIGH,0.01,0),COLOR0000DD; STICKLINE(給>=力,CLOSE,OPEN,2,1),COLORRED; STICKLINE(給>=力,LOW,HIGH,0.01,0),COLOR0000DD; STICKLINE(給>=力,CLOSE,OPEN,2,1),COLORRED; STICKLINE(給<力,LOW,HIGH,0.01,0),COLORFFDD00; STICKLINE(給<力,CLOSE,OPEN,2,0),COLORFFFF00; STICKLINE(CROSS(給,力),OPEN,CLOSE,2.5,0),COLORYELLOW; STICKLINE(CROSS(力,給),OPEN,CLOSE,2.5,0),COLORWHITE;
|