通达信抄部副图源码

[复制链接]
查看40 | 回复0 | 2022-7-24 03:24:52 | 显示全部楼层 |阅读模式

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;
 

842500523.jpg

842500523.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则