通达信妖股通道主副图 6维共振首板定妖股 源码

{妖股通道主图源码如下}


N:=1;

好股网1:=KDJ.K,COLORWHITE;

好股网2:=KDJ.D,COLORYELLOW;

好股网3:=KDJ.J,COLORMAGENTA;

好股网4:=KDJ.K#WEEK,NODRAW;

好股网5:=KDJ.D#WEEK,NODRAW;

好股网6:=KDJ.J#WEEK,NODRAW;

日金叉:=CROSS(好股网1,好股网2) AND (好股网2<40 OR 好股网2>60);

周金叉:=CROSS(好股网4,好股网5) AND (好股网5<40 OR 好股网5>60);

共振:=(周金叉 AND 日金叉);

STICKLINE(共振,-30,100,3,0),COLORLIRED;

DRAWTEXT((周金叉 AND 日金叉),-5,' 日周共振'),COLORYELLOW;

DRAWTEXT((周金叉 AND 日金叉),5,' K D J'),COLORYELLOW;

DRAWICON((周金叉 AND 日金叉),-5,5);

好股网7:STICKLINE(好股网1>=好股网2,88,85,5,0),COLORMAGENTA;

好股网8:STICKLINE(好股网1<好股网2,88,85,5,0),COLORLIBLUE;

好股网9:STICKLINE(好股网4>=好股网5,-20,-25,5,0),COLORMAGENTA;

{微信公众号:好股网}

好股网10:STICKLINE(好股网4<好股网5,-20,-25,5,0),COLORLIBLUE;

DRAWTEXT(ISLASTBAR,88,'__日线'),COLORYELLOW;

DRAWTEXT(ISLASTBAR,-22,'__周线'),COLORYELLOW;

LC:=REF(CLOSE,1);

RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK2;

MA6:MA(RSI6,6),COLORGREEN;红线:IF(MA6>REF(MA6,1) OR RSI6>MA6,MA6,DRAWNULL),COLORRED,LINETHICK2;

XG:=好股网1>=好股网2 AND 好股网4>=好股网5 AND 红线;

黄柱:=BARSLASTCOUNT(XG)=1;STICKLINE(黄柱,88,-20,1,1),COLORYELLOW;

DRAWICON(黄柱,90,9);DRAWICON(黄柱,70,9);

DRAWICON(黄柱,50,9);DRAWICON(黄柱,30,9);

DRAWICON(黄柱,10,9);DRAWICON(黄柱,-10,9);




{妖股通道副图源码如下}


ZBVAR1:=EMA(C,7);

ZBVAR2:=EMA(C,18);

ZBVAR3:=(ZBVAR1-ZBVAR2)/ZBVAR2*100;

ZBVAR4:=EMA(ZBVAR3,1);

ZBVAR5:=EMA(C,3);

ZBVAR6:=EMA(C,26);

ZBVAR7:=ZBVAR5-ZBVAR6;

DK:EMA(EMA(EMA(C,3),3),3)+ZBVAR7,COLORGREEN;

IF(ZBVAR4>=REF(ZBVAR4,1),DK,DRAWNULL),COLORMAGENTA,LINETHICK2;

IF(ZBVAR4<=REF(ZBVAR4,1),DK,DRAWNULL),COLORGREEN;

ZBVAR8:=HHV(VOL,5);

ZBVAR9:=O>C;

ZBVAR10:=C>O;

ZBVAR11:=C=O;

ZBVAR12:=SUM(VOL,5)/ZBVAR8;

ZBVAR13:=IF(ZBVAR12>0.3,1,0);

ZBVAR14:=IF(ZBVAR9 AND ZBVAR13,VOL,0);

ZBVAR15:=IF(ZBVAR10 AND ZBVAR13,VOL,0);

ZBVAR16:=IF(ZBVAR11 AND ZBVAR13,VOL,0);

ZBVAR17:=SUM(ZBVAR15,3);

ZBVAR18:=SUM(ZBVAR14,3);

ZBVAR19:=ZBVAR17-ZBVAR18;

STICKLINE(ZBVAR19=ZBVAR17,C,O,3.05,0),COLOR000099;

STICKLINE(ZBVAR19=ZBVAR17,C,O,2.2,0),COLOR0000CC;

STICKLINE(ZBVAR19=ZBVAR17,C,O,1.5,0),COLORRED;

STICKLINE(ZBVAR19=ZBVAR17,C,O,0.5,0),COLORYELLOW;

DRAWICON(ZBVAR19=ZBVAR17 AND REF(ZBVAR19=ZBVAR17,1)=0,LOW*0.98,30),COLORMAGENTA;

