========此公式本來有,經(jīng)我亂來,改的找不著北了。今天在網(wǎng)上搜搜,錄于此。我喜歡的就是因為它能亂改。原名是:(角度選股==(優(yōu)化版)(選出都是強勢股)(請試試));
{JDXG角度選股}
v0:=ma(c,3)>ref(ma(c,3),1) and ma(c,5)>ref(ma(c,5),1) and c>ma(c,3)
and ma(c,3)>ma(c,5); {均線c,ma3,ma5多頭排列并向上;}
ma5:=MA(C,5);
角度ma5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
選股ma5:if(角度ma5>45 and v0,1,0),color00ffff;
{均線c,ma3,ma5多頭排列并向上;5日均線角度大于45度選股公式 }
v0:=ma(c,3)>ref(ma(c,3),1) and ma(c,5)>ref(ma(c,5),1) and c>ma(c,3)
and ma(c,3)>ma(c,5); {均線c,ma3,ma5多頭排列并向上;}
ma10:=MA(C,10);
角度ma10:=atan((ma10/ref(ma10,1)-1)*100)*180/3.1416;
選股ma10:if(角度ma10>45 and v0,1,0),color0000ff;
{均線c,ma3,ma5多頭排列并向上;10日均線角度大于45度選股公式 }
v0:=ma(c,3)>ref(ma(c,3),1) and ma(c,5)>ref(ma(c,5),1) and c>ma(c,3)
and ma(c,3)>ma(c,5); {均線c,ma3,ma5多頭排列并向上;}
ma20:=MA(C,20);
角度ma20:=atan((ma20/ref(ma20,1)-1)*100)*180/3.1416;
選股ma20:if(角度ma20>45 and v0,1,0),color00ff00;
{均線c,ma3,ma5多頭排列并向上;20日均線角度大于45度選股公式 }