最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 箱体捉妖指标公式源码

    正文概述    2024-05-04 04:11:59  
    HJ_1:=WINNER(CLOSE*0.9)*100; HJ_2:=100-WINNER(CLOSE*1.1)*100; HJ_3:=100-HJ_1-HJ_2; STICKLINE(1,HJ_1,HJ_1+HJ_3,3,0),COLOR009999; STICKLINE(1,HJ_1,HJ_1+HJ_3,2.5,0),COLOR00AAAA; STICKLINE(1,HJ_1,HJ_1+HJ_3,2,0),COLOR00BBBB; STICKLINE(1,HJ_1,HJ_1+HJ_3,1.5,0),COLOR00CCCC; STICKLINE(1,HJ_1,HJ_1+HJ_3,1,0),COLOR00DDDD; STICKLINE(1,HJ_1,HJ_1+HJ_3,0.5,0),COLOR00EEEE; STICKLINE(1,HJ_1,HJ_1+HJ_3,0,0),COLORYELLOW; STICKLINE(1,0,HJ_1,3,0),COLOR000077; STICKLINE(1,0,HJ_1,2.5,0),COLOR000099; STICKLINE(1,0,HJ_1,2,0),COLOR0000AA; STICKLINE(1,0,HJ_1,1.5,0),COLOR0000BB; STICKLINE(1,0,HJ_1,1,0),COLOR0000DD; STICKLINE(1,0,HJ_1,0.5,0),COLOR0000EE; STICKLINE(1,0,HJ_1,0,0),COLORRED; STICKLINE(1,HJ_1+HJ_3,100,3,0),COLOR007700; STICKLINE(1,HJ_1+HJ_3,100,2.5,0),COLOR009900; STICKLINE(1,HJ_1+HJ_3,100,2,0),COLOR00AA00; STICKLINE(1,HJ_1+HJ_3,100,1.5,0),COLOR00BB00; STICKLINE(1,HJ_1+HJ_3,100,1,0),COLOR00CC00; STICKLINE(1,HJ_1+HJ_3,100,0.5,0),COLOR00DD00; STICKLINE(1,HJ_1+HJ_3,100,0,0),COLORGREEN; HJ_4:=CLOSE-REF(CLOSE,1); HJ_5:=100*EMA(EMA(HJ_4,5),3)/EMA(EMA(Abs(HJ_4),5),3); HJ_6:=100*EMA(EMA(HJ_4,13),8)/EMA(EMA(ABS(HJ_4),13),8); HJ_7:=HJ_5 HJ_6; HJ_8:=IF(HJ_7,6,0); HJ_9:=EMA(CLOSE,8)-EMA(CLOSE,13); HJ_10:=EMA(HJ_9,5); HJ_11:=HJ_9 HJ_10; HJ_12:=IF(HJ_11,1,0); HJ_13:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4; HJ_14:=CLOSE HJ_13; HJ_15:=IF(HJ_14,5,0); HJ_16:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; HJ_17:=SMA(HJ_16,3,1); HJ_18:=SMA(HJ_17,3,1); HJ_19:=HJ_17 HJ_18; HJ_20:=IF(HJ_19,2,0); HJ_21:=REF(CLOSE,1); HJ_22:=SMA(MAX(CLOSE-HJ_21,0),5,1)/SMA(ABS(CLOSE-HJ_21),5,1)*100; HJ_23:=SMA(MAX(CLOSE-HJ_21,0),13,1)/SMA(ABS(CLOSE-HJ_21),13,1)*100; HJ_24:=HJ_22 HJ_23; HJ_25:=IF(HJ_24,3,0); HJ_26:=(-(HHV(HIGH,13)-CLOSE))/(HHV(HIGH,13)-LLV(LOW,13))*100; HJ_27:=SMA(HJ_26,3,1); HJ_28:=SMA(HJ_27,3,1); HJ_29:=HJ_27 HJ_28; HJ_30:=IF(HJ_29,4,0); HJ_31:=HJ_11+HJ_19+HJ_24+HJ_29+HJ_14+HJ_7-3; HJ_32:=HJ_31 HJ_33:=HHV(HIGH,34); HJ_34:=LLV(LOW,34); HJ_35:=EVERY(CLOSE OPEN,4); HJ_36:=EVERY(CLOSE OPEN,3); HJ_37:=HJ_35ORHJ_36; HJ_38:=REF(HJ_37,1)ANDHJ_33ANDHJ_34ANDOPEN MA(CLOSE,5)ANDOPEN MA(CLOSE,10)ANDCLOSE =MA(CLOSE,5)ANDCLOSE =MA(CLOSE,10); HJ_39:=HJ_32ANDREF(HJ_31,1) =0ANDcrOSS(CLOSE,EMA(CLOSE,5))ANDCROSS(CLOSE,EMA(CLOSE,10))ANDCROSS(CLOSE,EMA(CLOSE,20))ANDLOW REF(LOW,1)AND.MacD HJ_40:=HJ_38ORHJ_39; HJ_41:=REF(CLOSE,1); HJ_42:=SMA(MAX(CLOSE-HJ_41,0),5,1)/SMA(ABS(CLOSE-HJ_41),5,1)*100; HJ_43:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10); HJ_44:=HIGH-REF(HIGH,1); HJ_45:=REF(LOW,1)-LOW; HJ_46:=SUM(IF(HJ_44 0ANDHJ_44 HJ_45,HJ_44,0),10); HJ_47:=SUM(IF(HJ_45 0ANDHJ_45 HJ_44,HJ_45,0),10); HJ_48:=HJ_46*100/HJ_43; HJ_49:=HJ_47*100/HJ_43; HJ_50:=MA(ABS(HJ_49-HJ_48)/(HJ_49+HJ_48)*100,5); HJ_51:=HJ_42+HJ_50; HJ_52:=(HJ_50+REF(HJ_50,5))/2+HJ_42; HJ_53:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)); HJ_54:=HJ_42-HJ_53; HJ_55:=HJ_51+HJ_54; HJ_56:=IF(CROSS(HJ_55,0),1,0); HJ_57:=SMA(HJ_56,3,1); HJ_58:=SMA(HJ_57,3,1); HJ_59:=SMA(HJ_58,3,1); HJ_60:=IF(CROSS(HJ_58,HJ_59)ANDHJ_58 40,25,0); HJ_61:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50; HJ_62:=SMA(HJ_61,3,1); HJ_63:=SMA(HJ_62,3,1); HJ_64:=3*HJ_62-2*HJ_63; HJ_65:=LLV(HJ_64,2)=LLV(HJ_64,8); HJ_66:=IF(CROSS(HJ_64,3),60,0); HJ_67:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; HJ_68:=SMA(HJ_67,3,1); HJ_69:=SMA(HJ_68,3,1); HJ_70:=3*HJ_68-2*HJ_69; HJ_71:=REVERSE(HJ_70); HJ_72:=REF(MA(CLOSE,1),10) REF(MA(CLOSE,60),10); HJ_73:=IF(CROSS(HJ_70,HJ_71)ANDHJ_72,45,0); HJ_74:=HJ_60ANDREF(HJ_66,1); HJ_75:=REF(HJ_60,1)ANDHJ_66; HJ_76:=HJ_74ORHJ_75; HJ_77:=ABS(((3.48*CLOSE+HIGH+LOW+OPEN)/5-EMA(CLOSE,20))/EMA(CLOSE,20)); HJ_78:=DMA((2.15*CLOSE+LOW+HIGH+OPEN)/5,HJ_77); HJ_79:=EMA(HJ_78,200)*1.26; HJ_80:=EMA(HJ_78,200)*1.18; HJ_81:=MA((LOW+HIGH+CLOSE)/3,5); HJ_82:=HHV(HJ_81,60); HJ_83:=IF(HJ_82 REF(HJ_82,1),HJ_82,DRAWNULL); HJ_84:=CLOSE*; HJ_85:=EMA((expma(HJ_84,3)/EXPMA(VOL,3)+EXPMA(HJ_84,6)/EXPMA(VOL,6)+EXPMA(HJ_84,12)/EXPMA(VOL,12)+EXPMA(HJ_84,24)/EXPMA(VOL,24))/4,13); HJ_86:=1.06*HJ_85; HJ_87:=1.13*HJ_85; HJ_88:=MIN(HJ_83,HJ_79); HJ_89:=MIN(HJ_86,HJ_79); HJ_90:=MIN(HJ_83,HJ_80); HJ_91:=MIN(HJ_86,HJ_80); HJ_92:=REF(CLOSE,1)*1.1-CLOSE 0.01ANDHIGH=CLOSE; HJ_93:=CROSS(CLOSE,HJ_87)ANDHJ_92; HJ_94:=90; HJ_95:=3; HJ_96:=REF(LLV(LOW,HJ_94),HJ_95); HJ_97:=REFDATE(HJ_96,DATE); HJ_98:=HJ_97=LOWAND(CLOSE-LOW OPEN-CLOSEOROPEN-LOW CLOSE-OPEN); HJ_99:=HJ_93ORHJ_98; HJ_100:=HHV(HIGH,34); HJ_101:=LLV(LOW,34); HJ_102:=EVERY(CLOSE OPEN,4); HJ_103:=EVERY(CLOSE OPEN,3); HJ_104:=HJ_102ORHJ_103; HJ_105:=REF(HJ_104,1)ANDHJ_100ANDHJ_101ANDOPEN MA(CLOSE,5)ANDOPEN MA(CLOSE,10)ANDCLOSE =MA(CLOSE,5)ANDCLOSE =MA(CLOSE,10); HJ_106:=EMA(CLOSE,12)-EMA(CLOSE,26); HJ_107:=EMA(HJ_106,9); HJ_108:=HJ_106 HJ_107; HJ_109:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100; HJ_110:=SMA(HJ_109,3,1); HJ_111:=SMA(HJ_110,3,1); HJ_112:=HJ_110 HJ_111; HJ_113:=REF(CLOSE,1); HJ_114:=SMA(MAX(CLOSE-HJ_113,0),9,1)/SMA(ABS(CLOSE-HJ_113),9,1)*100; HJ_115:=SMA(MAX(CLOSE-HJ_113,0),26,1)/SMA(ABS(CLOSE-HJ_113),26,1)*100; HJ_116:=HJ_114 HJ_115; HJ_117:=SMA(HJ_109,3,1); HJ_118:=SMA(HJ_117,3,1); HJ_119:=HJ_117 HJ_118; HJ_120:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4; HJ_121:=CLOSE HJ_120; HJ_122:=CLOSE-REF(CLOSE,1); HJ_123:=100*EMA(EMA(HJ_122,9),9)/EMA(EMA(ABS(HJ_122),9),3); HJ_124:=100*EMA(EMA(HJ_122,26),12)/EMA(EMA(ABS(HJ_122),26),12); HJ_125:=HJ_123 HJ_124; HJ_126:=HJ_108ANDHJ_112ANDHJ_116ANDHJ_119ANDHJ_121ANDHJ_125; STICKLINE(HJ_126,100,108,3,0),COLORMAGENTA; HJ_127:=EMA(EMA(CLOSE,9),9); HJ_128:=100*WINNER(CLOSE*0.95); HJ_129:=EMA(CLOSE,12) EMA(CLOSE,50)ANDEMA(CLOSE,20) EMA(CLOSE,120); HJ_130:=(HJ_127-REF(HJ_127,1))/REF(HJ_127,1)*1000; HJ_131:=HJ_128 =50ANDCOST(85) =CLOSEANDHJ_130 0ANDHJ_130 REF(HJ_130,1); HJ_132:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); HJ_133:=REF(EMA(HJ_132,3),1); HJ_134:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); HJ_135:=IF(CLOSE OPEN,HJ_134*(HIGH-LOW),IF(CLOSE OPEN,HJ_134*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE OPEN,0-HJ_134*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-HJ_134*(HIGH-LOW),0-VOL/2)); HJ_136:=HJ_135/20/1.15; HJ_137:=HJ_136*0.55+REF(HJ_136,1)*0.33+REF(HJ_136,2)*0.22; HJ_138:=EMA(HJ_137,8); HJ_139:=EMA(HJ_137,3); HJ_140:=HJ_139; HJ_141:=MA(VOL,5); HJ_142:=MA(VOL,10); HJ_143:=HJ_141 =HJ_142; HJ_144:=HJ_140 HJ_145:=HJ_144ANDHJ_143; HJ_146:=MA(.K#WEEK(9,3,3),5); HJ_147:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2); HJ_148:=EMA(HJ_147,9/2); HJ_149:=HJ_146 =REF(HJ_146,1)ANDHJ_147 =HJ_148; 股:(-8),COLORRED; HJ_150:=EMA(CLOSE,3); HJ_151:=EMA(CLOSE,5); HJ_152:=EMA(HJ_151,5); HJ_153:=COUNT(CROSS(HJ_150,HJ_152),2)=1; HJ_154:=COUNT(CROSS(HJ_151,HJ_152),2)=1; HJ_155:=FILTER(HJ_153ANDHJ_154,2); 市:MA(HJ_1,10),COLORGREEN,LINETHICK4; HJ_156:=CROSS(HJ_1,市)AND市 REF(市,1); HJ_157:=MA(HJ_1,3); 长:IF(市 HJ_157,HJ_157,市),COLORMAGENTA,LINETHICK4; 虹:118,COLORRED; HJ_158:=CROSS(HJ_1,长)ANDREF(长,1) 长ANDHJ_1 HJ_159:=长=市ANDREF(长 市,1)ANDHJ_1 HJ_160:=HJ_158ANDHJ_156; HJ_161:=CROSS(市,HJ_1)ORCROSS(长,HJ_1); HJ_162:=HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 HJ_163:=HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 HJ_164:=HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 HJ_165:=HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 HJ_166:=HJ_76ANDHJ_105ANDHJ_40ANDHJ_99ANDHJ_155; HJ_167:=HJ_126ANDHJ_145ANDHJ_149; HJ_168:=长 2ANDCROSS(HJ_1,长*5); DRAWICON(HJ_166ANDHJ_167,长+44,30); DRAWICON(HJ_165ANDHJ_167,长+38,28); DRAWICON(HJ_164ANDHJ_167,长+32,34); DRAWICON(HJ_164ANDHJ_167,长+32,1); DRAWICON(HJ_163ANDHJ_167,长+26,34); DRAWICON(HJ_162ANDHJ_167,长+20,42); DRAWICON(HJ_149,0,25); DRAWICON(HJ_145,118,38); DRAWICON(HJ_159ANDHJ_167,HJ_1,13); DRAWICON(HJ_168ANDEXIST(REF(HJ_168,1),5)=0ANDHJ_167,HJ_1+18,23); HJ_169:=长=市ANDREF(长 市,1); HJ_170:=长 市ANDREF(长=市,1); HJ_171:=CROSS(SUM(HJ_169,BArslAST(HJ_170)),0.5); DRAWICON(HJ_171,长+6,11); HJ_172:=CROSS(SUM(HJ_170,BARSLAST(HJ_169)),0.5); DRAWICON(HJ_172,长+8,12); HJ_173:=CROSS(SUM(HJ_160,BARSLAST(HJ_161)),0.5); DRAWICON(HJ_173,长+8,13); DRAWICON(HJ_161AND市=长ANDREF(市=长,1),长+10,14); HJ_174:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; HJ_175:=SMA(HJ_174,3,1); HJ_176:=SMA(HJ_175,3,1); HJ_177:=INTPART(HJ_175); HJ_178:=INTPART(HJ_176); HJ_179:=HJ_177+HJ_178; HJ_180:=HJ_179-REF(HJ_179,1); HJ_181:=EMA(WINNER(CLOSE)*70,3); HJ_182:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); HJ_183:=HJ_182/(HJ_181+HJ_182)*100; HJ_184:=HJ_181/(HJ_181+HJ_182)*100; HJ_185:=EMA(HJ_183,55); HJ_186:=EMA(HJ_184,55); 一路:IF(HJ_184 =10,HJ_184,HJ_184),NODRAW,COLORYELLOW; STICKLINE(HJ_184 REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,2.5,0),COLORAA00BB; STICKLINE(HJ_184 REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,1.5,0),COLORCC22BB; STICKLINE(HJ_184 REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,0.5,0),COLOREE44BB; STICKLINE(HJ_184 =REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,2.5,0),COLORFF7700; STICKLINE(HJ_184 =REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,1.5,0),COLORFFAA22; STICKLINE(HJ_184 =REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,0.5,0),COLORFFFF55; STICKLINE(HJ_184 REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,2.5,0),COLOR131FFD; STICKLINE(HJ_184 REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,1.5,0),COLOR5050FF; STICKLINE(HJ_184 REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,0.5,0),COLOR7E7EFF; STICKLINE(HJ_184 =REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,2.5,0),COLORAA0000; STICKLINE(HJ_184 =REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,1.5,0),COLORCC0000; STICKLINE(HJ_184 =REF(HJ_184,1)ANDHJ_184 20,100+HJ_184,120,0.5,0),COLORBLUE; STICKLINE(HJ_186 REF(HJ_186,1),100+HJ_184,100+HJ_186,2.5,0),COLOR00AAFF; STICKLINE(HJ_186 REF(HJ_186,1),100+HJ_184,100+HJ_186,1.5,0),COLOR00CCFF; STICKLINE(HJ_186 REF(HJ_186,1),100+HJ_184,100+HJ_186,0.5,0),COLORYELLOW; STICKLINE(HJ_184 HJ_186ANDHJ_186 50,100+HJ_184,100+HJ_186,2.5,0),COLOR0000AA; STICKLINE(HJ_184 HJ_186ANDHJ_186 50,100+HJ_184,100+HJ_186,1.5,0),COLOR0022CC; STICKLINE(HJ_184 HJ_186ANDHJ_186 50,100+HJ_184,100+HJ_186,0.5,0),COLOR0055FF; STICKLINE(HJ_184 HJ_186ANDHJ_186 50ANDHJ_184 50ANDHJ_186 REF(HJ_186,1),100+HJ_184,150,2.5,0),COLOR0000AA; STICKLINE(HJ_184 HJ_186ANDHJ_186 50ANDHJ_184 50ANDHJ_186 REF(HJ_186,1),100+HJ_184,150,1.5,0),COLOR0022CC; STICKLINE(HJ_184 HJ_186ANDHJ_186 50ANDHJ_184 50ANDHJ_186 REF(HJ_186,1),100+HJ_184,150,0.5,0),COLOR0055FF; STICKLINE(HJ_184 80,100+HJ_184,100+HJ_184-(HJ_184-80)/2,2.5,0),COLOR00AA00; STICKLINE(HJ_184 80,100+HJ_184,100+HJ_184-(HJ_184-80)/2,1.5,0),COLOR00CC00; STICKLINE(HJ_184 80,100+HJ_184,100+HJ_184-(HJ_184-80)/2,0.5,0),COLORGREEN;

    公式解读:


    HJ_1赋值:以收盘价*0.9计算的获利盘比例*100 HJ_2赋值:100-以收盘价*1.1计算的获利盘比例*100 HJ_3赋值:100-HJ_1-HJ_2 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR009999 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR00AAAA 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR00BBBB 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR00CCCC 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR00DDDD 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOR00EEEE 当满足条件1时,在HJ_1和HJ_1+HJ_3位置之间画柱状线,宽度为0,0不为0则画空心柱.,画黄色 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR000077 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR000099 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR0000AA 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR0000BB 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR0000DD 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOR0000EE 当满足条件1时,在0和HJ_1位置之间画柱状线,宽度为0,0不为0则画空心柱.,画红色 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR007700 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR009900 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR00AA00 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR00BB00 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR00CC00 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOR00DD00 当满足条件1时,在HJ_1+HJ_3和100位置之间画柱状线,宽度为0,0不为0则画空心柱.,画绿色 HJ_4赋值:收盘价-1日前的收盘价 HJ_5赋值:100*HJ_4的5日指数移动平均的3日指数移动平均/HJ_4的绝对值的5日指数移动平均的3日指数移动平均 HJ_6赋值:100*HJ_4的13日指数移动平均的8日指数移动平均/HJ_4的绝对值的13日指数移动平均的8日指数移动平均 HJ_7赋值:HJ_5 HJ_6 HJ_8赋值:如果HJ_7,返回6,否则返回0 HJ_9赋值:收盘价的8日指数移动平均-收盘价的13日指数移动平均 HJ_10赋值:HJ_9的5日指数移动平均 HJ_11赋值:HJ_9 HJ_10 HJ_12赋值:如果HJ_11,返回1,否则返回0 HJ_13赋值:(收盘价的3日指数移动平均+收盘价的6日指数移动平均+收盘价的12日指数移动平均+收盘价的24日指数移动平均)/4 HJ_14赋值:收盘价 HJ_13 HJ_15赋值:如果HJ_14,返回5,否则返回0 HJ_16赋值:(收盘价-8日内最低价的最低值)/(8日内最高价的最高值-8日内最低价的最低值)*100 HJ_17赋值:HJ_16的3日[1日权重]移动平均 HJ_18赋值:HJ_17的3日[1日权重]移动平均 HJ_19赋值:HJ_17 HJ_18 HJ_20赋值:如果HJ_19,返回2,否则返回0 HJ_21赋值:1日前的收盘价 HJ_22赋值:收盘价-HJ_21和0的较大值的5日[1日权重]移动平均/收盘价-HJ_21的绝对值的5日[1日权重]移动平均*100 HJ_23赋值:收盘价-HJ_21和0的较大值的13日[1日权重]移动平均/收盘价-HJ_21的绝对值的13日[1日权重]移动平均*100 HJ_24赋值:HJ_22 HJ_23 HJ_25赋值:如果HJ_24,返回3,否则返回0 HJ_26赋值:(-(13日内最高价的最高值-收盘价))/(13日内最高价的最高值-13日内最低价的最低值)*100 HJ_27赋值:HJ_26的3日[1日权重]移动平均 HJ_28赋值:HJ_27的3日[1日权重]移动平均 HJ_29赋值:HJ_27 HJ_28 HJ_30赋值:如果HJ_29,返回4,否则返回0 HJ_31赋值:HJ_11+HJ_19+HJ_24+HJ_29+HJ_14+HJ_7-3 HJ_32赋值:HJ_31 0 HJ_33赋值:34日内最高价的最高值 HJ_34赋值:34日内最低价的最低值 HJ_35赋值:最近4日一直存在收阴线 HJ_36赋值:最近3日一直存在收阴线 HJ_37赋值:HJ_35ORHJ_36 HJ_38赋值:1日前的HJ_37ANDHJ_33ANDHJ_34ANDOPEN 收盘价的5日简单移动平均ANDOPEN 收盘价的10日简单移动平均ANDCLOSE =收盘价的5日简单移动平均ANDCLOSE =收盘价的10日简单移动平均 HJ_39赋值:HJ_32ANDREF(HJ_31,1) =0ANDCROSS(收盘价,收盘价的5日指数移动平均)ANDCROSS(收盘价,收盘价的10日指数移动平均)ANDCROSS(收盘价,收盘价的20日指数移动平均)ANDLOW 1日前的最低价ANDMACD.平滑异同平 0 HJ_40赋值:HJ_38ORHJ_39 HJ_41赋值:1日前的收盘价 HJ_42赋值:收盘价-HJ_41和0的较大值的5日[1日权重]移动平均/收盘价-HJ_41的绝对值的5日[1日权重]移动平均*100 HJ_43赋值:最高价-最低价和最高价-1日前的收盘价的绝对值的较大值和最低价-1日前的收盘价的绝对值的较大值的10日累和 HJ_44赋值:最高价-1日前的最高价 HJ_45赋值:1日前的最低价-最低价 HJ_46赋值:如果HJ_44 0ANDHJ_44 HJ_45,返回HJ_44,否则返回0的10日累和 HJ_47赋值:如果HJ_45 0ANDHJ_45 HJ_44,返回HJ_45,否则返回0的10日累和 HJ_48赋值:HJ_46*100/HJ_43 HJ_49赋值:HJ_47*100/HJ_43 HJ_50赋值:HJ_49-HJ_48的绝对值/(HJ_49+HJ_48)*100的5日简单移动平均 HJ_51赋值:HJ_42+HJ_50 HJ_52赋值:(HJ_50+5日前的HJ_50)/2+HJ_42 HJ_53赋值:100*(10日内最高价的最高值-收盘价)/(10日内最高价的最高值-10日内最低价的最低值) HJ_54赋值:HJ_42-HJ_53 HJ_55赋值:HJ_51+HJ_54 HJ_56赋值:如果HJ_55上穿0,返回1,否则返回0 HJ_57赋值:HJ_56的3日[1日权重]移动平均 HJ_58赋值:HJ_57的3日[1日权重]移动平均 HJ_59赋值:HJ_58的3日[1日权重]移动平均 HJ_60赋值:如果HJ_58上穿HJ_59ANDHJ_58 40,返回25,否则返回0 HJ_61赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*50 HJ_62赋值:HJ_61的3日[1日权重]移动平均 HJ_63赋值:HJ_62的3日[1日权重]移动平均 HJ_64赋值:3*HJ_62-2*HJ_63 HJ_65赋值:2日内HJ_64的最低值=8日内HJ_64的最低值 HJ_66赋值:如果HJ_64上穿3,返回60,否则返回0 HJ_67赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 HJ_68赋值:HJ_67的3日[1日权重]移动平均 HJ_69赋值:HJ_68的3日[1日权重]移动平均 HJ_70赋值:3*HJ_68-2*HJ_69 HJ_71赋值:HJ_70的相反数 HJ_72赋值:10日前的收盘价的1日简单移动平均 10日前的收盘价的60日简单移动平均 HJ_73赋值:如果HJ_70上穿HJ_71ANDHJ_72,返回45,否则返回0 HJ_74赋值:HJ_60ANDREF(HJ_66,1) HJ_75赋值:1日前的HJ_60ANDHJ_66 HJ_76赋值:HJ_74ORHJ_75 HJ_77赋值:((3.48*收盘价+最高价+最低价+开盘价)/5-收盘价的20日指数移动平均)/收盘价的20日指数移动平均的绝对值 HJ_78赋值:以HJ_77为权重(2.15*收盘价+最低价+最高价+开盘价)/5的动态移动平均 HJ_79赋值:HJ_78的200日指数移动平均*1.26 HJ_80赋值:HJ_78的200日指数移动平均*1.18 HJ_81赋值:(最低价+最高价+收盘价)/3的5日简单移动平均 HJ_82赋值:60日内HJ_81的最高值 HJ_83赋值:如果HJ_82 1日前的HJ_82,返回HJ_82,否则返回无效数 HJ_84赋值:收盘价*(手) HJ_85赋值:(HJ_84的3日指数移动平均/成交量(手)的3日指数移动平均+HJ_84的6日指数移动平均/成交量(手)的6日指数移动平均+HJ_84的12日指数移动平均/成交量(手)的12日指数移动平均+HJ_84的24日指数移动平均/成交量(手)的24日指数移动平均)/4的13日指数移动平均 HJ_86赋值:1.06*HJ_85 HJ_87赋值:1.13*HJ_85 HJ_88赋值:HJ_83和HJ_79的较小值 HJ_89赋值:HJ_86和HJ_79的较小值 HJ_90赋值:HJ_83和HJ_80的较小值 HJ_91赋值:HJ_86和HJ_80的较小值 HJ_92赋值:1日前的收盘价*1.1-收盘价 0.01ANDHIGH=收盘价 HJ_93赋值:收盘价上穿HJ_87ANDHJ_92 HJ_94赋值:90 HJ_95赋值:3 HJ_96赋值:HJ_95日前的HJ_94日内最低价的最低值 HJ_97赋值:日期日HJ_96 HJ_98赋值:HJ_97=LOWAND(收盘价-最低价 开盘价-CLOSEOROPEN-最低价 收盘价-开盘价) HJ_99赋值:HJ_93ORHJ_98 HJ_100赋值:34日内最高价的最高值 HJ_101赋值:34日内最低价的最低值 HJ_102赋值:最近4日一直存在收阴线 HJ_103赋值:最近3日一直存在收阴线 HJ_104赋值:HJ_102ORHJ_103 HJ_105赋值:1日前的HJ_104ANDHJ_100ANDHJ_101ANDOPEN 收盘价的5日简单移动平均ANDOPEN 收盘价的10日简单移动平均ANDCLOSE =收盘价的5日简单移动平均ANDCLOSE =收盘价的10日简单移动平均 HJ_106赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 HJ_107赋值:HJ_106的9日指数移动平均 HJ_108赋值:HJ_106 HJ_107 HJ_109赋值:(收盘价-12日内最低价的最低值)/(12日内最高价的最高值-12日内最低价的最低值)*100 HJ_110赋值:HJ_109的3日[1日权重]移动平均 HJ_111赋值:HJ_110的3日[1日权重]移动平均 HJ_112赋值:HJ_110 HJ_111 HJ_113赋值:1日前的收盘价 HJ_114赋值:收盘价-HJ_113和0的较大值的9日[1日权重]移动平均/收盘价-HJ_113的绝对值的9日[1日权重]移动平均*100 HJ_115赋值:收盘价-HJ_113和0的较大值的26日[1日权重]移动平均/收盘价-HJ_113的绝对值的26日[1日权重]移动平均*100 HJ_116赋值:HJ_114 HJ_115 HJ_117赋值:HJ_109的3日[1日权重]移动平均 HJ_118赋值:HJ_117的3日[1日权重]移动平均 HJ_119赋值:HJ_117 HJ_118 HJ_120赋值:(收盘价的3日简单移动平均+收盘价的9日简单移动平均+收盘价的12日简单移动平均+收盘价的26日简单移动平均)/4 HJ_121赋值:收盘价 HJ_120 HJ_122赋值:收盘价-1日前的收盘价 HJ_123赋值:100*HJ_122的9日指数移动平均的9日指数移动平均/HJ_122的绝对值的9日指数移动平均的3日指数移动平均 HJ_124赋值:100*HJ_122的26日指数移动平均的12日指数移动平均/HJ_122的绝对值的26日指数移动平均的12日指数移动平均 HJ_125赋值:HJ_123 HJ_124 HJ_126赋值:HJ_108ANDHJ_112ANDHJ_116ANDHJ_119ANDHJ_121ANDHJ_125 当满足条件HJ_126时,在100和108位置之间画柱状线,宽度为3,0不为0则画空心柱.,画洋红色 HJ_127赋值:收盘价的9日指数移动平均的9日指数移动平均 HJ_128赋值:100*以收盘价*0.95计算的获利盘比例 HJ_129赋值:收盘价的12日指数移动平均 收盘价的50日指数移动平均ANDEMA(收盘价,20) 收盘价的120日指数移动平均 HJ_130赋值:(HJ_127-1日前的HJ_127)/1日前的HJ_127*1000 HJ_131赋值:HJ_128 =50ANDCOST(85) =CLOSEANDHJ_130 0ANDHJ_130 1日前的HJ_130 HJ_132赋值:以0.9为权重(最高价+最低价+收盘价*2)/4的动态移动平均 HJ_133赋值:1日前的HJ_132的3日指数移动平均 HJ_134赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值) HJ_135赋值:如果收阳线,返回HJ_134*(最高价-最低价),否则返回如果收阴线,返回HJ_134*(最高价-开盘价+收盘价-最低价),否则返回成交量(手)/2+如果收阳线,返回0-HJ_134*(最高价-收盘价+开盘价-最低价),否则返回如果收阴线,返回0-HJ_134*(最高价-最低价),否则返回0-成交量(手)/2 HJ_136赋值:HJ_135/20/1.15 HJ_137赋值:HJ_136*0.55+1日前的HJ_136*0.33+2日前的HJ_136*0.22 HJ_138赋值:HJ_137的8日指数移动平均 HJ_139赋值:HJ_137的3日指数移动平均 HJ_140赋值:HJ_139 HJ_141赋值:成交量(手)的5日简单移动平均 HJ_142赋值:成交量(手)的10日简单移动平均 HJ_143赋值:HJ_141 =HJ_142 HJ_144赋值:HJ_140 =0 HJ_145赋值:HJ_144ANDHJ_143 HJ_146赋值:KDJ的K[取周线数据](9,3,3)的5日简单移动平均 HJ_147赋值:收盘价的12/2日指数移动平均-收盘价的26/2日指数移动平均 HJ_148赋值:HJ_147的9/2日指数移动平均 HJ_149赋值:HJ_146 =1日前的HJ_146ANDHJ_147 =HJ_148 输出股:(-8),画红色 HJ_150赋值:收盘价的3日指数移动平均 HJ_151赋值:收盘价的5日指数移动平均 HJ_152赋值:HJ_151的5日指数移动平均 HJ_153赋值:统计2日中满足HJ_150上穿HJ_152的天数=1 HJ_154赋值:统计2日中满足HJ_151上穿HJ_152的天数=1 HJ_155赋值:HJ_153ANDHJ_154的2日过滤 输出市:HJ_1的10日简单移动平均,画绿色,线宽为4 HJ_156赋值:HJ_1上穿市AND市 1日前的市 HJ_157赋值:HJ_1的3日简单移动平均 输出长:如果市 HJ_157,返回HJ_157,否则返回市,画洋红色,线宽为4 输出虹:118,画红色 HJ_158赋值:HJ_1上穿长ANDREF(长,1) 长ANDHJ_1 长 HJ_159赋值:长=市ANDREF(长 市,1)ANDHJ_1 长 HJ_160赋值:HJ_158ANDHJ_156 HJ_161赋值:市上穿HJ_1ORCROSS(长,HJ_1) HJ_162赋值:HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 =1 HJ_163赋值:HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 =2 HJ_164赋值:HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 =3 HJ_165赋值:HJ_76+HJ_105+HJ_40+HJ_99+HJ_155 =4 HJ_166赋值:HJ_76ANDHJ_105ANDHJ_40ANDHJ_99ANDHJ_155 HJ_167赋值:HJ_126ANDHJ_145ANDHJ_149 HJ_168赋值:长 2ANDCROSS(HJ_1,长*5) 当满足条件HJ_166ANDHJ_167时,在长+44位置画30号图标 当满足条件HJ_165ANDHJ_167时,在长+38位置画28号图标 当满足条件HJ_164ANDHJ_167时,在长+32位置画34号图标 当满足条件HJ_164ANDHJ_167时,在长+32位置画1号图标 当满足条件HJ_163ANDHJ_167时,在长+26位置画34号图标 当满足条件HJ_162ANDHJ_167时,在长+20位置画42号图标 当满足条件HJ_149时,在0位置画25号图标 当满足条件HJ_145时,在118位置画38号图标 当满足条件HJ_159ANDHJ_167时,在HJ_1位置画13号图标 当满足条件HJ_168ANDEXIST(1日前的HJ_168,5)=0ANDHJ_167时,在HJ_1+18位置画23号图标 HJ_169赋值:长=市ANDREF(长 市,1) HJ_170赋值:长 市ANDREF(长=市,1) HJ_171赋值:HJ_169的上次HJ_170距今天数日累和上穿0.5 当满足条件HJ_171时,在长+6位置画11号图标 HJ_172赋值:HJ_170的上次HJ_169距今天数日累和上穿0.5 当满足条件HJ_172时,在长+8位置画12号图标 HJ_173赋值:HJ_160的上次HJ_161距今天数日累和上穿0.5 当满足条件HJ_173时,在长+8位置画13号图标 当满足条件HJ_161AND市=长ANDREF(市=长,1)时,在长+10位置画14号图标 HJ_174赋值:(收盘价-13日内最低价的最低值)/(13日内最高价的最高值-13日内最低价的最低值)*100 HJ_175赋值:HJ_174的3日[1日权重]移动平均 HJ_176赋值:HJ_175的3日[1日权重]移动平均 HJ_177赋值:HJ_175的整数部分 HJ_178赋值:HJ_176的整数部分 HJ_179赋值:HJ_177+HJ_178 HJ_180赋值:HJ_179-1日前的HJ_179 HJ_181赋值:以收盘价计算的获利盘比例*70的3日指数移动平均 HJ_182赋值:(以收盘价*1.1计算的获利盘比例-以收盘价*0.9计算的获利盘比例)*80的3日指数移动平均 HJ_183赋值:HJ_182/(HJ_181+HJ_182)*100 HJ_184赋值:HJ_181/(HJ_181+HJ_182)*100 HJ_185赋值:HJ_183的55日指数移动平均 HJ_186赋值:HJ_184的55日指数移动平均 输出一路筹码:如果HJ_184 =10,返回HJ_184,否则返回HJ_184,NODRAW,画黄色 当满足条件HJ_184 1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLORAA00BB 当满足条件HJ_184 1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLORCC22BB 当满足条件HJ_184 1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOREE44BB 当满足条件HJ_184 =1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLORFF7700 当满足条件HJ_184 =1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLORFFAA22 当满足条件HJ_184 =1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLORFFFF55 当满足条件HJ_184 1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR131FFD 当满足条件HJ_184 1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR5050FF 当满足条件HJ_184 1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOR7E7EFF 当满足条件HJ_184 =1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLORAA0000 当满足条件HJ_184 =1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLORCC0000 当满足条件HJ_184 =1日前的HJ_184ANDHJ_184 20时,在100+HJ_184和120位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,画蓝色 当满足条件HJ_186 1日前的HJ_186时,在100+HJ_184和100+HJ_186位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR00AAFF 当满足条件HJ_186 1日前的HJ_186时,在100+HJ_184和100+HJ_186位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR00CCFF 当满足条件HJ_186 1日前的HJ_186时,在100+HJ_184和100+HJ_186位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,画黄色 当满足条件HJ_184 HJ_186ANDHJ_186 50时,在100+HJ_184和100+HJ_186位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR0000AA 当满足条件HJ_184 HJ_186ANDHJ_186 50时,在100+HJ_184和100+HJ_186位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR0022CC 当满足条件HJ_184 HJ_186ANDHJ_186 50时,在100+HJ_184和100+HJ_186位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOR0055FF 当满足条件HJ_184 HJ_186ANDHJ_186 50ANDHJ_184 50ANDHJ_186 1日前的HJ_186时,在100+HJ_184和150位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR0000AA 当满足条件HJ_184 HJ_186ANDHJ_186 50ANDHJ_184 50ANDHJ_186 1日前的HJ_186时,在100+HJ_184和150位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR0022CC 当满足条件HJ_184 HJ_186ANDHJ_186 50ANDHJ_184 50ANDHJ_186 1日前的HJ_186时,在100+HJ_184和150位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLOR0055FF 当满足条件HJ_184 80时,在100+HJ_184和100+HJ_184-(HJ_184-80)/2位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR00AA00 当满足条件HJ_184 80时,在100+HJ_184和100+HJ_184-(HJ_184-80)/2位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR00CC00 当满足条件HJ_184 80时,在100+HJ_184和100+HJ_184-(HJ_184-80)/2位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,画绿色


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 箱体捉妖指标公式源码 加入收藏