ZBVAR20:=EMA(100*(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);

ZBVAR21:=(REF(ZBVAR20,1)+REF(ZBVAR20,2)+REF(ZBVAR20,3))/3;

ZBVAR22:=(REF(ZBVAR20,1)+REF(ZBVAR20,2)+REF(ZBVAR20,3)+REF(ZBVAR20,4)+REF(ZBVAR20,5)+REF(ZBVAR20,6)+REF(ZBVAR20,7)+REF(ZBVAR20,8)+REF(ZBVAR20,9)+REF(ZBVAR20,10))/10;

ZBVAR23:=ZBVAR20<80 AND ZBVAR21<80 AND ZBVAR22<80;

ZBVAR24:=ZBVAR20>80 AND ZBVAR21>80 AND ZBVAR22>80;

ZBVAR25:=ZBVAR22<ZBVAR20;

ZBVAR26:=REF(C,1);

ZBVAR27:=SMA(MAX(C-ZBVAR26,0),2,1)/SMA(ABS(C-ZBVAR26),2,1)*100;

ZBVAR28:=100*(HHV(HIGH,10)-C)/(HHV(HIGH,10)-LLV(LOW,10));

ZBVAR29:=100*(HHV(HIGH,6)-C)/(HHV(HIGH,6)-LLV(LOW,6));

ZBVAR30:=CROSS(ZBVAR27,ZBVAR29) AND ZBVAR25;

ZBVAR31:=ZBVAR27>75 AND ZBVAR29<5;

DRAWICON(ZBVAR31 AND ZBVAR17>ZBVAR19,LOW*0.99,29),COLORYELLOW;

DRAWICON(ZBVAR30,LOW*0.98,28),COLORYELLOW;

ZBVAR32:=WINNER(C*0.9)*100;

ZBVAR33:=MA(ZBVAR32,10);

ZBVAR34:=MA(ZBVAR32,3);

ZBVAR35:=IF(ZBVAR33>ZBVAR34,ZBVAR34,ZBVAR33);

ZBVAR36:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;

ZBVAR37:=EMA(C,12)-EMA(C,26);

ZBVAR38:=EMA(ZBVAR37,9);

ZBVAR39:=ZBVAR37>ZBVAR38;

ZBVAR40:=(C-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;

ZBVAR41:=SMA(ZBVAR36,3,1);

ZBVAR42:=SMA(ZBVAR41,3,1);

ZBVAR43:=ZBVAR41>ZBVAR42;

ZBVAR44:=REF(C,1);

ZBVAR45:=SMA(MAX(C-ZBVAR44,0),9,1)/SMA(ABS(C-ZBVAR44),9,1)*100;

ZBVAR46:=SMA(MAX(C-ZBVAR44,0),26,1)/SMA(ABS(C-ZBVAR44),26,1)*100;

ZBVAR47:=ZBVAR45>ZBVAR46;

ZBVAR48:=SMA(ZBVAR40,3,1);

ZBVAR49:=SMA(ZBVAR48,3,1);

ZBVAR50:=ZBVAR48>ZBVAR49;

ZBVAR51:=(MA(C,3)+MA(C,9)+MA(C,12)+MA(C,26))/4;

ZBVAR52:=C>ZBVAR51;

ZBVAR53:=C-REF(C,1);

ZBVAR54:=100*EMA(EMA(ZBVAR53,9),9)/EMA(EMA(ABS(ZBVAR53),9),3);

ZBVAR55:=100*EMA(EMA(ZBVAR53,26),12)/EMA(EMA(ABS(ZBVAR53),26),12);

ZBVAR56:=ZBVAR54>ZBVAR55;

ZBVAR57:=ZBVAR39 AND ZBVAR43 AND ZBVAR47 AND ZBVAR50 AND ZBVAR52 AND ZBVAR56;

ZBVAR58:=EMA(EMA(C,9),9);

ZBVAR59:=100*WINNER(C*0.95);

ZBVAR60:=EMA(C,12)>EMA(C,50) AND EMA(C,20)>EMA(C,120);

ZBVAR61:=(ZBVAR58-REF(ZBVAR58,1))/REF(ZBVAR58,1)*1000;

ZBVAR62:=ZBVAR59>=50 AND COST(85)<=C AND ZBVAR61>0 AND ZBVAR61>REF(ZBVAR61,1);

ZBVAR63:=DMA((HIGH+LOW+C*2)/4,0.9);

ZBVAR64:=VOL/((HIGH-LOW)*2-ABS(C-O));

ZBVAR65:=IF(C>O,ZBVAR64*(HIGH-LOW),IF(C<O,ZBVAR64*(HIGH-O+C-LOW),VOL/2))+IF(C>O,0-ZBVAR64*(HIGH-C+O-LOW),IF(C<O,0-ZBVAR64*(HIGH-LOW),0-VOL/2));

ZBVAR66:=ZBVAR65/20/1.15;

ZBVAR67:=ZBVAR66*0.55+REF(ZBVAR66,1)*0.33+REF(ZBVAR66,2)*0.22;

ZBVAR68:=EMA(ZBVAR67,8);

ZBVAR69:=EMA(ZBVAR67,3);

ZBVAR70:=ZBVAR69;

ZBVAR71:=MA(VOL,5);

ZBVAR72:=MA(VOL,10);

ZBVAR73:=ZBVAR71>=ZBVAR72;

ZBVAR74:=ZBVAR70>=0;

ZBVAR75:=ZBVAR74 AND ZBVAR73;

ZBVAR76:=ZBVAR57 OR ZBVAR75;

ZBVAR77:=CROSS(REF(C,1),C);

ZBVAR78:=WINNER(C)*100;

ZBVAR79:=REF(ZBVAR78,1)-ZBVAR78<=5;

ZBVAR80:=CROSS(ZBVAR78,REF(ZBVAR78,1)) AND ZBVAR78<20;

ZBVAR81:=ZBVAR79 OR ZBVAR78;

ZBVAR82:=ZBVAR77 AND ZBVAR81;

ZBVAR83:=(2*C+HIGH+LOW)/4;

ZBVAR84:=LLV(LOW,5);

ZBVAR85:=HHV(HIGH,5);

ZBVAR86:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0);

ZBVAR87:=ZBVAR86=23;

ZBVAR88:=BARSLAST(ZBVAR87)=1;

ZBVAR89:=ZBVAR86<23;

ZBVAR90:=ZBVAR88 AND ZBVAR89;

ZBVAR91:=(BARSLASTCOUNT(ZBVAR86>0)=4)*30;

ZBVAR92:=ZBVAR90 OR ZBVAR91;

ZBVAR93:=EMA(VOL,13);

ZBVAR94:=EMA(AMOUNT,13);

ZBVAR95:=ZBVAR94/ZBVAR93/100;

ZBVAR96:=(C-ZBVAR95)/ZBVAR95*100;

ZBVAR97:=ZBVAR96<0-18 OR ZBVAR96<0-6;

ZBVAR98:=ZBVAR97 AND ZBVAR92;

ZBVAR99:=ZBVAR98 OR ZBVAR82;

STICKLINE(ZBVAR99 AND ZBVAR22<80 AND ZBVAR35=ZBVAR33 AND ZBVAR76,LOW,O,3,0),COLORBLUE;

STICKLINE(ZBVAR99 AND ZBVAR22<80 AND ZBVAR35=ZBVAR33 AND ZBVAR76,C,O,3,0),COLORMAGENTA;

ZBVAR100:=REF(LOW,1);

ZBVAR101:=SMA(ABS(LOW-ZBVAR100),3,1)/SMA(MAX(LOW-ZBVAR100,0),3,1)*100;

ZBVAR102:=EMA(IF(C*1.3,ZBVAR101*10,ZBVAR101/10),3);

ZBVAR103:=LLV(LOW,13);

ZBVAR104:=HHV(ZBVAR102,13);

ZBVAR105:=IF(MA(C,34),1,0);

ZBVAR106:=EMA(IF(LOW<=ZBVAR103,(ZBVAR102+ZBVAR104*2)/2,0),3)/618*ZBVAR105;

ZBVAR107:=IF(ZBVAR106>100,100,ZBVAR106);

ZBVAR108:=ZBVAR107>15 AND ZBVAR76;

ZBVAR109:=ZBVAR108 OR ZBVAR107=100;

STICKLINE(ZBVAR109,LOW,O,3,0),COLORMAGENTA;

STICKLINE(ZBVAR109,C,O,3,0),COLORBLUE;

ZBVAR110:=EMA(C,2);

ZBVAR111:=EMA(SLOPE(C,21)*20+C,42);

ZBVAR112:=IF(CROSS(ZBVAR110,ZBVAR111),LOW-0.02,DRAWNULL);

ZBVAR113:=(LOW+HIGH+C*2)/4;

ZBVAR114:=EMA(ZBVAR113,14);

ZBVAR115:=(ZBVAR114-REF(ZBVAR114,1))/REF(ZBVAR114,1)*100;

ZBVAR116:=IF(ZBVAR115>=0,ZBVAR114,DRAWNULL);

ZBVAR117:=IF(CROSS(ZBVAR112,0),5,0);

ZBVAR118:=IF(CROSS(ZBVAR116,0),10,0);

ZBVAR119:=ZBVAR117 AND ZBVAR118;

DRAWICON(ZBVAR119,LOW*0.99,1),COLORGREEN;

DRAWICON(ZBVAR119,LOW*0.98,1),COLORGREEN;

ZBVAR120:=REF(C,1);

ZBVAR121:=SMA(MAX(C-ZBVAR120,0),5,1)/SMA(ABS(C-ZBVAR120),5,1)*100;

ZBVAR122:=CROSS(80,ZBVAR121);

DRAWICON(ZBVAR122,HIGH*1.01,2),COLORGREEN;

DRAWICON(ZBVAR122,HIGH*1.02,2),COLORGREEN;

ZBVAR123:=SMA(MAX(C-ZBVAR26,0),3,1)/SMA(ABS(C-ZBVAR26),3,1)*100;

ZBVAR124:=EMA(C,3);

ZBVAR125:=EMA(C,21);

DRAWICON(CROSS(ZBVAR124,ZBVAR125),LOW*0.97,38),COLORRED;

DRAWICON(CROSS(88,ZBVAR123),HIGH*1.03,39),COLORYELLOW;

ZBVAR126:=8;

ZBVAR127:=100*EMA(EMA(ZBVAR53,ZBVAR126),ZBVAR126)/EMA(EMA(ABS(ZBVAR53),ZBVAR126),ZBVAR126);

ZBVAR128:=IF(LLV(ZBVAR127,2)=LLV(ZBVAR127,7) AND COUNT(ZBVAR127<0,2) AND CROSS(ZBVAR127,MA(ZBVAR127,2)),1,0);

DRAWICON(FILTER(ZBVAR128=1,5),LOW*0.99,7),COLORRED;

ZBVAR129:=C-REF(C,1);

ZBVAR130:=IF(C-REF(C,1)>=0,ZBVAR129,0);

ZBVAR131:=REF(C,1)-C;

ZBVAR132:=IF(C-REF(C,1)<=0,ZBVAR131,0);

ZBVAR133:=SUM(ZBVAR130,90)/SUM(ZBVAR132,90);

ZBVAR134:=100-100/(1+ZBVAR133);

ZBVAR135:=EMA(ZBVAR134,21);

ZBVAR136:=EMA(ZBVAR135,5);

ZBVAR137:=EMA(ZBVAR135,3);

ZBVAR138:=(C*2+HIGH+LOW)/4;

ZBVAR139:=EMA(ZBVAR138,13)-EMA(ZBVAR138,21);

ZBVAR140:=EMA(ZBVAR139,3);

ZBVAR141:=EMA(ZBVAR139,10);

ZBVAR142:=IF(ZBVAR140>=ZBVAR141,ZBVAR140,ZBVAR141);

ZBVAR143:=IF(ZBVAR141-ZBVAR140,ZBVAR141,ZBVAR140);

ZBVAR144:=EMA(C,7)-EMA(C,21);

ZBVAR145:=EMA(0.668*REF(ZBVAR144,1)+0.333*ZBVAR144,1);

ZBVAR146:=IF(ZBVAR144>=ZBVAR145,ZBVAR144,ZBVAR145);

ZBVAR147:=IF(ZBVAR145-ZBVAR144,ZBVAR145,ZBVAR144);

ZBVAR148:=ZBVAR142>ZBVAR143;

ZBVAR149:=ZBVAR142=ZBVAR143;

ZBVAR150:=ZBVAR146>ZBVAR147;

ZBVAR151:=ZBVAR146=ZBVAR147;

ZBVAR152:=ZBVAR151 AND ZBVAR149;

ZBVAR153:=ZBVAR150 AND ZBVAR148;

STICKLINE(ZBVAR150,HIGH,LOW,0,0),COLORRED;

STICKLINE(ZBVAR151,HIGH,LOW,0,0),COLORGREEN;

STICKLINE(ZBVAR148,O,C,1,0),COLORRED;

STICKLINE(ZBVAR149,O,C,1,0),COLORGREEN;

STICKLINE(ZBVAR153,O,C,2,0),COLORRED;

STICKLINE(ZBVAR152,O,C,2,0),COLORBLUE;

ZBVAR154:=HHV(MA(HIGH,3),2);

UP:LLV(MA(HIGH,3),1),COLORRED;

DOWN:IF(ZBVAR154-UP>0,UP,DRAWNULL),COLORGREEN;

ZBVAR155:=MA(REF(HHV((C+LOW+O+HIGH)/4,30),1),3);

STICKLINE(REF(COUNT(C<ZBVAR155,5)=5,1) AND C>ZBVAR155 AND C>O,C,O,2,0),COLORYELLOW;

DRAWICON(REF(COUNT(C<ZBVAR155,5)=5,1) AND C>ZBVAR155 AND C>O,LOW,42),COLORRED;

ZBVAR156:=MA(C,60)>REF(MA(C,60),1);

ZBVAR157:=COST(50);

ZBVAR158:=WINNER(C)*100>50;

ZBVAR159:=CROSS(C,ZBVAR157);

ZBVAR160:=ZBVAR156 AND ZBVAR157 AND ZBVAR158 AND ZBVAR159 AND ZBVAR150;

STICKLINE(ZBVAR160,C,O,1,0),COLORMAGENTA;

DRAWICON(ZBVAR160,LOW*0.99,44),COLORRED;

ZBVAR161:=MA(C,10);

ZBVAR162:=MA(C,54);

STICKLINE(C/REF(C,1)>=1.096 AND HIGH=C,O,C,2,0),COLORYELLOW;

ZBVAR163:=EMA(C,5);

ZBVAR164:=EMA(ZBVAR163,0);

ZBVAR165:=HHV(MA(HIGH,3),2);

ZBVAR166:=LLV(MA(HIGH,3),1);

DRAWICON(ZBVAR166=ZBVAR165 AND REF(ZBVAR165,1)>REF(ZBVAR166,1) AND ZBVAR150,LOW,1);

DRAWICON(ZBVAR166<ZBVAR165 AND REF(ZBVAR166=ZBVAR165,1) AND ZBVAR151,HIGH*1.01,2);

ZBVAR167:=MA(C,5)>MA(C,10) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>REF(MA(C,5),1);

ZBVAR168:=100*(1-WINNER(C));

ZBVAR169:=100-ZBVAR168;

ZBVAR170:=CROSS(ZBVAR169,ZBVAR168);

DRAWICON(ZBVAR170,LOW,25);

ZBVAR171:=MA(C,5);

ZBVAR172:=MA(C,13);

ZBVAR173:=MA(C,34);

ZBVAR174:=ZBVAR171>REF(ZBVAR171,1) AND ZBVAR172>REF(ZBVAR172,1) AND ZBVAR173>REF(ZBVAR173,1);

ZBVAR175:=EMA(C,3);

ZBVAR176:=EMA(SLOPE(C,34)*5+C,21);

ZBVAR177:=CROSS(ZBVAR175,ZBVAR176);

ZBVAR178:=CROSS(ZBVAR175,ZBVAR176) AND ZBVAR174;

ZBVAR179:=ZBVAR177>0;

ZBVAR180:=ZBVAR178>0;

ZBVAR181:=MA(C,34);

ZBVAR182:=ZBVAR179 OR ZBVAR180;

ZBVAR183:=C>ZBVAR181 AND REF(C,1)<ZBVAR181;

ZBVAR184:=CROSS(C,MA(C,250)) AND VOL>=REF(VOL,1)*2;

ZBVAR185:=(C/REF(C,1)-1)*100>9.97 AND CROSS(C,MA(C,250));

ZBVAR186:=ZBVAR184 OR ZBVAR185 OR ZBVAR183;

ZBVAR187:=ZBVAR182 AND ZBVAR170 AND ZBVAR186 AND ZBVAR167;

STICKLINE(ZBVAR187,C,O,3.05,0),COLOR000099;

STICKLINE(ZBVAR187,C,O,2.2,0),COLOR0000CC;

STICKLINE(ZBVAR187,C,O,1.5,0),COLORRED;

STICKLINE(ZBVAR187,C,O,0.5,0),COLORYELLOW;

VAR2:ZBVAR52 OR ZBVAR102 OR ZBVAR94 OR ZBVAR85 OR ZBVAR86 OR ZBVAR104 OR ZBVAR149,NODRAW;

VAR1:ZBVAR77 AND C/REF(C,1)>1.095 AND ZBVAR80 AND ZBVAR79 OR ZBVAR103 OR ZBVAR150 OR ZBVAR152 OR ZBVAR153 OR ZBVAR156 OR ZBVAR155 OR ZBVAR154 OR ZBVAR157,NODRAW;

VAR3:ZBVAR97 AND ZBVAR84 AND ZBVAR101 AND ZBVAR81,NODRAW;

捉妖:VAR1 AND C/REF(C,1)>1.095,NODRAW;

DRAWTEXT(TFILTER(捉妖,20,0),L*0.99,'←捉妖'),COLORYELLOW;

擒龙:VAR3>=1 AND C/REF(C,1)>1.095,NODRAW;

DRAWTEXT(TFILTER(ZBVAR19=ZBVAR17,20,0) AND 擒龙 ,L*0.99,'←擒龙'),COLORRED;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:#WEEK

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

{妖股通道主图源码如下}N赋值:1
好股网1赋值:KDJ.K,画白色
好股网2赋值:KDJ.D,画黄色
好股网3赋值:KDJ.J,画洋红色
好股网4赋值:KDJ.K#WEEK,NODRAW
好股网5赋值:KDJ.D#WEEK,NODRAW
好股网6赋值:KDJ.J#WEEK,NODRAW
日金叉赋值:好股网1上穿好股网2 AND (好股网2<40 OR 好股网2>60)
周金叉赋值:好股网4上穿好股网5 AND (好股网5<40 OR 好股网5>60)
共振赋值:(周金叉 AND 日金叉)
当满足条件共振时,在-30和100之间画柱状线
DRAWTEXT((周金叉 AND 日金叉),-5,' 日周共振'),画黄色
DRAWTEXT((周金叉 AND 日金叉),5,' K D J'),画黄色
DRAWICON((周金叉 AND 日金叉),-5,5)
当满足条件好股网1>=好股网2时,在88和85之间画柱状线
当满足条件好股网1<好股网2时,在88和85之间画柱状线
当满足条件好股网4>=好股网5时,在-20和-25之间画柱状线
当满足条件好股网4<好股网5时,在-20和-25之间画柱状线
当满足条件ISLASTBAR时,在88和'__日线'位置书写文字
当满足条件ISLASTBAR时,在-22和'__周线'位置书写文字
LC赋值:1日前的收盘价
输出RSI6:SMA(收盘价-LC和0较大值,6,1)/SMA(收盘价-LC的绝对值,6,1)*100, 线宽为2
输出MA6:RSI6的6日简单移动平均,画绿色
输出红线:IF(MA6>1日前的MA6 OR RSI6>MA6,MA6,DRAWNULL),画红色, 线宽为2
XG赋值:好股网1>=好股网2 AND 好股网4>=好股网5 AND 红线
黄柱赋值: 条件连续成立次数(XG)=1
当满足条件黄柱时,在88和-20之间画柱状线
当满足条件黄柱时,在90和9之间画图标
当满足条件黄柱时,在70和9之间画图标
当满足条件黄柱时,在50和9之间画图标
当满足条件黄柱时,在30和9之间画图标
当满足条件黄柱时,在10和9之间画图标
当满足条件黄柱时,在-10和9之间画图标
{妖股通道副图源码如下}ZBVAR1赋值:C的7日指数移动平均
ZBVAR2赋值:C的18日指数移动平均
ZBVAR3赋值:(ZBVAR1-ZBVAR2)/ZBVAR2*100
ZBVAR4赋值:ZBVAR3的1日指数移动平均
ZBVAR5赋值:C的3日指数移动平均
ZBVAR6赋值:C的26日指数移动平均
ZBVAR7赋值:ZBVAR5-ZBVAR6
输出DK:C的3日指数移动平均,3),3)+ZBVAR7,画绿色
IF(ZBVAR4>=1日前的ZBVAR4,DK,DRAWNULL),画洋红色, 线宽为2
IF(ZBVAR4<=1日前的ZBVAR4,DK,DRAWNULL),画绿色
ZBVAR8赋值:5日内成交量最高值
ZBVAR9赋值:O>C
ZBVAR10赋值:C>O
ZBVAR11赋值:C=O
ZBVAR12赋值:5的成交量日累和/ZBVAR8
如果ZBVAR12>0.3返回1否则返回0
如果ZBVAR9 AND ZBVAR13返回成交量否则返回0
如果ZBVAR10 AND ZBVAR13返回成交量否则返回0
如果ZBVAR11 AND ZBVAR13返回成交量否则返回0
ZBVAR17赋值:3的ZBVAR15日累和
ZBVAR18赋值:3的ZBVAR14日累和
ZBVAR19赋值:ZBVAR17-ZBVAR18
当满足条件ZBVAR19=ZBVAR17时,在C和O之间画柱状线
当满足条件ZBVAR19=ZBVAR17时,在C和O之间画柱状线
当满足条件ZBVAR19=ZBVAR17时,在C和O之间画柱状线
当满足条件ZBVAR19=ZBVAR17时,在C和O之间画柱状线
DRAWICON(ZBVAR19=ZBVAR17 AND 1日前的ZBVAR19=ZBVAR17=0,最低价*0.98,30),画洋红色
ZBVAR20:=EMA(100*(C-34日内最低价最低值)/(34日内最高价最高值-34日内最低价最低值),3)
ZBVAR21:=(1日前的ZBVAR20+2日前的ZBVAR20+3日前的ZBVAR20)/3
ZBVAR22:=(1日前的ZBVAR20+2日前的ZBVAR20+3日前的ZBVAR20+4日前的ZBVAR20+5日前的ZBVAR20+6日前的ZBVAR20+7日前的ZBVAR20+8日前的ZBVAR20+9日前的ZBVAR20+10日前的ZBVAR20)/10
ZBVAR23:=ZBVAR20<80 AND ZBVAR21<80 AND ZBVAR22<80
ZBVAR24:=ZBVAR20>80 AND ZBVAR21>80 AND ZBVAR22>80
ZBVAR25:=ZBVAR22ZBVAR26:=1日前的C
ZBVAR27:=SMA(C-ZBVAR26和0较大值,2,1)/SMA(C-ZBVAR26的绝对值,2,1)*100
ZBVAR28:=100*(10日内最高价最高值-C)/(10日内最高价最高值-10日内最低价最低值)
ZBVAR29:=100*(6日内最高价最高值-C)/(6日内最高价最高值-6日内最低价最低值)
ZBVAR30:=ZBVAR27上穿ZBVAR29 AND ZBVAR25
ZBVAR31:=ZBVAR27>75 AND ZBVAR29<5
当满足条件ZBVAR31 AND ZBVAR17>ZBVAR19时,在最低价*0.99和29之间画图标
当满足条件ZBVAR30时,在最低价*0.98和28之间画图标
ZBVAR32:=C*0.9计算的获利盘比例*100
ZBVAR33:=ZBVAR32的10日简单移动平均
ZBVAR34:=ZBVAR32的3日简单移动平均
如果ZBVAR33>ZBVAR34返回ZBVAR34否则返回ZBVAR33
ZBVAR36:=(C-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*50
ZBVAR37:=C的12日指数移动平均-C的26日指数移动平均
ZBVAR38:=ZBVAR37的9日指数移动平均
ZBVAR39:=ZBVAR37>ZBVAR38
ZBVAR40:=(C-12日内最低价最低值)/(12日内最高价最高值-12日内最低价最低值)*100
ZBVAR36的3日[1日权重]移动平均
ZBVAR41的3日[1日权重]移动平均
ZBVAR43:=ZBVAR41>ZBVAR42
ZBVAR44:=1日前的C
ZBVAR45:=SMA(C-ZBVAR44和0较大值,9,1)/SMA(C-ZBVAR44的绝对值,9,1)*100
ZBVAR46:=SMA(C-ZBVAR44和0较大值,26,1)/SMA(C-ZBVAR44的绝对值,26,1)*100
ZBVAR47:=ZBVAR45>ZBVAR46
ZBVAR40的3日[1日权重]移动平均
ZBVAR48的3日[1日权重]移动平均
ZBVAR50:=ZBVAR48>ZBVAR49
ZBVAR51:=(C的3日简单移动平均+C的9日简单移动平均+C的12日简单移动平均+C的26日简单移动平均)/4
ZBVAR52:=C>ZBVAR51
ZBVAR53:=C-1日前的C
ZBVAR54:=100*ZBVAR53的9日指数移动平均,9)/EMA(EMA(ZBVAR53的绝对值,9),3)
ZBVAR55:=100*ZBVAR53的26日指数移动平均,12)/EMA(EMA(ZBVAR53的绝对值,26),12)
ZBVAR56:=ZBVAR54>ZBVAR55
ZBVAR57:=ZBVAR39 AND ZBVAR43 AND ZBVAR47 AND ZBVAR50 AND ZBVAR52 AND ZBVAR56
ZBVAR58:=C的9日指数移动平均,9)
ZBVAR59:=100*C*0.95计算的获利盘比例
ZBVAR60:=C的12日指数移动平均>C的50日指数移动平均 AND C的20日指数移动平均>C的120日指数移动平均
ZBVAR61:=(ZBVAR58-1日前的ZBVAR58)/1日前的ZBVAR58*1000
ZBVAR62:=ZBVAR59>=50 AND 获利盘为85%的成本分布<=C AND ZBVAR61>0 AND ZBVAR61>1日前的ZBVAR61
ZBVAR63:=DMA((最高价+最低价+C*2)/4,0.9)
ZBVAR64:=成交量/((最高价-最低价)*2-C-O的绝对值)
ZBVAR65:=IF(C>O,ZBVAR64*(最高价-最低价),IF(CO,0-ZBVAR64*(最高价-C+O-最低价),IF(CZBVAR66:=ZBVAR65/20/1.15
ZBVAR67:=ZBVAR66*0.55+1日前的ZBVAR66*0.33+2日前的ZBVAR66*0.22
ZBVAR68:=ZBVAR67的8日指数移动平均
ZBVAR69:=ZBVAR67的3日指数移动平均
ZBVAR70:=ZBVAR69
ZBVAR71:=成交量的5日简单移动平均
ZBVAR72:=成交量的10日简单移动平均
ZBVAR73:=ZBVAR71>=ZBVAR72
ZBVAR74:=ZBVAR70>=0
ZBVAR75:=ZBVAR74 AND ZBVAR73
ZBVAR76:=ZBVAR57 OR ZBVAR75
ZBVAR77:=CROSS(1日前的C,C)
ZBVAR78:=C计算的获利盘比例*100
ZBVAR79:=1日前的ZBVAR78-ZBVAR78<=5
ZBVAR80:=CROSS(ZBVAR78,1日前的ZBVAR78) AND ZBVAR78<20
ZBVAR81:=ZBVAR79 OR ZBVAR78
ZBVAR82:=ZBVAR77 AND ZBVAR81
ZBVAR83:=(2*C+最高价+最低价)/4
ZBVAR84:=5日内最低价最低值
ZBVAR85:=5日内最高价最高值
ZBVAR86:=IF((C的5日简单移动平均-C)/C>0.04 AND (C的10日简单移动平均-C的5日简单移动平均)/C的5日简单移动平均>0.04,23,0)
ZBVAR87:=ZBVAR86=23
ZBVAR88:=上次ZBVAR87距今天数=1
ZBVAR89:=ZBVAR86<23
ZBVAR90:=ZBVAR88 AND ZBVAR89
ZBVAR91:=( 条件连续成立次数(ZBVAR86>0)=4)*30
ZBVAR92:=ZBVAR90 OR ZBVAR91
ZBVAR93:=成交量的13日指数移动平均
ZBVAR94:=成交额的13日指数移动平均
ZBVAR95:=ZBVAR94/ZBVAR93/100
ZBVAR96:=(C-ZBVAR95)/ZBVAR95*100
ZBVAR97:=ZBVAR96<0-18 OR ZBVAR96<0-6
ZBVAR98:=ZBVAR97 AND ZBVAR92
ZBVAR99:=ZBVAR98 OR ZBVAR82
当满足条件ZBVAR99 AND ZBVAR22<80 AND ZBVAR35=ZBVAR33 AND ZBVAR76时,在最低价和O之间画柱状线
当满足条件ZBVAR99 AND ZBVAR22<80 AND ZBVAR35=ZBVAR33 AND ZBVAR76时,在C和O之间画柱状线
ZBVAR100:=1日前的最低价
ZBVAR101:=SMA(最低价-ZBVAR100的绝对值,3,1)/SMA(最低价-ZBVAR100和0较大值,3,1)*100
如果C*1.3返回ZBVAR101*10否则返回ZBVAR101/10
ZBVAR103:=13日内最低价最低值
ZBVAR104:=13日内ZBVAR102最高值
ZBVAR105:=IF(C的34日简单移动平均,1,0)
ZBVAR106:=EMA(IF(最低价<=ZBVAR103,(ZBVAR102+ZBVAR104*2)/2,0),3)/618*ZBVAR105
如果ZBVAR106>100返回100否则返回ZBVAR106
ZBVAR108:=ZBVAR107>15 AND ZBVAR76
ZBVAR109:=ZBVAR108 OR ZBVAR107=100
当满足条件ZBVAR109时,在最低价和O之间画柱状线
当满足条件ZBVAR109时,在C和O之间画柱状线
ZBVAR110:=C的2日指数移动平均
ZBVAR111:=EMA(SLOPE(C,21)*20+C,42)
ZBVAR112:=IF(ZBVAR110上穿ZBVAR111,最低价-0.02,DRAWNULL)
ZBVAR113:=(最低价+最高价+C*2)/4
ZBVAR114:=ZBVAR113的14日指数移动平均
ZBVAR115:=(ZBVAR114-1日前的ZBVAR114)/1日前的ZBVAR114*100
如果ZBVAR115>=0返回ZBVAR114否则返回DRAWNULL
ZBVAR117:=IF(ZBVAR112上穿0,5,0)
ZBVAR118:=IF(ZBVAR116上穿0,10,0)
ZBVAR119:=ZBVAR117 AND ZBVAR118
当满足条件ZBVAR119时,在最低价*0.99和1之间画图标
当满足条件ZBVAR119时,在最低价*0.98和1之间画图标
ZBVAR120:=1日前的C
ZBVAR121:=SMA(C-ZBVAR120和0较大值,5,1)/SMA(C-ZBVAR120的绝对值,5,1)*100
ZBVAR122:=80上穿ZBVAR121
当满足条件ZBVAR122时,在最高价*1.01和2之间画图标
当满足条件ZBVAR122时,在最高价*1.02和2之间画图标
ZBVAR123:=SMA(C-ZBVAR26和0较大值,3,1)/SMA(C-ZBVAR26的绝对值,3,1)*100
ZBVAR124:=C的3日指数移动平均
ZBVAR125:=C的21日指数移动平均
DRAWICON(ZBVAR124上穿ZBVAR125,最低价*0.97,38),画红色
DRAWICON(88上穿ZBVAR123,最高价*1.03,39),画黄色
ZBVAR126:=8
ZBVAR127:=100*ZBVAR53的ZBVAR126日指数移动平均,ZBVAR126)/EMA(EMA(ZBVAR53的绝对值,ZBVAR126),ZBVAR126)
ZBVAR128:=IF(2日内ZBVAR127最低值=7日内ZBVAR127最低值 AND 统计2日满足ZBVAR127<0的天数 AND CROSS(ZBVAR127,ZBVAR127的2日简单移动平均),1,0)
DRAWICON(ZBVAR128=1的5过滤,最低价*0.99,7),画红色
ZBVAR129:=C-1日前的C
ZBVAR130:=IF(C-1日前的C>=0,ZBVAR129,0)
ZBVAR131:=1日前的C-C
ZBVAR132:=IF(C-1日前的C<=0,ZBVAR131,0)
ZBVAR133:=90的ZBVAR130日累和/90的ZBVAR132日累和
ZBVAR134:=100-100/(1+ZBVAR133)
ZBVAR135:=ZBVAR134的21日指数移动平均
ZBVAR136:=ZBVAR135的5日指数移动平均
ZBVAR137:=ZBVAR135的3日指数移动平均
ZBVAR138:=(C*2+最高价+最低价)/4
ZBVAR139:=ZBVAR138的13日指数移动平均-ZBVAR138的21日指数移动平均
ZBVAR140:=ZBVAR139的3日指数移动平均
ZBVAR141:=ZBVAR139的10日指数移动平均
如果ZBVAR140>=ZBVAR141返回ZBVAR140否则返回ZBVAR141
如果ZBVAR141-ZBVAR140返回ZBVAR141否则返回ZBVAR140
ZBVAR144:=C的7日指数移动平均-C的21日指数移动平均
ZBVAR145:=E0.668*1日前的ZBVAR144+0.333*ZBVAR144的1日简单移动平均
如果ZBVAR144>=ZBVAR145返回ZBVAR144否则返回ZBVAR145
如果ZBVAR145-ZBVAR144返回ZBVAR145否则返回ZBVAR144
ZBVAR148:=ZBVAR142>ZBVAR143
ZBVAR149:=ZBVAR142=ZBVAR143
ZBVAR150:=ZBVAR146>ZBVAR147
ZBVAR151:=ZBVAR146=ZBVAR147
ZBVAR152:=ZBVAR151 AND ZBVAR149
ZBVAR153:=ZBVAR150 AND ZBVAR148
当满足条件ZBVAR150时,在最高价和最低价之间画柱状线
当满足条件ZBVAR151时,在最高价和最低价之间画柱状线
当满足条件ZBVAR148时,在O和C之间画柱状线
当满足条件ZBVAR149时,在O和C之间画柱状线
当满足条件ZBVAR153时,在O和C之间画柱状线
当满足条件ZBVAR152时,在O和C之间画柱状线
ZBVAR154:=HHV(最高价的3日简单移动平均,2)
输出UP:LLV(最高价的3日简单移动平均,1),画红色
如果ZBVAR154-UP>0返回UP否则返回DRAWNULL
ZBVAR155:=MA(REF(HHV((C+最低价+O+最高价)/4,30),1),3)
STICKLINE(1日前的统计5日满足CZBVAR155 AND C>O,C,O,2,0),画黄色
DRAWICON(1日前的统计5日满足CZBVAR155 AND C>O,最低价,42),画红色
ZBVAR156:=C的60日简单移动平均>REF(C的60日简单移动平均,1)
ZBVAR157:=获利盘为50%的成本分布
ZBVAR158:=C计算的获利盘比例*100>50
ZBVAR159:=C上穿ZBVAR157
ZBVAR160:=ZBVAR156 AND ZBVAR157 AND ZBVAR158 AND ZBVAR159 AND ZBVAR150
当满足条件ZBVAR160时,在C和O之间画柱状线
当满足条件ZBVAR160时,在最低价*0.99和44之间画图标
ZBVAR161:=C的10日简单移动平均
ZBVAR162:=C的54日简单移动平均
STICKLINE(C/1日前的C>=1.096 AND 最高价=C,O,C,2,0),画黄色
ZBVAR163:=C的5日指数移动平均
ZBVAR164:=ZBVAR163的0日指数移动平均
ZBVAR165:=HHV(最高价的3日简单移动平均,2)
ZBVAR166:=LLV(最高价的3日简单移动平均,1)
DRAWICON(ZBVAR166=ZBVAR165 AND 1日前的ZBVAR165>1日前的ZBVAR166 AND ZBVAR150,最低价,1)
DRAWICON(ZBVAR166ZBVAR167:=C的5日简单移动平均>C的10日简单移动平均 AND C的10日简单移动平均>REF(C的10日简单移动平均,1) AND C的5日简单移动平均>REF(C的5日简单移动平均,1)
ZBVAR168:=100*(1-C计算的获利盘比例)
ZBVAR169:=100-ZBVAR168
ZBVAR170:=ZBVAR169上穿ZBVAR168
当满足条件ZBVAR170时,在最低价和25之间画图标
ZBVAR171:=C的5日简单移动平均
ZBVAR172:=C的13日简单移动平均
ZBVAR173:=C的34日简单移动平均
ZBVAR174:=ZBVAR171>1日前的ZBVAR171 AND ZBVAR172>1日前的ZBVAR172 AND ZBVAR173>1日前的ZBVAR173
ZBVAR175:=C的3日指数移动平均
ZBVAR176:=EMA(SLOPE(C,34)*5+C,21)
ZBVAR177:=ZBVAR175上穿ZBVAR176
ZBVAR178:=ZBVAR175上穿ZBVAR176 AND ZBVAR174
ZBVAR179:=ZBVAR177>0
ZBVAR180:=ZBVAR178>0
ZBVAR181:=C的34日简单移动平均
ZBVAR182:=ZBVAR179 OR ZBVAR180
ZBVAR183:=C>ZBVAR181 AND 1日前的CZBVAR184:=CROSS(C,C的250日简单移动平均) AND 成交量>=1日前的成交量*2
ZBVAR185:=(C/1日前的C-1)*100>9.97 AND CROSS(C,C的250日简单移动平均)
ZBVAR186:=ZBVAR184 OR ZBVAR185 OR ZBVAR183
ZBVAR187:=ZBVAR182 AND ZBVAR170 AND ZBVAR186 AND ZBVAR167
当满足条件ZBVAR187时,在C和O之间画柱状线
当满足条件ZBVAR187时,在C和O之间画柱状线
当满足条件ZBVAR187时,在C和O之间画柱状线
当满足条件ZBVAR187时,在C和O之间画柱状线
输出VAR2:ZBVAR52 OR ZBVAR102 OR ZBVAR94 OR ZBVAR85 OR ZBVAR86 OR ZBVAR104 OR ZBVAR149,NODRAW
输出VAR1:ZBVAR77 AND C/1日前的C>1.095 AND ZBVAR80 AND ZBVAR79 OR ZBVAR103 OR ZBVAR150 OR ZBVAR152 OR ZBVAR153 OR ZBVAR156 OR ZBVAR155 OR ZBVAR154 OR ZBVAR157,NODRAW
输出VAR3:ZBVAR97 AND ZBVAR84 AND ZBVAR101 AND ZBVAR81,NODRAW
输出捉妖:VAR1 AND C/1日前的C>1.095,NODRAW
DRAWTEXT(TFILTER(捉妖,20,0),L*0.99,'←捉妖'),画黄色
输出擒龙:VAR3>=1 AND C/1日前的C>1.095,NODRAW
DRAWTEXT(TFILTER(ZBVAR19=ZBVAR17,20,0) AND 擒龙 ,L*0.99,'←擒龙'),画红色

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图