五线顺上第一阳选股指标源码介绍
五线顺上第一阳选股指标源码
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
∠5:=57.3*(ATAN(100*(MA5/REF(MA5,1)-1)));
∠10:=57.3*(ATAN(100*(MA10/REF(MA10,1)-1)));
∠20:=57.3*(ATAN(100*(MA20/REF(MA20,1)-1)));
∠60:=57.3*(ATAN(100*(MA60/REF(MA60,1)-1)));
∠120:=57.3*(ATAN(100*(MA120/REF(MA120,1)-1)));
C1:=REF(C,1);
WS1:=MA5>MA10 AND MA10>MA20 AND MA20>MA60 AND MA60>MA120;
WS2:=∠5>0 AND ∠10>0 AND ∠20>0 AND ∠60>0 AND ∠120>0;
WXSS:=COUNT(WS1,2)=2 and COUNT(WS2,2)=2;
WSYY:C>MA5 and C>C1 and C>O and WXSS or C1<MIN(REF(MA5,1),REF(MA10,1));
gd25469