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;
(南方財富網(wǎng)SOUTHMONEY.COM)