【通达信源码分享】精品指标公式-二日三线

通达信免费指标 10-07 阅读:381 评论:0
【通达信源码分享】精品指标公式-二日三线
类型:指标公式|已下载:5|下载方式:免费下载
立即下载

X_1:=IF(REF(HIGH,1)=REF(HHV(HIGH,2),1),1,0);上线:IF(X_1=1,REF(HIGH,1),REF(HIGH,2)),NODRAW;X_2:=IF(REF(LOW,1)=REF(LLV(LOW,2),1),1,0);下线:IF(X_2=1,REF(LOW,1),REF(LOW,2)),NODRAW;中线:(上线+下线)/2,COLORMAGENTA,LINETHICK2;IF(CLOSE<中线,中线,DRAWNULL),COLORLICYAN,LINETHICK2;下三一:(上线-下线)*0.334+下线,COLORGREEN;上三一:(上线-下线)*0.667+下线,COLORWHITE;X_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;X_4:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_3>=4.945;X_5:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_3<=(-4.945);涨停价:IF(X_4,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;跌停价:IF(X_5,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;X_6:=REF(CLOSE,1);X_7:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);STICKLINE(X_7,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE(X_7,OPEN,CLOSE,1,0),COLORMAGENTA;X_8:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);STICKLINE(X_8,OPEN,CLOSE,2,0),COLORGREEN;STICKLINE(X_8,HIGH,LOW,0,1),COLORGREEN;X_9:=AMOUNT/VOL/100;X_10:=CLOSE>OPEN AND REF(CLOSE,1)>X_9 AND CLOSE>X_9 AND CLOSE<300;STICKLINE(X_10,OPEN,CLOSE,1,0),COLORLICYAN;X_11:=OPEN>CLOSE AND CLOSE<X_9 AND X_9>REF(CLOSE,1);STICKLINE(X_11,OPEN,CLOSE,1,0),COLORRED;X_12:=1;X_13:=CLOSE>500;X_14:=MAX(CLOSE,OPEN);X_15:=MIN(CLOSE,OPEN);X_16:=IF(X_13,HIGH,X_14);X_17:=IF(X_13,LOW,X_15);X_18:=IF(CLOSE>OPEN,IF(X_12=0,LOW,X_17),IF(X_12=0,HIGH,X_16));X_19:=X_16-(X_16-X_17)/3;X_20:=X_17+(X_16-X_17)/3;X_21:=X_17+(X_16-X_17)/2;X_22:=1+IF(X_13,2,4.92)/100;X_23:=X_16/X_17>=X_22 OR CLOSE/REF(CLOSE,1)>=X_22;STICKLINE(X_23,X_19,X_19,2,0),COLORBROWN;STICKLINE(X_23,X_21,X_21,3,0),COLORBROWN;STICKLINE(X_23,X_20,X_20,2,0),COLORBROWN;X_24:=1.3;X_25:=1;X_26:=0;X_27:=MA(CLOSE,5);X_28:=MA(CLOSE,10);X_29:=MA(CLOSE,20);X_30:=X_27>REF(X_27,1) AND X_28<REF(X_28,1) AND X_29<REF(X_29,1);X_31:=REF(VOL,1);X_32:=REF(VOL,2);X_33:=REF(VOL,3);X_34:=REF(CLOSE,1);X_35:=REF(CLOSE,2);X_36:=REF(CLOSE,3);X_37:=REF(CLOSE,4);X_38:=REF(OPEN,1);X_39:=REF(OPEN,2);X_40:=REF(OPEN,3);X_41:=REF(OPEN,4);X_42:=CLOSE>=X_36 AND X_34>=X_36 AND X_35>=X_36;X_43:=LOW>X_40 AND REF(LOW,1)>X_40 AND REF(LOW,2)>X_40;X_44:=AMOUNT/VOL/100;X_45:=REF(X_44,1);X_46:=REF(X_44,2);X_47:=CLOSE>=OPEN OR (CLOSE<OPEN AND X_44>X_34);X_48:=COUNT(X_47,3)>=2;X_49:=X_36>X_40;X_50:=X_44>=X_45 OR CLOSE>X_34 AND (X_45>=X_46 OR X_34>=X_35);X_51:=(CLOSE+X_34+X_35)/3>X_36;X_52:=VOL>X_31 AND X_31>X_32;X_53:=VOL<=X_31 AND X_31<=X_32;X_54:=(VOL+X_31+X_32)/3<=X_33 AND NOT(X_52);X_55:=CLOSE/VOL;X_56:=X_55>=REF(X_55,1) AND REF(X_55,1)>=REF(X_55,2);X_57:=(CLOSE+X_34+X_35)/3/X_36;X_58:=(VOL+X_31+X_32)/3/X_33;X_59:=X_24*X_57/X_58>1;X_60:=X_40>X_37 AND X_37>X_41;X_61:=X_49 AND X_50 AND X_53 AND X_42 AND X_43 AND X_60;X_62:=BACKSET(X_61,5);X_63:=FILTER(X_62,4);X_64:=X_49 AND X_50 AND X_53 AND X_42 AND X_43;X_65:=BACKSET(X_64,4);X_66:=FILTER(X_65,3);X_67:=X_64 AND REF(X_64,1);X_68:=BACKSET(X_67,4);X_69:=FILTER(X_68,3);X_70:=X_64 AND REF(X_64,2);X_71:=BACKSET(X_70,4);X_72:=FILTER(X_71,3);X_73:=X_64 AND REF(X_64,3);X_74:=BACKSET(X_73,4);X_75:=FILTER(X_74,3);X_76:=X_49 AND X_50 AND X_54 AND NOT(X_52) AND X_42 AND X_43 AND X_60 AND NOT(X_64) AND NOT(X_61);X_77:=BACKSET(X_76,5);X_78:=FILTER(X_77,4);X_79:=X_49 AND X_50 AND X_54 AND NOT(X_52) AND X_42 AND X_43 AND NOT(X_64) AND NOT(X_61);X_80:=BACKSET(X_79,4);X_81:=FILTER(X_80,3);X_82:=X_79 AND REF(X_79,1);X_83:=BACKSET(X_82,4);X_84:=FILTER(X_83,3);X_85:=X_79 AND REF(X_79,2);X_86:=BACKSET(X_85,4);X_87:=FILTER(X_86,3);X_88:=X_79 AND REF(X_79,3);X_89:=BACKSET(X_88,4);X_90:=FILTER(X_89,3);X_91:=X_49 AND X_51 AND X_53 AND X_42 AND X_43 AND X_60 AND NOT(X_64) AND NOT(X_79) AND NOT(X_61) AND NOT(X_76);X_92:=BACKSET(X_91,5);X_93:=FILTER(X_92,4);X_94:=X_49 AND X_51 AND X_53 AND X_42 AND X_43 AND NOT(X_64) AND NOT(X_79) AND NOT(X_61) AND NOT(X_76);X_95:=BACKSET(X_94,4);X_96:=FILTER(X_95,3);X_97:=X_94 AND REF(X_94,1);X_98:=BACKSET(X_97,4);X_99:=FILTER(X_98,3);X_100:=X_94 AND REF(X_94,2);X_101:=BACKSET(X_100,4);X_102:=FILTER(X_101,3);X_103:=X_94 AND REF(X_94,3);X_104:=BACKSET(X_103,4);X_105:=FILTER(X_104,3);X_106:=X_49 AND X_51 AND X_54 AND X_42 AND X_43 AND X_60 AND NOT(X_64) AND NOT(X_61) AND NOT(X_79) AND NOT(X_76) AND NOT(X_94) AND NOT(X_91);X_107:=BACKSET(X_106,5);X_108:=FILTER(X_107,4);X_109:=X_49 AND X_51 AND X_54 AND X_42 AND X_43 AND NOT(X_64) AND NOT(X_79) AND NOT(X_94) AND NOT(X_61) AND NOT(X_76) AND NOT(X_91);X_110:=BACKSET(X_109,4);X_111:=FILTER(X_110,3);X_112:=X_109 AND REF(X_109,1);X_113:=BACKSET(X_112,4);X_114:=FILTER(X_113,3);X_115:=X_109 AND REF(X_109,2);X_116:=BACKSET(X_115,4);X_117:=FILTER(X_116,3);X_118:=X_109 AND REF(X_109,3);X_119:=BACKSET(X_118,4);X_120:=FILTER(X_119,3);X_121:=X_49 AND X_51 AND X_59 AND X_42 AND X_43 AND X_60 AND NOT(X_64) AND NOT(X_79) AND NOT(X_94) AND NOT(X_109) AND NOT(X_61) AND NOT(X_76) AND NOT(X_91) AND NOT(X_106);X_122:=BACKSET(X_121,5);X_123:=FILTER(X_122,4);X_124:=X_49 AND X_51 AND X_59 AND X_42 AND X_43 AND NOT(X_64) AND NOT(X_79) AND NOT(X_94) AND NOT(X_109) AND NOT(X_61) AND NOT(X_76) AND NOT(X_91) AND NOT(X_106);X_125:=BACKSET(X_124,4);X_126:=FILTER(X_125,3);X_127:=X_124 AND REF(X_124,1);X_128:=BACKSET(X_127,4);X_129:=FILTER(X_128,3);X_130:=X_124 AND REF(X_124,2);X_131:=BACKSET(X_130,4);X_132:=FILTER(X_131,3);X_133:=X_124 AND REF(X_124,3);X_134:=BACKSET(X_133,4);X_135:=FILTER(X_134,3);X_136:=X_49 AND X_51 AND X_56 AND X_42 AND X_43 AND X_60 AND NOT(X_64) AND NOT(X_79) AND NOT(X_94) AND NOT(X_109) AND NOT(X_124) AND NOT(X_61) AND NOT(X_76) AND NOT(X_91) AND NOT(X_106) AND NOT(X_121);X_137:=BACKSET(X_136,5);X_138:=FILTER(X_137,4);X_139:=X_49 AND X_51 AND X_56 AND X_42 AND X_43 AND NOT(X_64) AND NOT(X_79) AND NOT(X_94) AND NOT(X_109) AND NOT(X_124) AND NOT(X_61) AND NOT(X_76) AND NOT(X_91) AND NOT(X_106) AND NOT(X_121);X_140:=BACKSET(X_139,4);X_141:=FILTER(X_140,3);X_142:=X_139 AND REF(X_139,1);X_143:=BACKSET(X_142,4);X_144:=FILTER(X_143,3);X_145:=X_139 AND REF(X_139,2);X_146:=BACKSET(X_145,4);X_147:=FILTER(X_146,3);X_148:=X_139 AND REF(X_139,3);X_149:=BACKSET(X_148,4);X_150:=FILTER(X_149,3);X_151:=X_66 AND NOT(REF(X_66,4)) OR (X_69 AND NOT(REF(X_69,4))) OR (X_72 AND NOT(REF(X_72,4))) OR (X_75 AND NOT(REF(X_75,4)));X_152:=X_81 AND NOT(REF(X_81,4)) OR (X_84 AND NOT(REF(X_84,4))) OR (X_87 AND NOT(REF(X_87,4))) OR (X_90 AND NOT(REF(X_90,4)));X_153:=X_96 AND NOT(REF(X_96,4)) OR (X_99 AND NOT(REF(X_99,4))) OR (X_102 AND NOT(REF(X_102,4))) OR (X_105 AND NOT(REF(X_105,4)));X_154:=X_111 AND NOT(REF(X_111,4)) OR (X_114 AND NOT(REF(X_114,4))) OR (X_117 AND NOT(REF(X_117,4))) OR (X_120 AND NOT(REF(X_120,4)));X_155:=X_126 AND NOT(REF(X_126,4)) OR (X_129 AND NOT(REF(X_129,4))) OR (X_132 AND NOT(REF(X_132,4))) OR (X_135 AND NOT(REF(X_135,4)));X_156:=X_141 AND NOT(REF(X_141,4)) OR (X_144 AND NOT(REF(X_144,4))) OR (X_147 AND NOT(REF(X_147,4))) OR (X_150 AND NOT(REF(X_150,4)));X_157:=X_151 OR X_152 OR X_153 OR X_154 OR X_155 OR X_156;STICKLINE(X_157 AND NOT(REF(X_157,4)),OPEN,CLOSE,1,0),COLOR0099FF;X_158:=SUMBARS(X_157,1);X_159:=X_63 AND NOT(REF(X_63,5));X_160:=X_78 AND NOT(REF(X_78,5));X_161:=X_93 AND NOT(REF(X_93,5));X_162:=X_108 AND NOT(REF(X_108,5));X_163:=X_123 AND NOT(REF(X_123,5));X_164:=X_138 AND NOT(REF(X_138,5));X_165:=X_159 OR X_160 OR X_161 OR X_162 OR X_163 OR X_164;STICKLINE(X_165 AND NOT(REF(X_165,5)),OPEN,CLOSE,1,0),COLORRED;X_166:=SUMBARS(X_165,1);X_167:=X_64 OR X_79 OR X_94 OR X_109 OR X_124 OR X_139 AND X_30 AND X_26;X_168:=BACKSET(X_167,4);X_169:=FILTER(X_168,3);STICKLINE(X_169 AND NOT(REF(X_169,4)),OPEN,CLOSE,1,0),COLOR0099FF;X_170:=X_61 OR X_76 OR X_91 OR X_106 OR X_121 OR X_136 AND X_30 AND X_26;X_171:=BACKSET(X_170,5);X_172:=FILTER(X_171,5);STICKLINE(X_172 AND NOT(REF(X_172,4)),OPEN,CLOSE,1,0),COLOR0099FF;

版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服