通达信现黑马选股公式

[复制链接]
查看176 | 回复0 | 2021-8-26 23:29:27 | 显示全部楼层 |阅读模式

以下是通达信现黑马选股公式(无源码的请下载附件导入)

N:=5;

VAR1:=CLOSE > REF(CLOSE,1) AND CLOSE > REF(CLOSE,2);

VAR2:=REF(VAR1,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR3:=REF(VAR2,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR4:=REF(VAR3,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR5:=REF(VAR4,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR6:=REF(VAR5,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR7:=REF(VAR6,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR8:=REF(VAR7,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR9:=REF(VAR8,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VARA:=REF(VAR9,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VARB:=REF(VARA,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VARC:=REF(VARB,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VARD:=CLOSE < REF(CLOSE,1) AND CLOSE < REF(CLOSE,2);

VARE:=REF(VARD,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VARF:=REF(VARE,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR10:=REF(VARF,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR11:=REF(VAR10,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR12:=REF(VAR11,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR13:=REF(VAR12,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR14:=REF(VAR13,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR15:=REF(VAR14,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR16:=REF(VAR15,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR17:=REF(VAR16,1) AND CLOSE <=REF(CLOSE,1)>=REF(CLOSE,2);

VAR18:=REF(VAR17,1) AND CLOSE >=REF(CLOSE,1) AND CLOSE <=REF(CLOSE,2);

VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;

TYP := (HIGH + LOW + CLOSE)/3;

CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORFF00FF;

C1:=SMA(CC1,3,1);

C2:=SMA(C1,3,1);

C3:=3*C1-2*C2;

CB1:=EMA(C3,5);

CB2:=REF(CB1,1);

LC := REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI:=(RSI1-50)*5,LINETHICK2,COLORFFFFFF;

R1:=SMA(RSI,3,1);

D1:=SMA(R1,3,1);

J1:=3*R1-2*D1;

RR1:=EMA(J1,5);

RR2:=REF(RR1,1);

RR:=RR1 > RR2;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

K1:=(K-50)*5,COLOR00FF00;

K2:=SMA(K1,3,1);

D2:=SMA(K2,3,1);

J2:=3*K2-2*D2;

BB1:=EMA(J2,5);

BB2:=REF(BB1,1);

CC2:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORYELLOW;

黑马现:RR AND NOT(REF(RR,1)) AND (RR1 < -100 AND BB1 < -100) AND CB1 < -100 AND VAR19=1;

730255419.png

730255419.png
 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则