以下是强势股选股公式(源码 选股/副图 通达信 贴图)

强势股选股公式(源码 选股/副图 通达信 贴图)

MA3:=MA(C,3);
MA5:=MA(C,5);
MA6:=MA(C,5);
MA7:=MA(C,4);
MA10:=MA(C,10);
MA20:=MA(C,20);
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多头排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA10/REF(MA10,2)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA20,2)-1)*100)*180/3.1416;
选股MA20:=IF(角度MA3>20 AND 角度MA5>20 AND 角度MA10>50 AND 角度MA20>30 AND MA(C,60)>REF(MA(C,60),1),
1,0),COLOR00FF00;
VARW1:=EMA(EMA(CLOSE,9),9);
控盘:=(VARW1-REF(VARW1,1))/REF(VARW1,1)*1000;
VARW2:=100*WINNER(CLOSE*0.95);
高度控盘:=VARW2>40 AND COST(80)<CLOSE AND 控盘>0;
主力出货:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00;
XG1:=高度控盘>0 AND 主力出货=0;
KL:=100*(WINNER(CLOSE)-WINNER(OPEN));
XG3:= KL>REF(KL,1);
VAR1:=1;
VAR2:=3;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,36);
VAR5:=HHV(HIGH,36);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,10);
VAR7:=EMA(0.667*REF(VAR6,1)+0.333*VAR6,2)*VAR1;
VAR8:=EMA(VAR7,VAR2)*VAR1;
VAR9:=HHV(HIGH,7)-LLV(LOW,7);
VAR10:=HHV(HIGH,7)-CLOSE;
VAR11:=CLOSE-LLV(LOW,7);
VAR12:=VAR10/VAR9*100-60;
VAR13:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,60)-LLV(LOW,40))*100;
VAR14:=SMA(VAR11/VAR9*100,3,1);
VAR15:=SMA(VAR14,3,1)-SMA(VAR12,7,1);
VAR16:=IF(VAR15>100,VAR15-100,0);
VAR17:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,3)*VAR1;
VAR18:=EMA(VAR17,5)*VAR1;
VAR19:=EMA(CLOSE,2)*VAR1;
VAR20:=EMA(SLOPE(CLOSE,21)*20+CLOSE,36)*VAR1;
VAR21:=HHV(MA(HIGH,13),13)*VAR1;
VAR22:=LLV(MA(HIGH,13),1)*VAR1;
VAR23:=EMA(CLOSE,4)*VAR1;
VAR24:=VAR19>=VAR20 AND VAR22=VAR21 AND VAR19>VAR23 AND CLOSE>VAR22 AND REF(VAR22,1)<REF(VAR21,1);
VAR25:=BARSLAST(VAR24)+1;
VAR26:=LLV(LOW,VAR25)*1.3;
VAR27:=LLV(LOW,20)*1.418;
VAR28:=VAR19>=VAR20 AND VAR22=VAR21 AND CLOSE/REF(CLOSE,1)>=1.06 AND VAR25<=30 AND CLOSE<=VAR26 AND CLOSE<=VAR27;
VAR29:=VAR28 AND FILTER(VAR28,VAR25);
VAR30:=VAR19>=VAR20 AND VAR22=VAR21 AND CLOSE/REF(CLOSE,1)>=1.535 AND VAR25<=30 AND CLOSE<=VAR26 AND CLOSE<=VAR27;
VAR31:=VAR30 AND FILTER(VAR30,30);
AA:=VAR29 OR VAR31 AND VAR8>50;  
XG: 选股MA20  AND XG3 AND  AA;
 

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