以下是通达信一阳五线选股指标源码(无源码的请下载附件导入)
CC1E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC2E:=COUNT(CROSS(C,MA(C,10)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC3E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC4E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC5E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,250)),1) ;
CC6E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,10)),1) ;
CC7E:=COUNT(CROSS(C,MA(C,5)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC8E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC9E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC10E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,250)),1) ;
CC11E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,5)),1) ;
CC12E:=COUNT(CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC13E:=COUNT(CROSS(C,MA(C,5)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,5)),1) ;
CC14E:=COUNT(CROSS(C,MA(C,10)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,250)),1) ;
CC15E:=COUNT(CROSS(C,MA(C,5)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,120)),1) ;
CC16E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,250)),1) ;
CC17E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,250)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,5)),1) ;
CC18E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,5)),1) ;
CC19E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,250)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,5)),1) ;
CC21E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,120)) AND CROSS(C,MA(C,5)),1) ;
CC20E:=COUNT(CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,60)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,5)),1) ;
CC1:=CC1E OR CC2E OR CC3E OR CC4E OR CC5E OR CC6E OR CC7E OR CC8E OR CC9E OR CC10E ;
{COUNT(CC,50)>0;};
CC2:= CC11E OR CC12E OR CC13E OR CC14E OR CC15E OR CC16E OR CC17E OR CC18E OR CC19E OR CC20E OR CC21E ;
CC:CC1 OR CC2;
91277673.png
|