多頭分時: MA30:=EMA(CLOSE,30); {強弱:EMA(CLOSE,900); STICKLINE((MA30>強弱),MA30,強弱,1,0),COLOR0000FF; STICKLINE((MA30<強弱),MA30,強弱,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)價:CLOSE,COLORWHITE,LINETHICK1; STICKLINE(CROSS(支撐,現(xiàn)價),支撐,阻力,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撐,現(xiàn)價,2),支撐*1.001,'買'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(現(xiàn)價,阻力,2),現(xiàn)價,'★賣'),COLORRED;{拋}; 日時轉(zhuǎn)換:=IF(PERIOD=5,120,240); QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2; VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2; VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2; VAR3:=(VAR1+VAR2)/2; VAR4:=EMA(VAR3,30); VAR5:=EMA(VAR3,60); VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5); DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30)); 牽引線:VAR1,COLORYELLOW; 強弱線:EMA(VAR1,日時轉(zhuǎn)換),POINTDOT,COLORWHITE; 趨勢關(guān)注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED; 量價關(guān)注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE; 沖擊量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW; 強勢區(qū):IF(VAR1>強弱線,1,DRAWNULL),NODRAW,COLORRED; 止損區(qū):IF(VAR1<強弱線,1,DRAWNULL),NODRAW,COLORGREEN; STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF; STICKLINE(沖擊量=1,QZS,VAR1,1,0),COLORYELLOW; DRAWICON(趨勢關(guān)注=1,EMA(VAR1,60),13); DRAWTEXT(量價關(guān)注=1,EMA(VAR1,60),'★'),COLORWHITE; 分時博弈: MA30:=EMA(CLOSE,30); 強弱:EMA(CLOSE,900); STICKLINE((MA30>強弱),MA30,強弱,1,0),COLOR0000FF; STICKLINE((MA30<強弱),MA30,強弱,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)價:CLOSE,COLORWHITE,LINETHICK1; STICKLINE(CROSS(支撐,現(xiàn)價),支撐,阻力,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撐,現(xiàn)價,2),支撐*1.001,'★B'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(現(xiàn)價,阻力,2),現(xiàn)價,'★'),COLORRED;{拋}; 老牛分時: VAR1:=LLV(LOW,100); VAR2:=HHV(HIGH,250); 操盤線: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4); 絕底:0.3,LINETHICK1,COLORGREEN; 絕頂:3.5,LINETHICK1,COLORGREEN; 分界:2,COLORWHITE; DRAWTEXT(CROSS(操盤線,絕底),0.20,'買'), COLORRED, ; DRAWTEXT(CROSS(操盤線,絕頂),3.5,'賣'), COLORYELLOW, ; 瘋狂T+0: MA30:=EMA(CLOSE,30); 強弱:=EMA(CLOSE,900); {-------------------------------------------------------------------------------------} H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLORLIMAGENTA,DOTLINE; 支撐:L1+P1*0.5/8,COLORCYAN,DOTLINE; 中:(支撐+阻力)/2,COLORLIGRAY,POINTDOT; 均價:=SUM(V*C,0)/SUM(V,0),COLORYELLOW,DOTLINE; 現(xiàn)價:=CLOSE,COLORWHITE,LINETHICK1; DRAWTEXT(ISLASTBAR AND 現(xiàn)價,現(xiàn)價,STRCAT('←',CON2STR(現(xiàn)價,2))),COLORYELLOW; STICKLINE(CROSS(支撐,現(xiàn)價),支撐,中,0,-1),COLORYELLOW; 精品分時: HJ_1:=MAX(DYNAINFO(3),DYNAINFO(5)); HJ_2:=MIN(DYNAINFO(3),DYNAINFO(6)); HJ_3:=HJ_1-HJ_2; HJ_4:=(HJ_1+HJ_2)/1; 阻力:HJ_2+HJ_3*7/8,POINTDOT,COLORBLUE; 支撐:HJ_2+HJ_3*1/8,POINTDOT,COLORMAGENTA; 支撐1:HJ_2+HJ_3*0.5/8,POINTDOT; 御祥頂參考:HJ_2+HJ_3*2/3,POINTDOT; 御祥底參考:HJ_2+HJ_3/3,POINTDOT,COLORBLUE; DRAWTEXT_FIX(1,0.01,0.01,0,4),COLORCYAN; STICKLINE(CLOSE>阻力,阻力,CLOSE,2,0),COLORGREEN; STICKLINE(CLOSE<支撐,支撐,CLOSE,2,0),COLORYELLOW; |
|