通达信《釜底抽薪之反转1商业版》副图 源码分享 贪婪与恐惧的体现

VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR5:=REF(VAR3 OR VAR4,1) AND VAR1;
VAR6:=VAR5 AND CLOSE>OPEN;
VAR7:=(REF(VAR1 OR VAR2,1)) AND VAR3;
VAR8:=IF(C>MA(C,4),1,0)+IF(C<MA(C,4),-1,0)+IF(MA(C,5)>REF(MA(C,5),1),1,0)+IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR9:=VAR8=-2 AND C>O;{zbgs3.com}
VAR10:=IF(C>MA(C,4),1,0);
VAR11:=IF(C<MA(C,4),-1,0);
VAR12:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
VAR13:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR14:=VAR10+VAR11+VAR12+VAR13;
VAR15:=VAR14=2 AND C<O;
VAR16:=VAR6 AND VAR9=0;
VAR17:=(CLOSE/OPEN)>1.04 AND CLOSE<SMA(HIGH,19,3) AND C>REF(C,1) AND VAR9=0;
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
VAR18:=REF(C,1)/C>1.1;
VAR19:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;
VAR20:=(H-MAX(C,O))/MAX(C,O)*100;
VAR21:=MAX(MA30,MAX(MA60,MA120));
VAR22:=MIN(MA30,MIN(MA60,MA120));
VAR23:=IF(MA30<>VAR21 AND MA30<>VAR22,MA30,IF(MA60<>VAR21 AND MA60<>VAR22,MA60,MA120));
VAR24:=(VAR21-VAR22)/VAR22*100;
VAR25:=(VAR21-VAR23)/VAR23*100;
VAR26:=MA30>MA60 AND MA60>MA120;
VAR27:=(VAR21-C)/C*100;{zbgs3.com}
VAR28:=(REF(MIN(C,O),1)-MAX(C,O))/MAX(C,O)*100;
VAR29:=(REF(VAR9,1) OR (REF(VAR19<0.7,1) AND REF(MAX(OPEN,C),1)*1.01>REF(MIN(OPEN,C),2))) AND (VAR9 OR VAR16) AND BARSLASTCOUNT(VAR19<3.9)=2 AND C>REF(C,1) AND OPEN<VAR21;
VAR30:=BARSLASTCOUNT(OPEN<REF(OPEN,1) AND C<REF(C,1))=2 AND BARSLASTCOUNT(OPEN>C AND VAR19>4)=3;
VAR31:=BARSLAST(VAR30);
VAR32:=VAR30 AND BARSLASTCOUNT(VAR3 AND VAR7=0)>=3 AND REF(VAR7,4);
VAR33:=C>VAR23 AND C<VAR21 AND C*1.02>REF(C,VAR31) AND REF(VAR32,1) AND COUNT(VAR18,5)=0;
VAR34:=VAR30 AND REF(VAR15,1) AND REF(VAR15,2);
VAR35:=C>VAR21 AND C*1.02>REF(C,VAR31) AND REF(VAR34,1);
VAR36:=VAR30 AND VAR32=0 AND VAR34=0;
VAR37:=REF(C*1.02,1)>REF(C,2) AND REF(VAR36,2) AND VAR29 AND (VAR20<4 OR VAR24<14) AND (VAR26 OR VAR25<1) AND VAR24<10.4;
VAR38:=VAR30 AND C<VAR21 AND C>VAR22;
VAR39:=REF(VAR38,2) AND C>REF(C,VAR31) AND C<VAR21 AND C*1.01>MA60 AND VAR27<10 AND REF(VAR9,1) AND (VAR9 OR VAR16) AND BARSLASTCOUNT(VAR19<4.9)=2 AND C>REF(C,1);
VAR40:=(BARSLASTCOUNT(VAR19>2.1)>=3 AND BARSLASTCOUNT(VAR28>2.1)>=2 AND COUNT(VAR28>5.5,2));
VAR41:=BARSLAST(VAR40);
VAR42:=VAR40 AND BARSLASTCOUNT(VAR19<4)>=3;
VAR43:=C>VAR23 AND REF(VAR42,1) AND VAR29 AND C>REF(MIN(OPEN,C),VAR41);
VAR44:=COUNT(VAR40 AND C>VAR21,11)>=1;
VAR45:=VAR44 AND VAR21*1.01>OPEN AND C>VAR21 AND C>REF(C,1) AND VAR17;
VAR46:=VAR30 OR VAR40;
VAR47:=REF(VAR46,2) AND REF(VAR9 AND VAR19>5.5,1) AND (VAR17 OR VAR16) AND BARSLASTCOUNT(C>REF(C,1))=2 AND (C<VAR22 OR LLV(L,5)>VAR21);
反转1:VAR33 OR VAR35 OR VAR37 OR VAR39 OR VAR43 OR VAR45 OR VAR47;



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


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

