{公式名称: 封牛撑压} {主图叠加}
DRAWGBK(CLOSE>0,RGB(1,1,1),RGB(1,1,1),0,0,1);
X_1:=7;
X_2:=7;
X_3:=10;
X_4:=120;
X_5:=1;
X_6:=EMA(INDEXC,120)/EMA(CLOSE,120);
X_7:=1;
X_8:=1;
X_9:=IF(FINANCE(3)!=0,(INDEXC/X_6+0.812*REF(INDEXC/X_6,1)+0.618*REF(INDEXC/X_6,2)+0.382*REF(INDEXC/X_6,3)+0.191*REF(INDEXC/X_6,4))/3.003,DRAWNULL);
X_10:=IF(X_7,EMA(HY_INDEXC,120)/EMA(CLOSE,120),0);
X_11:=IF(FINANCE(3)!=0,(HY_INDEXC/X_10+0.812*REF(HY_INDEXC/X_10,1)+0.618*REF(HY_INDEXC/X_10,2)+0.382*REF(HY_INDEXC/X_10,3)+0.191*REF(HY_INDEXC/X_10,4))/3.003,DRAWNULL);
X_12:=(CLOSE+0.812*REF(CLOSE,1)+0.618*REF(CLOSE,2)+0.382*REF(CLOSE,3)+0.191*REF(CLOSE,4))/3.003;
DRAWBAND(X_9,RGB(38,38,38),X_11,RGB(38,38,38));
X_13:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_14:=X_13;
X_15:=IF(CLOSE<500 AND SETCODE<=2,0,(20*X_14+19*REF(X_14,1)+18*REF(X_14,2)+17*REF(X_14,3)+16*REF(X_14,4)+15*REF(X_14,5)+14*REF(X_14,6)+13*REF(X_14,7)+12*REF(X_14,8)+11*REF(X_14,9)+10*REF(X_14,10)+9*REF(X_14,11)+8*REF(X_14,12)+7*REF(X_14,13)+6*REF(X_14,14)+5*REF(X_14,15)+4*REF(X_14,16)+3*REF(X_14,17)+2*REF(X_14,18)+REF(X_14,20))/210);
X_16:=IF(FINANCE(3)!=0,DRAWNULL,MA(X_15,5));
DRAWBAND(X_15,RGB(99,0,0),X_16,RGB(0,99,0));
X_17:=LOW>REF(HIGH,1)+0.001;
X_18:=BARSLAST(X_17);
X_19:=COUNT(LOW>REF(HIGH,X_18+1),X_18+1)=X_18+1;
X_20:=CROSS(BACKSET(X_19>0 AND ISLASTBAR,X_18+1),0.5);
X_21:=BARSLAST(X_20);
X_22:=IF(CURRBARSCOUNT<=CONST(X_21+1),CONST(LLV(LOW,X_21+1)),DRAWNULL);
X_23:=IF(CURRBARSCOUNT<=CONST(X_21+1),REF(HIGH,X_21+1),DRAWNULL);
STICKLINE(CURRBARSCOUNT<=CONST(X_21+1),X_22,X_23,15,0),COLORGRAY;
X_24:=HIGH<REF(LOW,1)-0.001;
X_25:=BARSLAST(X_24);
X_26:=COUNT(HIGH<REF(LOW,X_25+1),X_25+1)=X_25+1;
X_27:=CROSS(BACKSET(X_26>0 AND ISLASTBAR,X_25+1),0.5);
X_28:=BARSLAST(X_27);
X_29:=IF(CURRBARSCOUNT<=CONST(X_28+1),CONST(HHV(HIGH,X_28+1)),DRAWNULL);
X_30:=IF(CURRBARSCOUNT<=CONST(X_28+1),REF(LOW,X_28+1),DRAWNULL);
STICKLINE(CURRBARSCOUNT<=CONST(X_28+1),X_29,X_30,15,0),COLORGRAY;
X_31:=HHV((CLOSE+HIGH+LOW)/3,2);
X_32:=LLV((CLOSE+HIGH+LOW)/3,2);
X_33:=X_31;
X_34:=(X_31+X_32)/2;
X_35:=X_32;
上线:IF(1,REF(X_33,1),DRAWNULL),NODRAW,COLOR0000CC;
中线:IF(1,REF(X_34,1),DRAWNULL),NODRAW,COLORWHITE;
下线:IF(1,REF(X_35,1),DRAWNULL),NODRAW,COLORCCCC00;
X_36:=COST(1);
X_37:=COST(10);
X_38:=COST(20);
X_39:=COST(30);
X_40:=COST(40);
X_41:=COST(50);
X_42:=COST(60);
X_43:=COST(70);
X_44:=COST(80);
X_45:=COST(90);
X_46:=COST(99);
X_47:=COST(5);
X_48:=COST(15);
X_49:=COST(25);
X_50:=COST(35);
X_51:=COST(45);
X_52:=COST(55);
X_53:=COST(65);
X_54:=COST(75);
X_55:=COST(85);
X_56:=COST(95);
X_57:=X_47-X_36;
X_58:=X_37-X_47;
X_59:=X_48-X_37;
X_60:=X_38-X_48;
X_61:=X_49-X_38;
X_62:=X_39-X_49;
X_63:=X_50-X_39;
X_64:=X_40-X_50;
X_65:=X_51-X_40;
X_66:=X_41-X_51;
X_67:=X_52-X_41;
X_68:=X_42-X_52;
X_69:=X_53-X_42;
X_70:=X_43-X_53;
X_71:=X_54-X_43;
X_72:=X_44-X_54;
X_73:=X_55-X_44;
X_74:=X_45-X_55;
X_75:=X_56-X_45;
X_76:=X_46-X_56;
X_77:=MIN(X_57,MIN(X_58,MIN(X_59,MIN(X_60,MIN(X_61,MIN(X_62,MIN(X_63,MIN(X_64,MIN(X_65,MIN(X_66,MIN(X_67,MIN(X_68,MIN(X_69,MIN(X_70,MIN(X_71,MIN(X_72,MIN(X_73,MIN(X_74,MIN(X_75,X_76)))))))))))))))))));
X_78:=IF(X_57=X_77,(X_47+X_36)/2,IF(X_58=X_77,(X_47+X_37)/2,IF(X_59=X_77,(X_48+X_37)/2,IF(X_60=X_77,(X_48+X_38)/2,IF(X_61=X_77,(X_49+X_38)/2,IF(X_62=X_77,(X_49+X_39)/2,IF(X_63=X_77,(X_50+X_39)/2,IF(X_64=X_77,(X_50+X_40)/2,IF(X_65=X_77,(X_51+X_40)/2,IF(X_66=X_77,(X_51+X_41)/2,IF(X_67=X_77,(X_52+X_41)/2,IF(X_68=X_77,(X_52+X_42)/2,IF(X_69=X_77,(X_53+X_42)/2,IF(X_70=X_77,(X_53+X_43)/2,IF(X_71=X_77,(X_54+X_43)/2,IF(X_72=X_77,(X_54+X_44)/2,IF(X_73=X_77,(X_55+X_44)/2,IF(X_74=X_77,(X_55+X_45)/2,IF(X_75=X_77,(X_56+X_45)/2,(X_56+X_46)/2)))))))))))))))))));
止盈:REF(X_34,1),COLOREEEEEE;
筹码峰线:X_78,NODRAW,COLOR00EEEE;
永久使用:DRAWNULL,COLORCCCCCC;
X_79:=IF(X_8,X_77,0);
STICKLINE(X_79=X_57,X_36,X_47,5,0),COLORFF8800;
STICKLINE(X_79=X_58,X_37,X_47,5,0),COLORFF8800;
STICKLINE(X_79=X_59,X_48,X_37,5,0),COLORFF8800;
STICKLINE(X_79=X_60,X_38,X_48,5,0),COLORFF8800;
STICKLINE(X_79=X_61,X_49,X_38,5,0),COLORFF8800;
STICKLINE(X_79=X_62,X_39,X_49,5,0),COLORFF8800;
STICKLINE(X_79=X_63,X_50,X_39,5,0),COLORFF8800;
STICKLINE(X_79=X_64,X_40,X_50,5,0),COLORFF8800;
STICKLINE(X_79=X_65,X_51,X_40,5,0),COLORFF8800;
STICKLINE(X_79=X_66,X_41,X_51,5,0),COLORFF8800;
STICKLINE(X_79=X_67,X_52,X_41,5,0),COLORFF8800;
STICKLINE(X_79=X_68,X_42,X_52,5,0),COLORFF8800;
STICKLINE(X_79=X_69,X_53,X_42,5,0),COLORFF8800;
STICKLINE(X_79=X_70,X_43,X_53,5,0),COLORFF8800;
STICKLINE(X_79=X_71,X_54,X_43,5,0),COLORFF8800;
STICKLINE(X_79=X_72,X_44,X_54,5,0),COLORFF8800;
STICKLINE(X_79=X_73,X_55,X_43,5,0),COLORFF8800;
STICKLINE(X_79=X_74,X_45,X_55,5,0),COLORFF8800;
STICKLINE(X_79=X_75,X_56,X_45,5,0),COLORFF8800;
STICKLINE(X_79=X_76,X_46,X_56,5,0),COLORFF8800;
X_80:=IF(X_7,X_46-X_36,0);
X_81:=X_45-X_42;
X_82:=X_44-X_41;
X_83:=X_43-X_40;
X_84:=X_42-X_39;
X_85:=X_41-X_38;
X_86:=X_40-X_37;
X_87:=X_39-X_36;
STICKLINE(X_81/X_80<0.08,X_45,X_42,5,0),COLOR004455;
STICKLINE(X_82/X_80<0.08,X_44,X_41,5,0),COLOR004455;
STICKLINE(X_83/X_80<0.08,X_43,X_40,5,0),COLOR004455;
STICKLINE(X_84/X_80<0.08,X_42,X_39,5,0),COLOR004455;
STICKLINE(X_85/X_80<0.08,X_41,X_38,5,0),COLOR004455;
STICKLINE(X_86/X_80<0.08,X_40,X_37,5,0),COLOR004455;
X_88:=X_45-X_43;
X_89:=X_44-X_42;
X_90:=X_43-X_41;
X_91:=X_42-X_40;
X_92:=X_41-X_39;
X_93:=X_40-X_38;
X_94:=X_39-X_37;
STICKLINE(X_88/X_80<0.05,X_45,X_43,5,0),COLOR554400;
STICKLINE(X_89/X_80<0.05,X_44,X_42,5,0),COLOR554400;
STICKLINE(X_90/X_80<0.05,X_43,X_41,5,0),COLOR554400;
STICKLINE(X_91/X_80<0.05,X_42,X_40,5,0),COLOR554400;
STICKLINE(X_92/X_80<0.05,X_41,X_39,5,0),COLOR554400;
STICKLINE(X_93/X_80<0.05,X_40,X_38,5,0),COLOR554400;
STICKLINE(X_94/X_80<0.05,X_39,X_37,5,0),COLOR554400;
X_95:=MAX(CLOSE,OPEN);
X_96:=MIN(CLOSE,OPEN);
X_97:=MA(CLOSE,20);
X_98:=BARSLASTCOUNT(CLOSE<X_97);
X_99:=BACKSET((X_98>=4)*X_98,X_98);
X_100:=BARSLASTCOUNT(CLOSE>X_97);
X_101:=BACKSET((X_100>=4)*X_100,X_100);
X_102:=BARSLASTCOUNT(NOT(X_99 OR X_101));
X_103:=BARSLASTCOUNT(REF(X_99>0,X_102));
X_104:=BARSLASTCOUNT(REF(X_101>0,X_102));
X_105:=IF(X_7<1,0,FILTERX(LLV(X_96,X_103)=X_96,X_103));
X_106:=IF(X_8<1,0, |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!