通达信1选股指标源码08
势:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6),COLORWHITE;
财:=MA(势,5),COLORYELLOW ;
XG:CROSS(势,财);
======================================================
{叶烨选股}
VAR1:=1992231;
VAR2:=IF(DATE<=VAR1,1,0);
VAR3:=1/WINNER(CLOSE);
VAR4:=MA(CLOSE,13);
VAR5:=100-ABS((CLOSE-VAR4)/VAR4*100);
VAR6:=LLV(LOW,75);
VAR7:=HHV(HIGH,75);
VAR8:=(VAR7-VAR6)/100;
VAR9:=SMA((CLOSE-VAR6)/VAR8,20,1);
VARA:=SMA((OPEN-VAR6)/VAR8,20,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=3*VARA-2*SMA(VARA,15,1);
VARD:=100-VARC;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<55 AND VAR17>50;
明天低买CGL90%:= IF(CROSS(VAR20,0.5),8,0)*VAR2,COLOR00FFFF ,LINETHICK2;
AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
绝谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
买入成功率80%:=IF(CROSS(绝谷,90) AND (DD<40),8,0),COLORFFFF00;
XG:明天低买CGL90% OR 买入成功率80%;
======================================================
{优选}
VAR1:=100*(C-LLV(L,4))/(HHV(C,4)-LLV(L,4));
优选:IF(BARSLAST(CROSS(38.2,VAR1))<3 ,10,0);
======================================================
{天堂得筹码流}
筹码比例:=(WINNER(C)-WINNER(LLV(L,0)))/WINNER(HHV(H,0))*100;
AA:=EMA(EMA(筹码比例,3),3);
BB:=EMA(AA,3);
CC:=EMA(BB,4);
DD:=EMA(CC,5);
EE:=EMA(DD,6);
FF:=EMA(EE,7);
GG:=EMA(FF,8);
HH:=EMA(GG,9);
II:=REF(AA,1)
XG:CROSS(AA,BB) AND II
======================================================
{铜板保证}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
SD:=MA(SJ,2);
XG:=SJ>0 AND SD>0;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA
XG1:=CROSS(DIFF,DEA);
XG2:=VOL/REF(VOL,1)>2;
选股:XG AND XG1 AND XG2;
======================================================
{大单选股}
单笔大于500手且金额大于70万元的买入卖出大单之和跟流通总股本大于等于8%}
P1:=DYNAINFO(9)*C*100>1000000 OR DYNAINFO(9)>500;
P2:=SUM(DYNAINFO(9)*C*100>700000,1)/(CAPITAL*100*C);
{前一日单笔金额大于100万元或
单笔大于500手且金额大于70万元的买入卖出大单之和跟流通总股本小于等于4%}
P3:=P1 OR P2>=0.08;
P4:=REF(P1,1) OR REF(P2,1)<=0.04;
DD:P1 OR P2 OR P3 OR P4;
======================================================
{短买奇准}
你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
急卖奇准:=IF(HHV((你<好),5),100,50),COLORBLUE;
短卖奇准:=IF(HHV((你<好),10),100,50),COLORGREEN;
老板:= MA(老,5);
买卖:=LLV(老板,10);
急买奇准:=IF(LLV((你<买卖),5),50,0),COLORRED;
短买奇准:=IF(LLV((你<买卖),10),50,0),COLORWHITE;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
没神的只有不错:(动向趋势线 > 88) AND (神偷线 < 5.8);
======================================================
{筹码选股2}
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,8),COLORYELLOW ;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);
VAR6:=(K+VAR5)/2;
VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);
- 上一篇公式:通达信1选股指标(01)
- 下一篇公式:通达信大盘风控指标副图不是一般的准