在线检测未来函数

梨花剑主图之梨花剑选股指标公式

来源:Internet,编辑:股旁网,2024-12-19

本文选股公式根据以下股票公式改编:

股旁网此处内容已被隐藏,请输入验证码查看内容。
验证码:
请关注本站微信公众号,回复“88”,获取验证码。
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。

VAR1:=MA(C,1);
VAR2:=SMA(SMA(SMA(VAR1,2,1),2,1),2,1);
VAR3:=MA(VAR2,3);
VAR4:=(2*CLOSE+HIGH+LOW)/4;
VAR5:=MA(VAR4,7);
VAR6:=VAR5-MA(VAR4,7/2)<0;
VAR7:=VAR5-MA(VAR4,7/2)>0;
VAR8:=BARSLAST(VAR6);
VAR9:=0-BARSLAST(VAR7);
VAR10:=IF(VAR6<=0,VAR8,VAR9);
VAR11:=(CLOSE*2+HIGH+LOW)/4;
VAR12:=EMA(VAR11,13)-EMA(VAR11,34);
VAR13:=((CLOSE>REF(CLOSE,1)) AND (CLOSE>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))) AND (CLOSE<=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))) AND (CLOSE<=REF(CLOSE,2)));
VAR18:=((REF(VAR17,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR19:=((REF(VAR18,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR20:=((REF(VAR19,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR21:=((REF(VAR20,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR22:=((REF(VAR21,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR23:=((REF(VAR22,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR24:=((REF(VAR23,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR25:=((CLOSE<REF(CLOSE,1)) AND (CLOSE<REF(CLOSE,2)));
VAR26:=((REF(VAR25,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR27:=((REF(VAR26,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR28:=((REF(VAR27,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR29:=((REF(VAR28,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR30:=((REF(VAR29,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR31:=((REF(VAR30,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR32:=((REF(VAR31,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR33:=((REF(VAR32,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR34:=((REF(VAR33,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR35:=((REF(VAR34,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR36:=((REF(VAR35,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR37:=(REF((((((((((((VAR25 OR VAR26) OR VAR27) OR VAR28) OR VAR29) OR VAR30) OR VAR31) OR VAR32) OR VAR33) OR VAR34) OR VAR35) OR VAR36),1) AND VAR13);
VAR38:=(REF((((((((((((VAR13 OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19) OR VAR20)OR VAR21) OR VAR22) OR VAR23) OR VAR24),1) AND VAR25);
VAR39:=MA(CLOSE,75);
VAR40:=EMA(VAR39,3);
VAR41:=(HIGH+LOW)/5;
VAR42:=(MA(VAR41,4))-(MA(VAR41,34));
VAR43:=crOSS(VAR42,0);
VAR44:=CROSS(0,VAR42);
VAR45:=BARSLAST(VAR43);
VAR46:=BARSLAST(VAR44);
VAR47:=REF(VAR43,1);
VAR48:=REF(VAR44,1);
VAR49:=BARSLAST(VAR47);
VAR50:=BARSLAST(VAR48);
VAR51:=IF((VAR49<VAR50),(REF((HHV(HIGH,2)),VAR49)),(REF((LLV(LOW,2)),VAR50)));
VAR52:=(((REF(CLOSE,1))<=(REF(VAR51,1))) AND (CLOSE>VAR51)) AND (VAR45<VAR46);
VAR53:=(((REF(CLOSE,1))>=(REF(VAR51,1))) AND (CLOSE<VAR51)) AND (VAR46<VAR45);
VAR54:=VAR52 AND ((COUNT(VAR52,VAR45))=1);
VAR55:=VAR53 AND ((COUNT(VAR53,VAR46))=1);
VAR56:=VAR54 AND ((REF(BARSLAST(VAR55),1))<(REF(BARSLAST(VAR54),1)));
梨花剑:VAR56;

梨花剑主图之梨花剑选股指标公式

相关文章