以下是通达信抄部副图源码

AAW:=1110730;
 SFX:=EMA(2500*(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)),7);
 ZJX:=EMA(2500*(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),2);
散户线:=IF(DATE<=AAW,SFX,0),COLORGREEN,LINETHICK2;
庄家线:=IF(DATE<=AAW,ZJX,0),COLORFF00FF,LINETHICK2;
 MAC5:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
 M5:MA(MAC5,5);M60:=LLV(MA(MAC5,60),10);
 A:=(HHV(M5,3)-LLV(M5,3))/LLV(M5,3)<1.4 AND M5>REF(M5,1);
 B:=REF(MAC5,3)/REF(MAC5,2)<1.1 AND REF(M5,3)/REF(M5,2)<1.1 AND CROSS(MAC5,M5);
 XD1:=HHVBARS(M5,5)=1;{以N日最低点}
 XD2:=REF(COUNT(M5-REF(M5,1)<=0,5)=1,10) AND COUNT(M5-REF(M5,1)>0,5)=1;{以M日变化量的正负}
XD3:=REF(COUNT(M5-REF(M5,1)<=0,5)=1,10) AND M5>0;{以当日变化角的正负};
AA:PLOYLINE(CROSS(MAC5,M5),M5),COLORRED;
 AAB:PLOYLINE(CROSS(M5,MAC5),MAC5),COLORFF00FF ;
大涨区:COUNT(CROSS(MAC5,M5),AA<REF(AA,5) AND AAB>REF(AAB,5));
 STICKLINE(大涨区,M5,MAC5,3,0),COLORRED ;
 XG:COUNT(大涨区,庄家线<500)=1;
 XG1:COUNT(大涨区,散户线<500)=1;
 STICKLINE(XG,M5,MAC5,5,0),COLORWHITE  ;
 STICKLINE(XG1,M5,MAC5,5,0),COLORWHITE  ;
 DRAWTEXT(XG,M5,’角买’),COLOR00FF00;
 DRAWTEXT(XG1,M5,’角买’),COLOR00FF00;
 DRAWTEXT(庄家线<500,MAC5,’底’),COLORGREEN,LINETHICK2;
 DRAWTEXT(散户线<500,MAC5,’大底’),COLORRED,LINETHICK2;
 

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