以下是看大盘做个股--自己用了多年的好副图源码贴图

 {看大盘做个股}

QSQR:MA(100*(C-LLV(C,43))/(HHV(H,43)-LLV(L,43)),5)-20,COLORSTICK;{趋势强弱}

GGQS:3*SMA((C-LLV(L,43))/(HHV(H,43)-LLV(L,43))*100,20,1)-2*SMA(SMA((C-LLV(L,43))/(HHV(H,43)-LLV(L,43))*100,20,1),15,1),COLOR00DDDD; {个股趋势}

DPQS:3*SMA((INDEXC-LLV(INDEXL,43))/(HHV(INDEXH,43)-LLV(INDEXL,43))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,43))/(HHV(INDEXH,43)-LLV(INDEXL,43))*100,20,1),15,1),COLORDD22DD;{大盘趋势}

DPWX:DPQS>80,COLOR44AA44,NODRAW; {大盘危险}

STICKLINE(DPQS>80,DPQS,80,3,0),COLOR44AA44;

GGWX:GGQS>80,COLOR888888,NODRAW; {个股危险}

DRAWBAND(GGQS,RGB(60,60,60),80,RGB(0,0,0));

IF(1,DPQS,DPQS),COLORDD22DD;

IF(1,GGQS,GGQS),COLOR00DDDD;

CB:IF(GGQS<REF(GGQS,1),GGQS,DRAWNULL),LINETHICK2,COLORAAAA00;{持币}

CG:IF(GGQS>REF(GGQS,1) AND DPQS>REF(DPQS,1),GGQS,DRAWNULL),LINETHICK2,COLOR0000AA;{持股}

YQ:CROSS(DPQS,GGQS) AND GGQS<3 OR LONGCROSS(GGQS,0,3),COLORFF55FF,NODRAW;{预警}

STICKLINE(CROSS(DPQS,GGQS)AND GGQS<3 OR LONGCROSS(GGQS,0,3),0,20,1,0),COLORFF55FF;

DBJ:IF(COUNT(GGQS<0,3)=3 AND GGQS>REF(GGQS,1),10,0),COLORFF6600,LINETHICK2;{地板价}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。