{公式名称: 方大炭素
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
var1:=ma(close,13);
var2:=ma(close,34);
var3:=ma(close,55);
var4:=open<var1 and close>var1;
var5:=open<var2 and close>var2;
var6:=open<var3 and close>var3;
var7:=close/open>=1.04;
var8:=vol>hhv(high,10);
var9:=var1>=ref(var1,1);
var10:=1;
var11:=var4 and var5 and var6 and var7 and var8 and var9;
var12:=ma(close,5);
var13:=ma(close,10);
var14:=ma(close,30);
var22:=sum(close*vol*100,28)/sum(vol*100,28);
var23:=intpart(var22*100)/100;
var24:=ema(close,5)-ema(close,10)*var10;
var25:=ema(var24,9);
var27:=1;{ }
var31:=ref(var25,1)*var27;
var32:=var25;
var33:=var32-var31;
var34:=ref(var24,1)*var10;
var35:=var24;
var36:=var35-var34;
var37:=open;
var38:=close;
var39:=var37<=var12 and var37<=var13 and var37<=var14 and var38>=var12 and var38>=var23 and var33>0 and var36>0;
var40:=(ema(close,4)+ma(close,8)+ma(close,16))/3;
var41:=(ema(close,6)+ma(close,12)+ma(close,24))/3;
var42:=(ema(close,9)+ma(close,18)+ma(close,36))/3;
var43:=(ema(close,13)+ma(close,26)+ma(close,52))/3;
var44:=(ema(close,18)+ma(close,36)+ma(close,72))/3;
var45:=(ema(close,24)+ma(close,48)+ma(close,96))/3;
var46:=open<var40 and open<var41 and open<var42 and open<var43 and open<var44 and open<var45 and close>var40 and close>var41 and close>var42 and close>var43 and close>var44 and close>var45;
var47:=close;
var48:=(ma(var47,3)+ma(var47,6)+ma(var47,12)+ma(var47,24))/4;
var49:=var48+6*std(var48,11)*var27;
var51:=vol/((high-low)*2-abs(close-open));
var52:=(if(close>open,var51*(high-low),if(close<open,var51*(high-open+close-low),vol/2))+if(close>open,0-var51*(high-close+open-low),if(close<open,0-var51*(high-low),0-vol/2)))*var27;
var53:=var52/20/1.15;{ }
var54:=(var53*0.55+ref(var53,1)*0.33+ref(var53,2)*0.22)*var10;
var55:=ema(var54,3)*var10;
var56:=sum(var55,1);
var57:=sum(var55,2);
var58:=sum(var55,3);
var59:=sum(var55,4);
var60:=sum(var55,5);
var61:=sum(var55,6);
var62:=sum(var55,7);
var63:=sum(var55,8);
var64:=sum(var55,9);
var65:=sum(var55,10);
var66:=var56 and var57 and var58 and var59 and var60 and var61 and var62 and var63 and var64 and var65 and close-open>=var49-var48 and vol/ref(vol,1)>=1.9;
var67:=datetoday(date);
var68:=vol/ref(ma(vol,5),1);
var69:=vol/capital*100;
var70:=(var68>3.75 and var68<3.77)*(var67>9435 and var67<9440) and (var69>1.44 and var69<1.46)*(var67>9435 and var67<9440);
var71:=(var68>3.28 and var68<3.3)*(var67>9225 and var67<9228) and (var69>11.79 and var69<11.81)*(var67>9225 and var67<9228);
var72:=(var68>2.07 and var68<2.08)*(var67>9322 and var67<9325) and (var69>2.68 and var69<2.7)*(var67>9322 and var67<9325);
var73:=(var68>2.08 and var68<2.1)*(var67>9672 and var67<9680) and (var69>2.76 and var69<2.78)*(var67>9672 and var67<9680);
var74:=(var68>5.7 and var68<5.72)*(var67>9735 and var67<9740) and (var69>4.85 and var69<4.87)*(var67>9735 and var67<9740);
var75:=(var68>1.58 and var68<1.6)*(var67>9690 and var67<9698) and (var69>24.07 and var69<24.09)*(var67>9690 and var67<9698);
var76:=(var68>7.92 and var68<7.94)*(var67>9565 and var67<9570) and (var69>12.46 and var69<12.48)*(var67>9565 and var67<9570);
var77:=var71 or var72 or var73 or var74 or var75 or var70 or var76;
var78:=ema((close-ma((2*close+high+low)/4,30))/ma((2*close+high+low)/4,30)*100,3)*var10;
var79:=if(cross(var78,0),40,0)*var10;
var81:=llv(low,94);
var82:=hhv(high,89)*var27;
var83:=ema((close-var81)/(var82-var81)*100,8);
var84:=ema(0.667*ref(var83,1)+0.333*var83,10);
var85:=count(var79>=40,5)>0;
var86:=if(cross(var83,var84) and var85,60,0)*var10;
var87:=var79+var86>=1;
var88:=ma(close,5);
var89:=ma(close,10);
var90:=ma(close,20);
var91:=ma(close,30)*var27;
var92:=ma(close,55)*var27;
var93:=open<var88 and open<var89 and open<var90 and low<var91 and low<var92;
var94:=close>var88 and close>var89 and high>var90 and high>var91 and high>var92;
var95:=var93 and var94;
var101:=ma(close,20);
var102:=ma(close,6);
var103:=cross(var102,var101)*var10;
var104:=(barslast(ma(close,120)<ref(ma(close,120),1) or ma(close,100)<ref(ma(close,100),1) or ma(close,80)<ref(ma(close,80),1) or ma(close,60)<ref(ma(close,60),1) or ma(close,40)<ref(ma(close,40),1) or ma(close,20)<ref(ma(close,20),1) or ma(close,15)<ref(ma(close,15),1) or ma(close,10)<ref(ma(close,10),1) or ma(close,5)<ref(ma(close,5),1))=1 and (barslast(barslastcount(vol>ref(vol,1))>1 and close>=open)<3 or (vol>ref(vol,1) and ref(close,1)<=ref(open,1))) and (close>open and barslast(low<ma(close,20))<5 and barslast(ma(close,5)<ma(close,10))<10 and (high>findhigh(max(close,close),1,19,1) or open<ma(close,5)) and (vol>max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(ma(vol,3)*(1-2/88),ma(vol,5)*(1-4/88)),ma(vol,7)*(1-6/88)),ma(vol,9)*(1-8/88)),ma(vol,11)*(1-10/88)),ma(vol,13)*(1-12/88)),ma(vol,15)*(1-14/88)),ma(vol,17)*(1-16/88)),ma(vol,19)*(1-18/88)),ma(vol,21)*(1-20/88)),ma(vol,23)*(1-22/88)),ma(vol,25)*(1-24/88)),ma(vol,27)*(1-26/88)),ma(vol,29)*(1-28/88)),ma(vol,31)*(1-30/88)),ma(vol,33)*(1-32/88)),ma(vol,35)*(1-34/88)),ma(vol,37)*(1-36/88)),ma(vol,39)*(1-38/88)) or vol>ma(vol,50)*(1+49/88))))*var10;
var105:=var11+var39+var46+var66+var87+var95+var103+var104>=7;
启动:(var77 or var105),colorred;
{ }
stickline(if(启动,(-120),0),1,0,6,0),color00bbff;
stickline(if(启动,(-120),0),1,0,5,0),color00bbff;
stickline(if(启动,(-120),0),1,0,4,0),color00bbff;
stickline(if(启动,(-120),0),1,0,3,0),color00ccff;
stickline(if(启动,(-120),0),1,0,2,0),color00ddff;
stickline(if(启动,(-120),0),1,0,1,0),color00eeff;
stickline(if(启动,(-120),0),1,0,0.9,0),coloryellow;
drawicon(启动,0.01,24);
drawicon(启动,0.1,24);
drawicon(启动,0.2,24);
drawicon(启动,0.3,24);
drawicon(启动,0.4,24);
drawicon(启动,0.5,24);
drawicon(启动,0.6,24);
drawicon(启动,0.7,24);
drawicon(启动,0.8,24);
drawicon(启动,0.9,24);
drawicon(启动,1.01,24);
{公式名称: 方大炭素}
{选股公式}
var1:=ma(close,13);
var2:=ma(close,34);
var3:=ma(close,55);
var4:=open<var1 and close>var1;
var5:=open<var2 and close>var2;
var6:=open<var3 and close>var3;
var7:=close/open>=1.04;
var8:=vol>hhv(high,10);
var9:=var1>=ref(var1,1);
var10:=1;
var11:=var4 and var5 and var6 and var7 and var8 and var9;
var12:=ma(close,5);
var13:=ma(close,10);
var14:=ma(close,30);
var22:=sum(close*vol*100,28)/sum(vol*100,28);
var23:=intpart(var22*100)/100;
var24:=ema(close,5)-ema(close,10)*var10;
var25:=ema(var24,9);
var27:=1;{ }
var31:=ref(var25,1)*var27;
var32:=var25;
var33:=var32-var31;
var34:=ref(var24,1)*var10;
var35:=var24;
var36:=var35-var34;
var37:=open;
var38:=close;
var39:=var37<=var12 and var37<=var13 and var37<=var14 and var38>=var12 and var38>=var23 and var33>0 and var36>0;
var40:=(ema(close,4)+ma(close,8)+ma(close,16))/3;
var41:=(ema(close,6)+ma(close,12)+ma(close,24))/3;
var42:=(ema(close,9)+ma(close,18)+ma(close,36))/3;
var43:=(ema(close,13)+ma(close,26)+ma(close,52))/3;
var44:=(ema(close,18)+ma(close,36)+ma(close,72))/3;
var45:=(ema(close,24)+ma(close,48)+ma(close,96))/3;
var46:=open<var40 and open<var41 and open<var42 and open<var43 and open<var44 and open<var45 and close>var40 and close>var41 and close>var42 and close>var43 and close>var44 and close>var45;
var47:=close;
var48:=(ma(var47,3)+ma(var47,6)+ma(var47,12)+ma(var47,24))/4;
var49:=var48+6*std(var48,11)*var27;
var51:=vol/((high-low)*2-abs(close-open));
var52:=(if(close>open,var51*(high-low),if(close<open,var51*(high-open+close-low),vol/2))+if(close>open,0-var51*(high-close+open-low),if(close<open,0-var51*(high-low),0-vol/2)))*var27;
var53:=var52/20/1.15;{ }
var54:=(var53*0.55+ref(var53,1)*0.33+ref(var53,2)*0.22)*var10;
var55:=ema(var54,3)*var10;
var56:=sum(var55,1);
var57:=sum(var55,2);
var58:=sum(var55,3);
var59:=sum(var55,4);
var60:=sum(var55,5);
var61:=sum(var55,6);
var62:=sum(var55,7);
var63:=sum(var55,8);
var64:=sum(var55,9);
var65:=sum(var55,10);
var66:=var56 and var57 and var58 and var59 and var60 and var61 and var62 and var63 and var64 and var65 and close-open>=var49-var48 and vol/ref(vol,1)>=1.9;
var67:=datetoday(date);
var68:=vol/ref(ma(vol,5),1);
var69:=vol/capital*100;
var70:=(var68>3.75 and var68<3.77)*(var67>9435 and var67<9440) and (var69>1.44 and var69<1.46)*(var67>9435 and var67<9440);
var71:=(var68>3.28 and var68<3.3)*(var67>9225 and var67<9228) and (var69>11.79 and var69<11.81)*(var67>9225 and var67<9228);
var72:=(var68>2.07 and var68<2.08)*(var67>9322 and var67<9325) and (var69>2.68 and var69<2.7)*(var67>9322 and var67<9325);
var73:=(var68>2.08 and var68<2.1)*(var67>9672 and var67<9680) and (var69>2.76 and var69<2.78)*(var67>9672 and var67<9680);
var74:=(var68>5.7 and var68<5.72)*(var67>9735 and var67<9740) and (var69>4.85 and var69<4.87)*(var67>9735 and var67<9740);
var75:=(var68>1.58 and var68<1.6)*(var67>9690 and var67<9698) and (var69>24.07 and var69<24.09)*(var67>9690 and var67<9698);
var76:=(var68>7.92 and var68<7.94)*(var67>9565 and var67<9570) and (var69>12.46 and var69<12.48)*(var67>9565 and var67<9570);
var77:=var71 or var72 or var73 or var74 or var75 or var70 or var76;
var78:=ema((close-ma((2*close+high+low)/4,30))/ma((2*close+high+low)/4,30)*100,3)*var10;
var79:=if(cross(var78,0),40,0)*var10;
var81:=llv(low,94);
var82:=hhv(high,89)*var27;
var83:=ema((close-var81)/(var82-var81)*100,8);
var84:=ema(0.667*ref(var83,1)+0.333*var83,10);
var85:=count(var79>=40,5)>0;
var86:=if(cross(var83,var84) and var85,60,0)*var10;
var87:=var79+var86>=1;
var88:=ma(close,5);
var89:=ma(close,10);
var90:=ma(close,20);
var91:=ma(close,30)*var27;
var92:=ma(close,55)*var27;
var93:=open<var88 and open<var89 and open<var90 and low<var91 and low<var92;
var94:=close>var88 and close>var89 and high>var90 and high>var91 and high>var92;
var95:=var93 and var94;
var101:=ma(close,20);
var102:=ma(close,6);
var103:=cross(var102,var101)*var10;
var104:=(barslast(ma(close,120)<ref(ma(close,120),1) or ma(close,100)<ref(ma(close,100),1) or ma(close,80)<ref(ma(close,80),1) or ma(close,60)<ref(ma(close,60),1) or ma(close,40)<ref(ma(close,40),1) or ma(close,20)<ref(ma(close,20),1) or ma(close,15)<ref(ma(close,15),1) or ma(close,10)<ref(ma(close,10),1) or ma(close,5)<ref(ma(close,5),1))=1 and (barslast(barslastcount(vol>ref(vol,1))>1 and close>=open)<3 or (vol>ref(vol,1) and ref(close,1)<=ref(open,1))) and (close>open and barslast(low<ma(close,20))<5 and barslast(ma(close,5)<ma(close,10))<10 and (high>findhigh(max(close,close),1,19,1) or open<ma(close,5)) and (vol>max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(max(ma(vol,3)*(1-2/88),ma(vol,5)*(1-4/88)),ma(vol,7)*(1-6/88)),ma(vol,9)*(1-8/88)),ma(vol,11)*(1-10/88)),ma(vol,13)*(1-12/88)),ma(vol,15)*(1-14/88)),ma(vol,17)*(1-16/88)),ma(vol,19)*(1-18/88)),ma(vol,21)*(1-20/88)),ma(vol,23)*(1-22/88)),ma(vol,25)*(1-24/88)),ma(vol,27)*(1-26/88)),ma(vol,29)*(1-28/88)),ma(vol,31)*(1-30/88)),ma(vol,33)*(1-32/88)),ma(vol,35)*(1-34/88)),ma(vol,37)*(1-36/88)),ma(vol,39)*(1-38/88)) or vol>ma(vol,50)*(1+49/88))))*var10;
var105:=var11+var39+var46+var66+var87+var95+var103+var104>=7;
启动:(var77 or var105),colorred;
上一指标公式:玉女心经 通达信玉女心经
下一指标公式:强弱区间强势 通达信强势区间
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文方大炭素 通达信炭素仅供学习研究。