精 彩 內(nèi) 容 呈 現(xiàn) MA30:=EMA(CLOSE,30); 強(qiáng)弱:EMA(CLOSE,900); STICKLINE((MA30>強(qiáng)弱),MA30,強(qiáng)弱,1,0),COLOR0000FF; STICKLINE((MA30<強(qiáng)弱),MA30,強(qiáng)弱,1,0),COLOR00FF00; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLOR00DD00; 支撐:L1+P1*0.5/8,COLOR00DD00; 現(xiàn)價(jià):CLOSE,COLORWHITE,LINETHICK1; 全適用:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1); 漲停價(jià):=ZTPRICE(DYNAINFO(3),全適用); 跌停價(jià):=DTPRICE(DYNAINFO(3),全適用); DRAWTEXT_FIX(C>O,0,0.07,0,'更多實(shí)用指標(biāo)公式,請(qǐng)關(guān)注微信公眾號(hào):金鉆指標(biāo)精選'),COLORWHITE; IF(PERIOD=0 AND CLOSE=漲停價(jià),CLOSE,DRAWNULL),LINETHICK2,COLORFF00B5; IF(PERIOD=0 AND CLOSE=跌停價(jià),CLOSE,DRAWNULL),LINETHICK2,COLOR00BB00; 漲幅值:=IF(C=DYNAINFO(3),CON2STR(0,2),IF(C>DYNAINFO(3),CON2STR((C-DYNAINFO(3))/DYNAINFO(3)*100,2),CON2STR((DYNAINFO(3)-C)/DYNAINFO(3)*100,2))); 動(dòng)態(tài)圖標(biāo):=IF(漲停價(jià)=C,STRCAT(CON2STR(C,2),'★ '),IF(C=REF(C,1),STRCAT(CON2STR(C,2),'◆ '),IF(C>REF(C,1),STRCAT(CON2STR(C,2),'▲ '),STRCAT(CON2STR(C,2),'▼ ')))); 價(jià)格變化:=STRCAT(STRCAT(' ',動(dòng)態(tài)圖標(biāo)),STRCAT(漲幅值,'%')); DRAWTEXT(LONGCROSS(支撐,現(xiàn)價(jià),2),支撐*1.001,'★B'),COLORYELLOW; DRAWTEXT(LONGCROSS(現(xiàn)價(jià),阻力,2),現(xiàn)價(jià),'★S'),COLORRED; DRAWTEXT(ISLASTBAR,C*IF(DYNAINFO(3)>C,0.9973,1.0027),''); DRAWTEXT(ISLASTBAR AND C>DYNAINFO(3) ,C*1,價(jià)格變化),COLOR3333FF; DRAWTEXT(ISLASTBAR AND C=DYNAINFO(3) ,C*1,價(jià)格變化),COLORWHITE; DRAWTEXT(ISLASTBAR AND C<DYNAINFO(3) ,C*1,價(jià)格變化),COLOR42C800; |
|