分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]封牛支撑(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:16.0 KB
官方主页:Home Page
更新时间:2020-02-17 01:04:51
软件简介:

 {公式名称: 封牛撑压}

{主图叠加}
 
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,
[url=http://www.70822.com/soft/sort013/sort05/down-145197.html]封牛支撑(通达信公式 主图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:78.12500 毫秒