VAR1赋值:(收盘价>1日前的收盘价 AND 收盘价>2日前的收盘价)
VAR2赋值:1日前的VAR1 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR3赋值:收盘价<1日前的收盘价 AND 收盘价<2日前的收盘价
VAR4赋值:1日前的VAR3 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR5赋值:1日前的VAR3 OR VAR4 AND VAR1
VAR6赋值:VAR5 AND 收盘价>开盘价
VAR7赋值:(1日前的VAR1 OR VAR2) AND VAR3
VAR8赋值:IF(C>C的4日简单移动平均,1,0)+IF(CREF(C的5日简单移动平均,1),1,0)+IF(C的5日简单移动平均 VAR9赋值:VAR8=-2 AND C>O
{ZBGS3.COM} VAR10:=IF(C>C的4日简单移动平均,1,0)
VAR11:=IF(C VAR12:=IF(C的5日简单移动平均>REF(C的5日简单移动平均,1),1,0)
VAR13:=IF(C的5日简单移动平均 VAR14:=VAR10+VAR11+VAR12+VAR13
VAR15:=VAR14=2 AND C VAR16:=VAR6 AND VAR9=0
最高价的19日[3日权重]移动平均
MA30赋值:C的30日简单移动平均
MA60赋值:C的60日简单移动平均
MA120赋值:C的120日简单移动平均
VAR18:=1日前的C/C>1.1
VAR19:=(C和O较大值-C和O的较小值)/C和O的较小值*100
VAR20:=(H-C和O较大值)/C和O较大值*100
VAR21:=MAX(MA30,MAX(MA60,MA120))
VAR22:=MIN(MA30,MIN(MA60,MA120))
VAR23:=IF(MA30<>VAR21 AND MA30<>VAR22,MA30,IF(MA60<>VAR21 AND MA60<>VAR22,MA60,MA120))
VAR24:=(VAR21-VAR22)/VAR22*100
VAR25:=(VAR21-VAR23)/VAR23*100
VAR26:=MA30>MA60 AND MA60>MA120
VAR27:=(VAR21-C)/C*100
{ZBGS3.COM} VAR28:=(REF(C和O的较小值,1)-C和O较大值)/C和O较大值*100
VAR29:=(1日前的VAR9 OR (1日前的VAR19<0.7 AND REF(开盘价和C较大值,1)*1.01>REF(开盘价和C的较小值,2))) AND (VAR9 OR VAR16) AND 条件连续成立次数(VAR19<3.9)=2 AND C>REF(C,1) AND 开盘价 VAR30:= 条件连续成立次数(开盘价<1日前的开盘价 AND C<1日前的C)=2 AND 条件连续成立次数(开盘价>C AND VAR19>4)=3
VAR31:=上次VAR30距今天数
VAR32:=VAR30 AND 条件连续成立次数(VAR3 AND VAR7=0)>=3 AND 4日前的VAR7
VAR33:=C>VAR23 AND CVAR31日前的C AND 1日前的VAR32 AND 统计5日满足VAR18的天数=0
VAR34:=VAR30 AND 1日前的VAR15 AND 2日前的VAR15
VAR35:=C>VAR21 AND C*1.02>VAR31日前的C AND 1日前的VAR34
VAR36:=VAR30 AND VAR32=0 AND VAR34=0
VAR37:=1日前的C*1.02>2日前的C AND 2日前的VAR36 AND VAR29 AND (VAR20<4 OR VAR24<14) AND (VAR26 OR VAR25<1) AND VAR24<10.4
VAR38:=VAR30 AND CVAR22
VAR39:=2日前的VAR38 AND C>VAR31日前的C AND CMA60 AND VAR27<10 AND 1日前的VAR9 AND (VAR9 OR VAR16) AND 条件连续成立次数(VAR19<4.9)=2 AND C>1日前的C
VAR40:=( 条件连续成立次数(VAR19>2.1)>=3 AND 条件连续成立次数(VAR28>2.1)>=2 AND COUNT(VAR28>5.5,2))
VAR41:=上次VAR40距今天数
VAR42:=VAR40 AND 条件连续成立次数(VAR19<4)>=3
VAR43:=C>VAR23 AND 1日前的VAR42 AND VAR29 AND C>REF(开盘价和C的较小值,VAR41)
VAR44:=统计11日满足VAR40 AND C>VAR21的天数>=1
VAR45:=VAR44 AND VAR21*1.01>开盘价 AND C>VAR21 AND C>1日前的C AND VAR17
VAR46:=VAR30 OR VAR40
VAR47:=2日前的VAR46 AND 1日前的VAR9 AND VAR19>5.5 AND (VAR17 OR VAR16) AND 条件连续成立次数(C>1日前的C)=2 AND (CVAR21)
输出反转1:VAR33 OR VAR35 OR VAR37 OR VAR39 OR VAR43 OR VAR45 OR VAR47

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

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