{公式名称: 多空通道
公式描述: 量学看盘系统主图十二
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
短上轨:EMA(HIGH,24),COLORRED;
短下轨:EMA(LOW,24),COLORGREEN;
NOTEXT短下轨0:IF(CLOSE>短下轨,短下轨,DRAWNULL),COLORRED;
NOTEXT短下轨1:IF(CLOSE<短下轨,短下轨,DRAWNULL),COLORGREEN;
NOTEXT短上轨0:IF(CLOSE>短上轨,短上轨,DRAWNULL),COLORRED;
NOTEXT短上轨1:IF(CLOSE<短上轨,短上轨,DRAWNULL),COLORGREEN;
STICKLINE(CLOSE>短上轨,短上轨,短下轨,0,0),COLORRED;
STICKLINE(CLOSE<短下轨,短上轨,短下轨,0,0),COLORGREEN;
短轨差:短上轨-短下轨,NODRAW,COLORYELLOW;
长上轨:EMA(HIGH,90),COLORMAGENTA;
长下轨:EMA(LOW,90),COLORBLUE;
X_1:=TESTSKIP(DATE>116113088);
NOTEXT长下轨0:IF(CLOSE>长下轨,长下轨,DRAWNULL),COLORMAGENTA;
NOTEXT长下轨1:IF(CLOSE<长下轨,长下轨,DRAWNULL),COLORBLUE;
NOTEXT长上轨0:IF(CLOSE>长上轨,长上轨,DRAWNULL),COLORMAGENTA;
NOTEXT长上轨1:IF(CLOSE<长上轨,长上轨,DRAWNULL),COLORBLUE;
STICKLINE(CLOSE>长上轨,长上轨,长下轨,0,0),COLORMAGENTA;
STICKLINE(CLOSE<长下轨,长上轨,长下轨,0,0),COLORBLUE;
长轨差:长上轨-长下轨,NODRAW,COLORYELLOW;{WWW.fxjgsw.com}
DRAWNUMBER(REF(CLOSE,3)<REF(短下轨,3) OR REF(CLOSE,3)<REF(短上轨,3) AND (REF(CLOSE,2)<REF(短下轨,2) OR REF(CLOSE,2)<REF(短上轨,2)) AND (REF(CLOSE,1)<REF(短下轨,1) OR REF(CLOSE,1)<REF(短上轨,1)) AND CLOSE>短上轨 AND 短上轨<长下轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,4),COLORBROWN;
DRAWNUMBER(REF(CLOSE,3)<REF(短下轨,3) OR REF(CLOSE,3)<REF(短上轨,3) AND (REF(CLOSE,2)<REF(短下轨,2) OR REF(CLOSE,2)<REF(短上轨,2)) AND (REF(CLOSE,1)<REF(短下轨,1) OR REF(CLOSE,1)<REF(短上轨,1)) AND CLOSE>短上轨 AND CLOSE>长上轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,10),COLORBROWN;
DRAWNUMBER(REF(CLOSE,3)<REF(长下轨,3) OR REF(CLOSE,3)<REF(长上轨,3) AND (REF(CLOSE,2)<REF(长下轨,2) OR REF(CLOSE,2)<REF(长上轨,2)) AND (REF(CLOSE,1)<REF(长下轨,1) OR REF(CLOSE,1)<REF(长上轨,1)) AND CLOSE>长上轨 AND CLOSE>短上轨 AND COUNT(CLOSE<长下轨,6)>0,LOW*0.96,10),COLORBROWN;
DRAWNUMBER(REF(CLOSE,3)>REF(短上轨,3) OR REF(CLOSE,3)>REF(短下轨,3) AND (REF(CLOSE,2)>REF(短上轨,2) OR REF(CLOSE,2)>REF(短下轨,2)) AND (REF(CLOSE,1)>REF(短上轨,1) OR REF(CLOSE,1)>REF(短下轨,1)) AND CLOSE<短下轨 AND 短上轨>长上轨 AND CLOSE>长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,6),COLORBROWN;
DRAWNUMBER(REF(CLOSE,3)>REF(短上轨,3) OR REF(CLOSE,3)>REF(短下轨,3) AND (REF(CLOSE,2)>REF(短上轨,2) OR REF(CLOSE,2)>REF(短下轨,2)) AND (REF(CLOSE,1)>REF(短上轨,1) OR REF(CLOSE,1)>REF(短下轨,1)) AND CLOSE<短下轨 AND 短下轨<长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,0),COLORBROWN;
DRAWNUMBER(REF(CLOSE,3)>REF(长上轨,3) OR REF(CLOSE,3)>REF(长下轨,3) AND (REF(CLOSE,2)>REF(长上轨,2) OR REF(CLOSE,2)>REF(长下轨,2)) AND (REF(CLOSE,1)>REF(长上轨,1) OR REF(CLOSE,1)>REF(长下轨,1)) AND CLOSE<长下轨 AND CLOSE<短下轨 AND COUNT(CLOSE>长上轨,6)>0,HIGH*1.04,0),COLORBROWN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_2:=CONST(HHV(REF(HIGH,1),240));
X_3:=CONST(LLV(REF(LOW,1),240));
X_4:=X_2-X_3;
X_5:=LOW-X_4*0.03;
X_6:=HIGH+X_4*0.03;
X_7:=CLOSE>500;
X_8:=MAX(CLOSE,OPEN);
X_9:=MIN(CLOSE,OPEN);
X_10:=0;
X_11:=1;
X_12:=IF(X_7,HIGH,X_8);
X_13:=IF(X_7,LOW,X_9);
X_14:=IF(CLOSE>OPEN,IF(X_11=0,LOW,X_13),IF(X_11=0,HIGH,X_12));
X_15:=2/1000;
{WWW.fxjgsw.com}
X_16:=CURRBARSCOUNT;
X_17:=120;
X_18:=X_16<=X_17;
X_19:=LOW;
X_20:=IF(X_10=0,X_19,REF(X_10,X_10));
基准价:IF(X_18,CONST(X_20),DRAWNULL),DOTLINE,COLORRED;
X_21:=基准价;
X_22:=X_21*X_15;
X_23:=ABS(LOW-X_21)<=X_22;
X_24:=ABS(OPEN-X_21)<=X_22;
X_25:=ABS(CLOSE-X_21)<=X_22;
X_26:=ABS(HIGH-X_21)<=X_22;
X_27:=X_23 OR X_24 OR X_25 OR X_26 AND X_18 AND X_16!=1;
X_28:=COUNT(X_27,X_17);
精准点个数:IF(X_28>0,X_28+1,0),NODRAW,COLORRED;
X_29:=5;
X_30:=REF(HIGH,X_29)=HHV(HIGH,2*X_29+1);
X_31:=FILTER(X_30,X_29);
X_32:=BACKSET(X_31,X_29+1);
X_33:=FILTER(X_32,X_29);
X_34:=REF(HIGH,BARSLAST(X_33));
X_35:=REF(MAX(CLOSE,OPEN),X_29)=HHV(MAX(CLOSE,OPEN),2*X_29+1);
X_36:=FILTER(X_35,X_29);
X_37:=BACKSET(X_36,X_29+1);
X_38:=FILTER(X_37,X_29);
X_39:=REF(MAX(CLOSE,OPEN),BARSLAST(X_38));
X_40:=REF(LOW,X_29)=LLV(LOW,2*X_29+1);
X_41:=FILTER(X_40,X_29);
X_42:=BACKSET(X_41,X_29+1);
X_43:=FILTER(X_42,X_29);
X_44:=REF(LOW,BARSLAST(X_43));
X_45:=REF(MIN(CLOSE,OPEN),X_29)=LLV(MIN(CLOSE,OPEN),2*X_29+1);
X_46:=FILTER(X_45,X_29);
X_47:=BACKSET(X_46,X_29+1);
X_48:=FILTER(X_47,X_29);
X_49:=REF(MIN(CLOSE,OPEN),BARSLAST(X_48));
X_50:=IF(X_11=0,X_34,X_39);
X_51:=IF(X_11=0,X_44,X_49);
STICKLINE(X_50=REF(X_50,1),X_50,X_50,5,0),COLORMAGENTA;
STICKLINE(X_51=REF(X_51,1),X_51,X_51,5,0),COLORRED;
X_52:=X_12-(X_12-X_13)/3;
X_53:=X_13+(X_12-X_13)/3;
X_54:=X_13+(X_12-X_13)/2;
X_55:=1+IF(X_7,2,4.92)/100;
X_56:=X_12/X_13>=X_55 OR CLOSE/REF(CLOSE,1)>=X_55;
STICKLINE(X_56,X_52,X_52,1,0),COLORBLUE;
STICKLINE(X_56,X_54,X_54,1,0),COLORBLUE;
STICKLINE(X_56,X_53,X_53,1,0),COLORBLUE;
STICKLINE(X_27,X_21,X_21,3,1),COLORBLUE;
STICKLINE(X_16=1,X_21,X_21,3,1),COLORBLUE;
X_57:=IF(X_11=0,BARSLAST(X_33)>0,BARSLAST(X_38)>0) AND (ABS(LOW-X_50)<=X_50*X_15 OR ABS(X_9-X_50)<=X_50*X_15);
X_58:=IF(X_11=0,BARSLAST(X_43)>0,BARSLAST(X_48)>0) AND (ABS(LOW-X_51)<=X_51*X_15 OR ABS(X_9-X_51)<=X_51*X_15);
STICKLINE(X_57,X_50,X_50,1,1),COLORBLUE;
STICKLINE(X_58,X_51,X_51,1,1),COLORBLUE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_59:=AMOUNT/VOL/100;
X_60:=CLOSE>OPEN AND REF(CLOSE,1)>X_59 AND CLOSE>X_59 AND CLOSE<300;
STICKLINE(X_60,OPEN,CLOSE,1,0),COLORLICYAN;
X_61:=OPEN>CLOSE AND CLOSE<X_59 AND X_59>REF(CLOSE,1);
STICKLINE(X_61,OPEN,CLOSE,1,0),COLORRED;
X_62:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
X_63:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND X_62;
STICKLINE(X_63,OPEN,CLOSE,1,0),COLORBLUE;
X_64:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_65:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_64>=4.945;
X_66:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_64<=(-4.945);
涨停价:IF(X_65,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(X_66,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
X_67:=REF(CLOSE,1);{WWW.fxjgsw.com}
X_68:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(X_68,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(X_68,OPEN,CLOSE,1,0),COLORMAGENTA;
X_69:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(X_69,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_69,H |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!