提前拉升副图公式和选股公式

[复制链接]
查看52 | 回复0 | 2022-7-24 06:11:58 | 显示全部楼层 |阅读模式

提前拉升副图公式

 

VAR1:=1;
 VAR3:=LLV(HIGH,240);
 VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;
 VAR5:=REF(LLV(CLOSE,480),1)*VAR1;
 VAR6:=REF(HHV(CLOSE,480),1)*VAR1;
 VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;
 VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;
 VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1;
 VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1;
 VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;
 VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1;
 VARD:=IF(VARC>23.16,VARC,0)*VAR1;
 VARE:=VARC<1*VAR1;
 VARF:=VARD*VAR1;
 VAR10:=VAR4<0 AND VAR7<0;
 VAR11:=1;
 VAR12:=(HIGH+LOW+CLOSE*2)/4;
 VAR13:=EMA(VAR12,21);
 VAR14:=STD(VAR12,21);
 VAR15:=((VAR12-VAR13)/VAR14*100+200)/4;
 VAR16:=(EMA(VAR15,89)-25)*1.56;
 VAR17:=EMA(VAR16,5)*1.22;
 VAR18:=EMA(VAR17,3);
 VAR19:=3*VAR17-2*VAR18;
 VAR1B:IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);
 VAR1D:=EMA(CLOSE,3)-EMA(CLOSE,89);
 VAR1E:=EMA(VAR1D,21);
 VAR1F:=(VAR1D-VAR1E)*10;
 VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
拉升资金:IF(VAR1F>0.015,VAR20,0)/45,COLORRED;
 VAR26:=EMA(CLOSE,2)-EMA(CLOSE,55);
 VAR27:=EMA(VAR26,13);
 VAR28:=2*(VAR26-VAR27);
 VAR29:POW(VAR28,3)*0.1+POW(VAR28,1);
 STICKLINE(VAR29>0,0,VAR29,2,0),COLORYELLOW;
 CROSS(VAR29,0)AND REF(拉升资金,1)=0;

 

选股公式

VAR1D:=EMA(CLOSE,3)-EMA(CLOSE,89);
 VAR1E:=EMA(VAR1D,21);
 VAR1F:=(VAR1D-VAR1E)*10;
 VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
拉升资金:=IF(VAR1F>0.015,VAR20,0)/45;
 VAR26:=EMA(CLOSE,2)-EMA(CLOSE,55);
 VAR27:=EMA(VAR26,13);
 VAR28:=2*(VAR26-VAR27);
 VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
 CROSS(VAR29,0)AND REF(拉升资金,1)=0;

720188901.png

720188901.png

 

回复

使用道具 举报

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

本版积分规则