{公式名称: 中枢
公式描述: 王任远看盘主图
无参数
公式类型: 技术指标公式-未知
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=4;
X_2:=HIGH=HHV(HIGH,X_1*5) AND HHV(HIGH,X_1*5)>REF(HHV(HIGH,X_1*5),1);
X_3:=LOW=LLV(LOW,X_1*5) AND LLV(LOW,X_1*5)<REF(LLV(LOW,X_1*5),1);
CC1:DRAWLINE(X_2,HIGH,X_3,LOW,0);
CC2:DRAWLINE(X_3,LOW,X_2,HIGH,0);
X_4:=1;
X_5:=BACKSET(LLV(LOW,5)<REF(LLV(LOW,4),1),4);
X_6:=BACKSET(X_5=0 AND REF(X_5,1)=1,2);
X_7:=IF(X_6=1 AND REF(X_6,1)=0,(-1),0);
X_8:=BACKSET(HHV(HIGH,5)>REF(HHV(HIGH,4),1),4);
X_9:=BACKSET(X_8=0 AND REF(X_8,1)=1,2);
X_10:=IF(X_9=1 AND REF(X_9,1)=0,1,0);
X_11:=IF(LOW>REF(HIGH,1),1,IF(HIGH<REF(LOW,1),(-1),0));
X_12:=BARSLAST(X_10=1);
X_13:=BARSLAST(X_7=(-1));
X_14:=LOWRANGE(LOW);
X_15:=TOPRANGE(HIGH);
X_16:=IF(X_7=(-1) AND REF(X_12,1)>REF(X_13,1) AND LLV(LOW,X_12+1)<REF(LLV(LOW,X_12+1),1),(-1),0);
X_17:=IF(X_7=(-1) AND REF(X_12,1)<=REF(X_13,1) AND (X_12>=4 OR LLV(X_11,X_12)=(-1) OR LLV(LOW,X_13+2)<REF(LLV(LOW,X_13+1),1)),(-1),0);
X_18:=IF(X_16=(-1) OR X_17=(-1) AND LOW<REF(HIGH,X_12+1),(-1),0);
X_19:=IF(X_13<4 AND HHV(X_11,X_13)!=1 OR REF(X_18,X_13)=0,1,0);
X_20:=IF(X_10=1 AND REF(X_13,1)<=REF(X_12,1) AND X_19=1 AND X_15>REF(X_14,X_13+1) AND X_15>REF(X_14,X_13) AND X_15>REF(X_15,X_12),1,0);
X_21:=IF(X_10=1 AND REF(X_13,1)>REF(X_12,1) AND HHV(HIGH,X_13+1)>REF(HHV(HIGH,X_13+1),1),1,0);
X_22:=IF(X_10=1 AND REF(X_13,1)<=REF(X_12,1) AND REF(X_18,X_13)=(-1) AND (X_13>=4 OR HHV(X_11,X_13)=1),1,0);
X_23:=IF(X_21=1 OR X_22=1 OR X_20=1 AND HIGH>REF(LOW,X_13+1),1,0);
X_24:=IF(X_12<4 AND HHV(X_11,X_12)!=1 OR REF(X_23,X_12)=0,1,0);
X_25:=IF(X_7=(-1) AND REF(X_12,1)<=REF(X_13,1) AND X_24=1 AND X_14>REF(X_15,X_12+1) AND X_14>REF(X_15,X_12) AND X_14>REF(X_14,X_13),(-1),0);
X_26:=IF(X_7=(-1) AND REF(X_12,1)>REF(X_13,1) AND LLV(LOW,X_12+1)<REF(LLV(LOW,X_12+1),1),(-1),0);
X_27:=IF(X_7=(-1) AND REF(X_12,1)<=REF(X_13,1) AND (X_12>=4 OR LLV(X_11,X_12)=(-1) OR X_25=(-1)),(-1),0);
X_28:=IF(X_26=(-1) OR X_27=(-1) AND LOW<REF(HIGH,X_12+1),(-1),0);
X_29:=BARSLAST(X_23=1);
X_30:=BARSLAST(X_28=(-1));
X_31:=IF(X_30<4 AND HHV(X_11,X_30)!=1 OR REF(X_28,X_30)=0,1,0);
X_32:=IF(X_10=1 AND REF(X_30,1)<=REF(X_29,1) AND X_31=1 AND X_15>REF(X_14,X_30+1) AND X_15>REF(X_14,X_30) AND X_15>REF(X_15,X_29),1,0);
X_33:=IF(X_10=1 AND REF(X_30,1)>REF(X_29,1) AND HHV(HIGH,X_30+1)>REF(HHV(HIGH,X_30+1),1),1,0);
X_34:=IF(X_10=1 AND REF(X_30,1)<=REF(X_29,1) AND REF(X_28,X_30)=(-1) AND (X_30>=4 OR HHV(X_11,X_30)=1),1,0);
X_35:=IF(X_33=1 OR X_34=1 OR X_32=1 AND HIGH>REF(LOW,X_30+1),1,0);
X_36:=IF(X_29<4 AND HHV(X_11,X_29)!=1 OR REF(X_33,X_29)=0,1,0);
X_37:=IF(X_7=(-1) AND REF(X_29,1)<=REF(X_30,1) AND X_36=1 AND X_14>REF(X_15,X_29+1) AND X_14>REF(X_15,X_29) AND X_14>REF(X_14,X_30),(-1),0);
X_38:=IF(X_7=(-1) AND REF(X_29,1)>REF(X_30,1) AND LLV(LOW,X_29+1)<REF(LLV(LOW,X_29+1),1),(-1),0);
X_39:=IF(X_7=(-1) AND REF(X_29,1)<=REF(X_30,1) AND (X_29>=4 OR LLV(X_11,X_29)=(-1) OR X_37=(-1)),(-1),0);
X_40:=IF(X_38=(-1) OR X_39=(-1) AND LOW<REF(HIGH,X_29+1),(-1),0);
X_41:=BARSLAST(X_35=1);
X_42:=BARSLAST(X_40=(-1));
X_43:=IF(X_42<4 AND HHV(X_11,X_42)!=1 OR REF(X_40,X_42)=0,1,0);
X_44:=IF(X_10=1 AND REF(X_42,1)<=REF(X_41,1) AND X_43=1 AND X_15>REF(X_14,X_42+1) AND X_15>REF(X_14,X_42) AND X_15>REF(X_15,X_41),1,0);
X_45:=IF(X_10=1 AND REF(X_42,1)>REF(X_41,1) AND HHV(HIGH,X_42+1)>REF(HHV(HIGH,X_42+1),1),1,0);
X_46:=IF(X_10=1 AND REF(X_42,1)<=REF(X_41,1) AND REF(X_40,X_42)=(-1) AND (X_42>=4 OR HHV(X_11,X_42)=1),1,0);
X_47:=IF(X_45=1 OR X_46=1 OR X_44=1 AND HIGH>REF(LOW,X_42+1),1,0);
X_48:=IF(X_41<4 AND HHV(X_11,X_41)!=1 OR REF(X_45,X_41)=0,1,0);
X_49:=IF(X_7=(-1) AND REF(X_41,1)<=REF(X_42,1) AND X_48=1 AND X_14>REF(X_15,X_41+1) AND X_14>REF(X_15,X_41) AND X_14>REF(X_14,X_42),(-1),0);
X_50:=IF(X_7=(-1) AND REF(X_41,1)>REF(X_42,1) AND LLV(LOW,X_41+1)<REF(LLV(LOW,X_41+1),1),(-1),0);
X_51:=IF(X_7=(-1) AND REF(X_41,1)<=REF(X_42,1) AND (X_41>=4 OR LLV(X_11,X_41)=(-1) OR X_49=(-1)),(-1),0);
X_52:=IF(X_50=(-1) OR X_51=(-1) AND LOW<REF(HIGH,X_41+1),(-1),0);
X_53:=IF(X_47=1 AND X_52=(-1) AND HIGH>REF(HIGH,REF(X_41,1)+2),1,IF(X_47=1 AND X_52=(-1) AND LOW<REF(LOW,REF(X_42,1)+2),(-1),0));
X_54:=IF(X_53=0,X_47+X_52,X_53);
局部极点:IF(X_54=(-1),LOW,IF(X_54=1,HIGH,DRAWNULL)),CIRCLEDOT,COLORLIMAGENTA;
C1:DRAWLINE(X_54=(-1),局部极点,X_54=1,局部极点,0),COLORLIGRAY;
C2:DRAWLINE(X_54=1,局部极点,X_54=(-1),局部极点,0),COLORLIGRAY;
X_55:=IF(X_4=1,C2=C1 AND X_8 AND X_54=1,DRAWNULL);
X_56:=IF(X_4=1,C2=C1 AND X_5 AND X_54=(-1),DRAWNULL);
X_57:=BARSLAST(X_55);
X_58:=CURRBARSCOUNT=CONST(X_57)+1;
X_59:=BARSLAST(X_58);
X_60:=CONST(REF(HIGH,X_59));
X_61:=REF(X_57,X_57+1)+X_57+1;
X_62:=CURRBARSCOUNT=CONST(X_61)+1;
X_63:=BARSLAST(X_62);
X_64:=CONST(REF(HIGH,X_63));
X_65:=REF(X_61,X_57+1)+X_57+1;
X_66:=CURRBARSCOUNT=CONST(X_65)+1;
X_67:=BARSLAST(X_66);
X_68:=CONST(REF(HIGH,X_67));
X_69:=BARSLAST(X_56);
X_70:=CURRBARSCOUNT=CONST(X_69)+1;
X_71:=BARSLAST(X_70);
X_72:=CONST(REF(LOW,X_71));
X_73:=REF(X_69,X_69+1)+X_69+1;
X_74:=CURRBARSCOUNT=CONST(X_73)+1;
X_75:=BARSLAST(X_74);
X_76:=CONST(REF(LOW,X_75));
X_77:=REF(X_73,X_69+1)+X_69+1;
X_78:=CURRBARSCOUNT=CONST(X_77)+1;
X_79:=BARSLAST(X_78);
X_80:=CONST(REF(LOW,X_79));
X_81:=X_72<X_76 AND X_64>X_60 AND X_73>X_57 AND X_57>X_69 AND X_61>X_73 AND CONST(CLOSE)>X_76;
X_82:=IF(X_81 AND CONST(CLOSE)<X_60,X_74,DRAWNULL);
STICKLINE(X_82,CONST(CLOSE),X_76,0,0),COLORLIMAGENTA;
X_83:=IF(X_81 AND CONST(CLOSE)<X_60,ISLASTBAR,DRAWNULL);
STICKLINE(X_83,CONST(CLOSE),X_76,0,0),COLORLIMAGENTA;
DRAWLINE(X_82=1,CONST(CLOSE),X_83=1,CONST(CLOSE),0),DOTLINE,COLORLIMAGENTA;
DRAWLINE(X_82=1,X_76,X_83=1,X_76,0),COLORLIMAGENTA;
X_84:=IF(X_81 AND CONST(CLOSE)>=X_60,X_74,DRAWNULL);
STICKLINE(X_84,X_60,X_72,0,0),COLORLIMAGENTA;
X_85:=IF(X_81 AND CONST(CLOSE)>=X_60,ISLASTBAR,DRAWNULL);
STICKLINE(X_85,X_60,X_72,0,0),COLORLIMAGENTA;
DRAWLINE(X_84=1,X_60,X_85=1,X_60,0),COLORLIMAGENTA;
DRAWLINE(X_84=1,X_72,X_85=1,X_72,0),COLORLIMAGENTA;
X_86:=X_72>X_76 AND X_60>X_64 AND X_69>X_57 AND X_61>X_69 AND X_73>X_61 AND CONST(CLOSE)<X_64;
WWWFXJGSWCOM:DRAWNULL,COLORRED;
X_87:=IF(X_86 AND CONST(CLOSE)>X_72,X_62,DRAWNULL);
STICKLINE(X_87,CONST(CLOSE),X_64,0,0),COLORGREEN;
X_88:=IF(X_86 AND CONST(CLOSE)>X_72,ISLASTBAR,DRAWNULL);
STICKLINE(X_88,CONST(CLOSE),X_64,0,0),COLORGREEN;
DRAWLINE(X_87=1,X_ |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!