{[綜合短波](分時專用)指標(biāo)}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*40);
TD:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=SUM(IF(((HD》0)AND(HD》LD)),HD,0),10);
DMM:=SUM(IF(((LD》0)AND(LD》HD)),LD,0),10);
PDI:=((DMP*40)/TD);
MDI:=((DMM*40)/TD);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*40),5);
AV:=(RSI5+ADX);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
WR10:=((40*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5-WR10);
階段底部:=(AV+NEWVOL);
STICKLINE((階段底部》=0),0,階段底部,0.3,1),COLORCC6600;
STICKLINE((階段底部《0),0,階段底部,0.8,1),COLORRED;
絡(luò)A:=LLV(階段底部,1),COLORWHITE;
STICKLINE((絡(luò)A》92),92,絡(luò)A,0.8,1),COLORGREEN;
絡(luò):絡(luò)A,COLORWHITE;
絡(luò)風(fēng)險線:REFDATE(92,DATE),POINTDOT,COLORRED;
天地線:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*600,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1;
乾坤:=(((天地線-LLV(天地線,21))/(HHV(天地線,21)-LLV(天地線,21)))*(4))*(25),LINETHICK1,COLORLIRED;
DRAWTEXT(CROSS(99.95,乾坤),100,‘↖’),COLORWHITE;
DRAWTEXT(CROSS(99.95,乾坤),95,‘暫’),COLORYELLOW;
DRAWTEXT(CROSS(99.95,乾坤),85,‘出’),COLORYELLOW;
DRAWTEXT(CROSS(99.95,乾坤),75,‘觀’),COLORYELLOW;
DRAWTEXT(CROSS(99.95,乾坤),65,‘出’),COLORYELLOW;
DRAWTEXT(CROSS(99.95,乾坤),95,‘暫’),COLORYELLOW;
DRAWTEXT(CROSS(乾坤,10),45,‘極’),COLORMAGENTA;
DRAWTEXT(CROSS(乾坤,10),35,‘地’),COLORMAGENTA;
DRAWTEXT(CROSS(乾坤,10),25,‘買’),COLORMAGENTA;
DRAWTEXT(CROSS(乾坤,10),15,‘入’),COLORMAGENTA;
DRAWTEXT(CROSS(乾坤,10),10,‘↙’),COLORMAGENTA;
波段:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*110,4,1),3)NODRAW;
VAR1:=EMA(波段,1);
VAR2:=EMA(VAR1,2);
VAR3:=CROSS(VAR1,VAR2);
VAR4:=CROSS(VAR2,VAR1);
STICKLINE(波段》82,波段-2,波段+2,2,0),COLORRED;
STICKLINE(波段》50 AND 波段《82,波段-2,波段+2,2,1),COLORMAGENTA;
STICKLINE(波段》20 AND 波段《50,波段-2,波段+2,2,1),COLORYELLOW;
STICKLINE(波段《20,波段-2,波段+2,2,1),COLORLIBLUE;
STICKLINE(VAR3 AND 波段》0,波段,0,1,0),COLORRED;
STICKLINE(VAR4,波段,波段+12,1,0),COLORGREEN;
抄底:IF(CROSS(波段,8) OR CROSS(波段,15),波段*3.0,0),COLORMAGENTA,LINETHICK1;
乾坤線:乾坤,LINETHICK2,COLORLIRED;
斷開賣出:IF(波段》REF(波段,1),波段,DRAWNULL),COLORYELLOW,LINETHICK1;
斷開賣進:IF(波段《REF(波段,1),波段,DRAWNULL),COLORGREEN,LINETHICK1;
DRAWTEXT(抄底》1,抄底+5,‘抄底!’),COLORRED;
DRAWICON(抄底》1,抄底,4);
買進。篒F(VAR3 AND VAR1》20,波段,0),COLORRED,LINETHICK1,NODRAW;
賣出。篒F(VAR4,波段,0),COLORGREEN,NODRAW;
DRAWTEXT(VAR3 AND 波段》1,波段-7,‘買’),COLORRED;
DRAWTEXT(VAR4,波段+8,‘賣’),COLORGREEN;
財:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
星:=SMA(財,10,1);
趨勢:EMA(星,6),LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=1,90,‘ 乾坤線從100平橫’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,75,‘ 回落后一般會做’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,60,‘ 一段震蕩調(diào)整’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,35,‘ 白《絡(luò)》線上穿粉’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,20,‘ 紅底線時一般可’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,5,‘ 買到階段地價’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=204,90,‘乾坤線從100平橫’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=204,75,‘回落后一般會做’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=204,60,‘一段震蕩調(diào)整’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=204,35,‘白《絡(luò)》線上穿粉’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=204,20,‘紅底線時一般可’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=204,5,‘買到階段地價’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,110,‘ (TDX)[綜合短波](分時專用)’),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=204,110,‘(TDX)[綜合短波](分時專用)’),COLORYELLOW;
T100:100,POINTDOT,COLORYELLOW;
(南方財富網(wǎng)SOUTHMONEY.COM)