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

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;




来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

VAR1赋值:C的1日简单移动平均
VAR1的2日[1日权重]移动平均
VAR3赋值:VAR2的3日简单移动平均
VAR4赋值:(2*收盘价+最高价+最低价)/4
VAR5赋值:VAR4的7日简单移动平均
VAR6赋值:VAR5-VAR4的7/2日简单移动平均<0
VAR7赋值:VAR5-VAR4的7/2日简单移动平均>0
VAR8赋值:上次VAR6距今天数
VAR9赋值:0-上次VAR7距今天数
如果VAR6<=0返回VAR8否则返回VAR9
VAR11赋值:(收盘价*2+最高价+最低价)/4
VAR12赋值:VAR11的13日指数移动平均-VAR11的34日指数移动平均
VAR13赋值:((收盘价>1日前的收盘价) AND (收盘价>2日前的收盘价))
VAR14赋值:((1日前的VAR13 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR15赋值:((1日前的VAR14 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR16赋值:((1日前的VAR15 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR17赋值:((1日前的VAR16 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR18赋值:((1日前的VAR17 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR19赋值:((1日前的VAR18 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR20:=((1日前的VAR19 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR21:=((1日前的VAR20 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR22:=((1日前的VAR21 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR23:=((1日前的VAR22 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR24:=((1日前的VAR23 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR25:=((收盘价<1日前的收盘价) AND (收盘价<2日前的收盘价))
VAR26:=((1日前的VAR25 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR27:=((1日前的VAR26 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR28:=((1日前的VAR27 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR29:=((1日前的VAR28 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR30:=((1日前的VAR29 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR31:=((1日前的VAR30 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR32:=((1日前的VAR31 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR33:=((1日前的VAR32 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR34:=((1日前的VAR33 AND (收盘价>=1日前的收盘价)) AND (收盘价<=2日前的收盘价))
VAR35:=((1日前的VAR34 AND (收盘价<=1日前的收盘价)) AND (收盘价>=2日前的收盘价))
VAR36:=((1日前的VAR35 AND (收盘价>=1日前的收盘价)) AND (收盘价<=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:=收盘价的75日简单移动平均
VAR40:=VAR39的3日指数移动平均
VAR41:=(最高价+最低价)/5
VAR42:=(VAR41的4日简单移动平均)-(VAR41的34日简单移动平均)
VAR43:=VAR42上穿0
VAR44:=0上穿VAR42
VAR45:=上次VAR43距今天数
VAR46:=上次VAR44距今天数
VAR47:=1日前的VAR43
VAR48:=1日前的VAR44
VAR49:=上次VAR47距今天数
VAR50:=上次VAR48距今天数
VAR51:=IF((VAR49VAR52:=(((1日前的收盘价)<=(1日前的VAR51)) AND (收盘价>VAR51)) AND (VAR45VAR53:=(((1日前的收盘价)>=(1日前的VAR51)) AND (收盘价VAR54:=VAR52 AND ((统计VAR45日满足VAR52的天数)=1)
VAR55:=VAR53 AND ((统计VAR46日满足VAR53的天数)=1)
VAR56:=VAR54 AND ((REF(上次VAR55距今天数,1))<(REF(BARSLAST(VAR54),1)))
输出梨花剑:VAR56


指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图