【精选指标】通达信【金钻趋势】主图指标 ,助你股海擒牛!

财富   2025-01-07 21:41   湖北  



  精 彩 内 容 呈 现  


 指    标    源    码


章鱼哥:=REF(O,1);

ZYG2:=ABS((REF(C,1)-章鱼哥)/章鱼哥);

ZYG3:=ABS((REF(H,1)-章鱼哥)/章鱼哥);

ZYG4:=ABS((REF(L,1)-章鱼哥)/章鱼哥);

ZYG5:=ABS((ZYG2+ZYG3+ZYG4)/3);

ZYG6:=O*ZYG5;

ZYG7:=O-ZYG6;

ZYG8:=O+ZYG6;

ZYG9:=(REF(C,2)+REF(C,1)+O)/3 ,COLOR4080FF,NODRAW;

章鱼哥0:=OPEN;

章鱼哥1:=REF(OPEN,1);

章鱼哥2:=HIGH;

章鱼哥3:=REF(HIGH,1);

章鱼哥4:=LOW;

章鱼哥5:=REF(LOW,1);

章鱼哥6:=CLOSE;

章鱼哥7:=REF(CLOSE,1);

章鱼哥8:=章鱼哥3;

章鱼哥9:=章鱼哥5;

ZYG20:=章鱼哥1;

ZYG21:=章鱼哥7;

ZYG22:=(章鱼哥8+章鱼哥9+ZYG20+2*ZYG21)/5;

ZYG23:=ZYG22+(章鱼哥8-章鱼哥9);

ZYG24:=2*ZYG22-章鱼哥9;

ZYG25:=2*ZYG22-章鱼哥8;

ZYG26:=ZYG22-(章鱼哥8-章鱼哥9);

ZYG27:=ZYG23;

ZYG28:=ZYG24;

ZYG29:=ZYG25;

ZYG30:=ZYG26;

ZYG31:=(HIGH+LOW+OPEN+2*CLOSE)/5;

ZYG32:=ZYG31+(HIGH-LOW);

ZYG33:=ZYG31-(HIGH-LOW);

ZYG34:=(ZYG22+ZYG27+ZYG28+ZYG29+ZYG30)/5;

ZYG35:=ZYG34;

ZYG36:=(ZYG34+章鱼哥0)/2;

ZYG37:=(ZYG7+ZYG36)/2;

ZYG38:=MIN(ZYG37,ZYG33);

DRAWRECTREL(0,0,360,399,IF(120,RGB(10,0,0),0));

DRAWRECTREL(0,0,360,8,IF(120,RGB(280,0,0),0));

DRAWRECTREL(0,265,360,273,IF(120,RGB(280,0,0),0));

ZYG42:=12;

ZYG43:=50;

ZYG44:=60;

ZYG45:=EXPMA(CLOSE,ZYG42);

ZYG46:=EXPMA(CLOSE,ZYG43);

ZYG47:=EXPMA(CLOSE,ZYG44);

ZYG48:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);

ZYG49:=EMA(ZYG48,5);

ZYG50:=REFDATE(REF(HHV(H,96),5),DATE);

ZYG51:=REFDATE(REF(LLV(L,96),5),DATE);

ZYG52:=((ZYG50)+(ZYG51))/2;

ZYG53:=IF(ZYG48>0 AND ZYG48-ZYG49<=0,ZYG50,ZYG50),LINETHICK3,COLOR00FF00;

ZYG54:=IF(ZYG48>0 AND ZYG48-ZYG49<=0,ZYG52,ZYG52),LINETHICK3,COLOR00FF00;

ZYG55:=IF(ZYG48>0 AND ZYG48-ZYG49<=0,ZYG51,ZYG51),LINETHICK3,COLOR00FF00;

ZYG56:=IF(ZYG48>0 AND ZYG48-ZYG49>0,ZYG50,DRAWNULL),LINETHICK3,COLORRED;

ZYG57:=IF(ZYG48>0 AND ZYG48-ZYG49>0,ZYG52,DRAWNULL),LINETHICK3,COLORRED;

ZYG58:=IF(ZYG48>0 AND ZYG48-ZYG49>0,ZYG51,DRAWNULL),LINETHICK3,COLORRED;

ZYG59:=TOPRANGE(H);

ZYG60:=LOWRANGE(L);

ZYG61:=LLVBARS(H,ZYG59);

ZYG62:=LLVBARS(L,ZYG59);

ZYG63:=HHVBARS(L,ZYG60);

ZYG64:=HHVBARS(H,ZYG60);

ZYG65:=HHV(L,ZYG61+1)>LLV(H,ZYG61+1);

ZYG66:=HHV(L,ZYG63+1)>LLV(H,ZYG63+1);

ZYG67:=COUNT(L>=REF(L,1),ZYG62)>2 AND COUNT(H>=REF(H,1),ZYG61)>2;

ZYG68:=COUNT(H<=REF(H,1),ZYG64)>2 AND COUNT(L<=REF(L,1),ZYG63)>2;

ZYG69:=ZYG59 AND ZYG65 AND ZYG67 AND ZYG62>3;

ZYG70:=ZYG60 AND ZYG66 AND ZYG68 AND ZYG64>3;

ZYG71:=BARSLAST(ZYG69);

ZYG72:=BARSLAST(ZYG70);

ZYG73:=IF(ZYG71=0,ZYG72,ZYG71)>=3;

ZYG74:=ZYG69 AND ZYG73 AND H=HHV(H,BARSLAST(ZYG70));

ZYG75:=ZYG70 AND ZYG73 AND L=LLV(L,BARSLAST(ZYG69));

ZYG76:DRAWLINE(ZYG75,L,ZYG74,H,0),COLORMAGENTA,LINETHICK3;

ZYG77:DRAWLINE(ZYG74,H,ZYG75,L,0),COLORLIGREEN,LINETHICK3;

ZYG78:=ZYG76 AND ZYG77 ;

ZYG79:=IF(PERIOD=11,0.02, IF(PERIOD=10,0.02, IF(PERIOD=9,0.02, IF(PERIOD=8,0.001, IF(PERIOD=7,0.02, IF(PERIOD=6,0.01, IF(PERIOD=5,0.005, IF(PERIOD=4,0.002, IF(PERIOD=3,0.001, IF(PERIOD=2,0.001, IF(PERIOD=1,0.0003, IF(PERIOD=0,0.0002,0))))))))))));

DRAWNUMBER(ZYG78 AND ZYG74,H+H*ZYG79+0.2,H),COLORLIRED;

DRAWNUMBER(ZYG78 AND ZYG75,L-0.12,L),COLORYELLOW;

STICKLINE(ZYG78 AND ZYG75,ZYG51,ZYG51+0.2,6,0),COLORMAGENTA;

STICKLINE(ZYG78 AND ZYG74,ZYG50,ZYG50-0.2,6,0),COLORGREEN;

ZYG80:=EMA(C,3);

ZYG81:=EMA(SLOPE(C,21)*20+C,55)*1;

ZYG82:=(ZYG80-ZYG81),COLORYELLOW,NODRAW;

ZYG83:=MA(CLOSE,13);

ZYG84:=MA(C,1);

ZYG85:=SMA(SMA(SMA(ZYG84,2,1),2,1),2,1),COLORYELLOW;

ZYG86:=MA(ZYG85,3),COLORYELLOW;

STICKLINE(ZYG82>=0 OR ZYG85> ZYG86,(ZYG80-ZYG82*0.80),ZYG83,2,0),COLORRED;

STICKLINE(ZYG82< 0 OR ZYG85<=ZYG86,(ZYG81+ZYG82*0.50),ZYG83,2,0),COLORBLUE;

ZYG87:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT;

ZYG88:=(((ZYG87-LLV(ZYG87,21))/(HHV(ZYG87,21)-LLV(ZYG87,21)))*(4))*(0.5),COLORYELLOW,LINETHICK3,NODRAW;

ZYG89:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORLIRED;

ZYG90:=SLOPE(ZYG89,3)*10,COLORYELLOW,NODRAW;

ZYG91:=10*(ZYG90-REF(ZYG90,1)),COLORMAGENTA,NODRAW;

ZYG92:=CROSS(ZYG82,0) AND COUNT(CROSS(ZYG82,0) ,10)=1;

ZYG93:=CROSS(0,ZYG82) AND COUNT(CROSS(0,ZYG82),10)=1;

ZYG94:=EMA(CLOSE,3);

ZYG95:=EMA(CLOSE,21);

ZYG96:=(CLOSE+HIGH+LOW)/3;

ZYG97:=(ZYG96-MA(ZYG96,14))/(0.015*AVEDEV(ZYG96,14));

ZYG98:=IF(REF(ZYG97,1)< 100,ZYG97>120,ZYG97>100);

ZYG99:=CROSS(ZYG94,ZYG95) OR ZYG94>=ZYG95 OR ZYG98,COLORRED;

章鱼哥00:=(CROSS(ZYG95,ZYG94) OR ZYG94< ZYG95) AND NOT(ZYG99),COLORGREEN;

DRAWTEXT(章鱼哥00 AND COUNT(章鱼哥00,3)=1 ,(ZYG85 + 0.04),'降'),COLOR00FF00;

DRAWTEXT(ZYG99 AND COUNT(ZYG99,5)=1 ,(ZYG85-0.05),'涨'),COLORMAGENTA;

章鱼哥01:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));

章鱼哥02:=VOL*(C+L+H)/3;

章鱼哥03:=SUM(章鱼哥02,章鱼哥01)/SUM(VOL,章鱼哥01),LINETHICK3,COLORYELLOW;

章鱼哥04:=C-章鱼哥03,NODRAW,COLORCYAN;

章鱼哥05:=CROSS(MA(C,13),MA(C,21));

章鱼哥06:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

章鱼哥07:=SMA(章鱼哥06,10,1);

章鱼哥08:=SMA(章鱼哥07,5,1);

章鱼哥09:=INTPART(章鱼哥07);

章鱼哥10:=INTPART(章鱼哥08);

章鱼哥11:=章鱼哥09+章鱼哥10;

章鱼哥12:=MOD(章鱼哥11,10);

章鱼哥13:=(章鱼哥11-REF(章鱼哥11,1))*10;

章鱼哥14:=章鱼哥13,LINETHICK1,COLORWHITE,NODRAW;

章鱼哥15:=(ZYG90< -0.1 OR 章鱼哥00 OR ZYG91< 0 OR 章鱼哥14< 0) AND 章鱼哥04< 0 AND ZYG77 ,COLORCYAN;

章鱼哥16:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;

章鱼哥17:=SMA(章鱼哥16, 9, 1);

章鱼哥18:=SMA(章鱼哥17, 3, 1);

章鱼哥19:=3*章鱼哥17-2*章鱼哥18,COLORRED,LINETHICK3;

章鱼哥20:=EMA(章鱼哥17, 3),COLORWHITE,LINETHICK3;

章鱼哥21:=CROSS(MA(C,5),MA(C,33)) AND ZYG83>REF(ZYG83,1) AND 章鱼哥04>0 AND (章鱼哥19>=章鱼哥20 OR 章鱼哥19>=REF(章鱼哥19,1)),NODRAW,COLORRED;

章鱼哥22:=(NOT(章鱼哥15) OR ZYG99 OR 章鱼哥21) AND (章鱼哥04>0.05 ) AND ZYG76 AND ZYG90>=0,COLORMAGENTA;

DRAWTEXT(章鱼哥22 AND COUNT(章鱼哥22,5)=1,(ZYG85+0.08),'升'),COLORYELLOW;

DRAWTEXT(章鱼哥15 AND COUNT(章鱼哥15 ,3)=1 AND 章鱼哥04< -0.05 AND ZYG90<=-0.1,(ZYG85 + 0.04),'跌'),COLORWHITE;

章鱼哥23:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

章鱼哥24:=SMA(SMA(章鱼哥23,3,1),3,1)/28.57;

章鱼哥25:=EMA(章鱼哥24,5);

章鱼哥26:=3*章鱼哥24-2*章鱼哥25;

章鱼哥27:=CROSS(章鱼哥26,章鱼哥24) AND 章鱼哥24< 2.1 AND C>O;

章鱼哥28:=MA(C,3);

章鱼哥29:=ATAN((章鱼哥28/REF(章鱼哥28,1)-1)*100)*180/3.14159>45 ,NODRAW;

章鱼哥30:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

章鱼哥31:=SMA(章鱼哥30,3,1);

章鱼哥32:=SMA(章鱼哥31,3,1);

章鱼哥33:=章鱼哥31< 30 AND 章鱼哥32< 30 ;

章鱼哥34:=REF(CLOSE,1);

章鱼哥35:=SMA(MAX(CLOSE-章鱼哥34,0),4.1,1)/SMA(ABS(CLOSE-章鱼哥34),4.1,1)*100;

章鱼哥36:=CROSS(章鱼哥35,11)*1,COLORRED;

章鱼哥37:=(3*CLOSE+LOW+OPEN+HIGH)/6;

章鱼哥38:=(20*章鱼哥37+19*REF(章鱼哥37,1)+18*REF(章鱼哥37,2)+17*REF(章鱼哥37,3)+16*REF(章鱼哥37,4)+15*REF(章鱼哥37,5)+14*REF(章鱼哥37,6)+13*REF(章鱼哥37,7)+12*REF(章鱼哥37,8)+11*REF(章鱼哥37,9)+10*REF(章鱼哥37,10)+9*REF(章鱼哥37,11)+8*REF(章鱼哥37,12)+7*REF(章鱼哥37,13)+6*REF(章鱼哥37,14)+5*REF(章鱼哥37,15)+4*REF(章鱼哥37,16)+3*REF(章鱼哥37,17)+2*REF(章鱼哥37,18)+REF(章鱼哥37,20))/210 ,LINETHICK3,COLORYELLOW;

章鱼哥39:=MA(章鱼哥38,6);

章鱼哥40:=CROSS("MACD.DIF","MACD.DEA") ;

章鱼哥41:=章鱼哥29 AND CROSS(章鱼哥28,章鱼哥39) AND 章鱼哥33 OR ( 章鱼哥40 AND REF(CROSS(章鱼哥31,章鱼哥32),1) AND 章鱼哥28>章鱼哥39) OR (CROSS(章鱼哥28,章鱼哥39) AND CROSS(章鱼哥31,章鱼哥32));

STICKLINE(章鱼哥41>0,L,H,3,0),COLORYELLOW;

STICKLINE(章鱼哥41>0,L,H,1,0),COLORRED;

DRAWTEXT(章鱼哥41>0 AND REF(章鱼哥13,1)>0 AND ZYG90>=0 AND COUNT(章鱼哥41>0,10)=1,H,'↙潜伏'),COLORYELLOW;

章鱼哥42:=MA(VOL,5);

章鱼哥43:=MA(CLOSE,5);

章鱼哥44:=MA(CLOSE,4);

章鱼哥45:=MA(CLOSE,3);

章鱼哥46:=章鱼哥43>章鱼哥44 AND SLOPE(章鱼哥43,5)< 0 AND SLOPE(章鱼哥44,4)< 0 AND SLOPE(章鱼哥45,3) AND REF(章鱼哥44>章鱼哥45,1) AND CROSS(章鱼哥45,章鱼哥44) AND VOL>章鱼哥42;

章鱼哥47:=CROSS(章鱼哥20, 章鱼哥19) AND 章鱼哥45<=REF(章鱼哥45,1) AND 章鱼哥14<=0 AND REF(章鱼哥19,1)>80;

章鱼哥48:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;

章鱼哥49:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

章鱼哥50:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;

章鱼哥51:=章鱼哥48+100,COLOR9900FF;

章鱼哥52:=章鱼哥49+100,COLOR888888;

章鱼哥53:=章鱼哥50+100,COLORYELLOW,LINETHICK2;

章鱼哥54:=(REF(章鱼哥53,1)>85 AND REF(章鱼哥52,1)>85 AND REF(章鱼哥51,1)>65) AND CROSS(章鱼哥51,章鱼哥52);

章鱼哥55:=(章鱼哥53< REF(章鱼哥53,1) AND REF(章鱼哥53,1)>80) AND (REF(章鱼哥52,1)>95 OR REF(章鱼哥52,2)>95 ) AND 章鱼哥51>60 AND 章鱼哥52< 83.5 AND 章鱼哥52< 章鱼哥53 AND 章鱼哥52< 章鱼哥51+4;

章鱼哥56:=FILTER(章鱼哥55,4);DRAWTEXT_FIX(C>O,0,0.2,0,'更多实用指标指标,请关注微信公众号:通达信指标指标'),COLOR333333;

章鱼哥57:=(章鱼哥51< 12 AND 章鱼哥53< 8 AND (章鱼哥52< 7.2 OR REF(章鱼哥52,1)< 5) AND (章鱼哥53>REF(章鱼哥53,1) OR 章鱼哥52>REF(章鱼哥52,1)))OR (章鱼哥51< 8 AND 章鱼哥53< 7 AND 章鱼哥52< 15 AND 章鱼哥52>REF(章鱼哥52,1)) OR (章鱼哥51< 10 AND 章鱼哥53< 7 AND 章鱼哥52< 1);

章鱼哥58:=C< REF(C,4);

章鱼哥59:=BARSLASTCOUNT(章鱼哥58);

章鱼哥60:=C>REF(C,4);

章鱼哥61:=BARSLASTCOUNT(章鱼哥60);

章鱼哥62:=章鱼哥59=9 ;

章鱼哥63:=章鱼哥61=9;

章鱼哥64:=ISLASTBAR AND BETWEEN(章鱼哥61,5,8);

DRAWTEXT(章鱼哥61=9,H*1.0002,'9'),COLORGREEN;

章鱼哥65:=ISLASTBAR AND BETWEEN(章鱼哥59,5,8);

DRAWTEXT(章鱼哥59=9,L*0.9997,'9'),COLORRED;

章鱼哥66:=LLV(LOW,10);

章鱼哥67:=HHV(HIGH,25);

章鱼哥68:=EMA((CLOSE-章鱼哥66)/(章鱼哥67-章鱼哥66)*4,4);

章鱼哥69:=0.5,COLORYELLOW;

章鱼哥70:=LLV(LOW,25);

章鱼哥71:=HHV(HIGH,25);

章鱼哥72:=EMA((CLOSE-章鱼哥70)/(章鱼哥71-章鱼哥70)*100,4);

章鱼哥73:=EMA(章鱼哥72,3);

章鱼哥74:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

章鱼哥75:=COUNT(MA(C,10)< REF(MA(C,10),1),3)>=2 AND CROSS(C,MA(C,20)) AND C>=MA(C,30) AND 章鱼哥73>=REF(章鱼哥73,1) AND ZYG91>0 AND ZYG90>0;

DRAWTEXT(章鱼哥75 AND COUNT(章鱼哥75,6)=1 ,ZYG85+0.42,'反转'),COLORWHITE;

STICKLINE(章鱼哥75 AND COUNT(章鱼哥75,6)=1,ZYG85,ZYG85+0.3,5,0),COLORCYAN;

章鱼哥76:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

章鱼哥77:=SMA(ABS(LOW-章鱼哥76),13,1)/SMA(MAX(LOW-章鱼哥76,0),10,1);

章鱼哥78:=EMA(章鱼哥77,10)/100;

章鱼哥79:=LLV(LOW,33);

章鱼哥80:=EMA(IF(LOW<=章鱼哥79,章鱼哥78,0),3);

章鱼哥81:=IF(章鱼哥80< REF(章鱼哥80,1),章鱼哥80,0),COLORGREEN,NODRAW;

章鱼哥82:=IF(章鱼哥80>REF(章鱼哥80,1) ,章鱼哥80,0),COLORRED,NODRAW;

章鱼哥83:=IF(章鱼哥80>=100,100,章鱼哥80);

章鱼哥84:=REF(章鱼哥81,1);

章鱼哥85:=章鱼哥82;

章鱼哥86:=(章鱼哥84 AND 章鱼哥85);

DRAWTEXT(章鱼哥86 AND ZYG90>-0.1 AND ZYG91>0 AND COUNT(章鱼哥86,12)=1,ZYG85-0.16,'洗尾'),COLORGREEN;

章鱼哥87:=FILTER(CROSS(章鱼哥68,章鱼哥69),20) AND 章鱼哥68< 3 OR 章鱼哥41 OR 章鱼哥59 OR 章鱼哥75 OR 章鱼哥86 ;

章鱼哥88:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

章鱼哥89:=SMA(章鱼哥88,3,1);

章鱼哥90:=SMA(章鱼哥89,3,1);

章鱼哥91:=SMA(章鱼哥90,3,1);

章鱼哥92:=章鱼哥90;

章鱼哥93:=章鱼哥91;

章鱼哥94:=SLOPE(章鱼哥93,3)*10,COLORMAGENTA,NODRAW;

章鱼哥95:=CROSS(章鱼哥90,章鱼哥91) AND 章鱼哥90< 20;

章鱼哥96:=FILTER(章鱼哥95,10)=1 AND ZYG90>-0.1,COLORRED,NODRAW;

章鱼哥97:=250;

章鱼哥98:=HHV(C,章鱼哥97);

章鱼哥99:=LLV(C,章鱼哥97);

ZYG200:=章鱼哥98-章鱼哥99;

ZYG201:=(章鱼哥98+章鱼哥99)/2;

ZYG202:=(100-0)/2*1.3;

ZYG203:=(100-0)/1*1.3;

ZYG204:=(50-ZYG202)*ZYG200/ZYG203+ZYG201;

ZYG205:=(ZYG201+ZYG204)/2;

ZYG206:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;

ZYG207:=(CLOSE+HIGH+LOW)/3;

ZYG208:=EMA(ZYG207,10);

ZYG209:=REF(ZYG208,1);

ZYG210:=CROSS(82,ZYG206) AND C>ZYG205 AND 章鱼哥13<=10 AND ZYG208< ZYG209 AND ZYG90>-0.05 ,NODRAW,COLORGREEN;

ZYG211:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

ZYG212:=EMA(ZYG211,3)-10,COLORFF0000;

ZYG213:=CROSS(ZYG212,0);

ZYG214:=章鱼哥36 OR 章鱼哥96 OR 章鱼哥46;

ZYG215:=SMA(MAX(CLOSE-章鱼哥34,0),7,1)/SMA(ABS(CLOSE-章鱼哥34),7,1)*100,COLORWHITE;

ZYG216:=SMA(MAX(CLOSE-章鱼哥34,0),7,1)/SMA(ABS(CLOSE-章鱼哥34),7,1)*100,COLORWHITE;

ZYG217:=SMA(MAX(CLOSE-章鱼哥34,0),7,1)/SMA(ABS(CLOSE-章鱼哥34),7,1)*100,COLORRED;

ZYG218:=SMA(ZYG217,7,1),LINETHICK1,COLORWHITE;

ZYG219:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;

ZYG220:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;

ZYG221:=MA(ZYG219,7)*1.372,COLORGREEN,LINETHICK1;

ZYG222:=ZYG221*1.0887;

ZYG223:=(1.5*(ZYG220+ZYG218)-(ZYG222+ZYG221))+12,COLORGREEN,LINETHICK1;

ZYG224:=IF((CROSS(ZYG216,ZYG218) OR CROSS(ZYG216,ZYG223) AND ZYG223< 38 AND ZYG215< 51),18,0),COLORYELLOW,LINETHICK2;

ZYG225:=IF(EXIST(ZYG224=18,8) AND ZYG217>45 AND ZYG217>REF( ZYG217,2),1,0) AND ZYG90>0,COLORMAGENTA,LINETHICK3;

ZYG226:=(ZYG213 OR 章鱼哥87 OR ZYG99 OR 章鱼哥27 OR 章鱼哥46 OR ZYG225 OR ZYG92) AND COUNT((ZYG213 OR ZYG99 OR 章鱼哥87 OR ZYG92 OR 章鱼哥27 OR 章鱼哥46 OR ZYG225),3)=1,COLORRED,NODRAW;

ZYG227:=EMA( CLOSE, 9 );

ZYG228:=EMA( CLOSE, 18 );

ZYG229:=HHV(H,34);

ZYG230:=LLV(L,34);

ZYG231:((ZYG229-ZYG230)*章鱼哥68/100+ZYG230 +ZYG85)/2, COLORWHITE, LINETHICK3;

ZYG232:=ZYG227 - ZYG228, COLORWHITE, LINETHICK3;

ZYG233:=EMA( ZYG231, 3 );

ZYG234:=ZYG231;

DRAWTEXT(ZYG226 AND ZYG76 , ZYG234-0.15,'买'),COLORRED;

ZYG235:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);

ZYG236:=CLOSE< MA(CLOSE,20) AND MA(CLOSE,20)< REF(MA(CLOSE,20),1);

ZYG237:=EXIST ( 章鱼哥56 OR ZYG210 OR ZYG236 OR 章鱼哥61 OR ZYG74 OR 章鱼哥47,6) AND ZYG78 AND ZYG74;

DRAWTEXT((ZYG237 OR 章鱼哥00 OR 章鱼哥15 OR ZYG93) AND ZYG88>0.3 AND 章鱼哥04< -0.15 AND COUNT(ZYG237 OR 章鱼哥00 OR 章鱼哥15 OR ZYG93 ,3)=1,ZYG85+0.15,'逃'),COLORGREEN;

ZYG238:=(ZYG237 OR 章鱼哥00 OR 章鱼哥15 OR ZYG93) AND ZYG85< REF(ZYG85,1) AND ZYG88>0.3 AND COUNT(ZYG237 OR 章鱼哥00 OR ZYG93 OR 章鱼哥15,1)=1;

STICKLINE(ZYG238 AND ZYG88>0.3 AND ZYG90< 0 AND ZYG91< 0 AND 章鱼哥04< -0.1 AND COUNT(ZYG238,1)=1,ZYG85,ZYG85-0.10,4,0),COLORCYAN;

STICKLINE(章鱼哥00 AND COUNT(章鱼哥00,3)=1,ZYG85,ZYG85-0.10,2,0),COLORGREEN;

ZYG239:=ACCER*10000,NODRAW,COLORLIRED;

ZYG240:=ZYG239-REF(ZYG239,1);

ZYG241:=ZYG239+ZYG240,NODRAW,COLORLIBLUE;

ZYG244:=MA(REF(HIGH,1)/REF(CLOSE,2),13)*REF(CLOSE,1)+ZYG241,NODRAW;

ZYG245:=CONST(章鱼哥98),NODRAW;

ZYG246:=CONST(章鱼哥99),NODRAW;

ZYG249:=MA(CLOSE,60),COLORYELLOW, LINETHICK3;

ZYG250:=BBIBOLL,COLORYELLOW,LINETHICK3;

ZYG251:=SLOPE(ZYG250,3)*10,COLORMAGENTA,NODRAW;

ZYG252:=ABS(CLOSE-REF(CLOSE,30));

ZYG253:=SUM(ABS(CLOSE-REF(CLOSE,1)),30);

ZYG254:=ZYG252/ZYG253;

ZYG255:=ZYG254*(0.8-2/24)+2/24;

ZYG256:=ZYG255*ZYG255;

ZYG257:=EMA(DMA(CLOSE,ZYG256),2),COLORLIBLUE,LINETHICK6;

ZYG258:=(ZYG250< REF(ZYG250,2) OR ZYG250<=REF(ZYG250,1)) AND (ZYG250<=ZYG249 OR C<=ZYG250) AND ZYG208< ZYG209 ,NODRAW,COLORGREEN;

ZYG259:=ZYG250>ZYG249 OR ZYG208>=ZYG209 AND ZYG90>0  AND ZYG250>=ZYG257,COLORRED,NODRAW;

ZYG260:=ZYG258 AND ZYG250< ZYG257 AND ABS( ZYG249-ZYG250)>=0.2 AND NOT(ZYG259),NODRAW,COLORWHITE;

ZYG261:=ZYG257;

ZYG262:=IF(ZYG257/REF(ZYG257,1)>0.997,ZYG257,DRAWNULL),COLORYELLOW,LINETHICK2;

ZYG263:=IF(ZYG257/REF(ZYG257,1)>1.001 ,ZYG257,DRAWNULL),COLORRED,LINETHICK3;

ZYG265:=C>ZYG261 AND ZYG261>REF(ZYG261,1);

DRAWTEXT_FIX(ISLASTBAR AND ZYG265 AND 1,0.45,0.03,0,'【处于牛区】'),COLORRED;

ZYG266:=C< ZYG261 AND ZYG261<=REF(ZYG261,1);

DRAWTEXT_FIX(ISLASTBAR AND ZYG266 ,0.45,0.03,0,'【处于熊区】'),COLORGREEN;

ZYG267:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;

ZYG268:=EMA(ZYG89,25),COLORLIRED,LINETHICK2;

STICKLINE(C>=ZYG267,ZYG267,C+0.1,3,0),COLORWHITE;

ZYG269:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

ZYG270:=LLV(ZYG269,2)=LLV(ZYG269,7) AND COUNT(ZYG269< 0,2) AND CROSS(ZYG269,MA(ZYG269,2));

ZYG271:=ZYG89>HIGH AND ZYG270 AND L<=ZYG89;

ZYG272:=IF(ZYG89+(章鱼哥19-章鱼哥20)/12>ZYG267,ZYG267,IF(ZYG89+(章鱼哥19-章鱼哥20)/12<=ZYG268,ZYG268,ZYG89+(章鱼哥19-章鱼哥20)/12));

ZYG273:=( ZYG226 OR 章鱼哥96 OR 章鱼哥57 OR 章鱼哥36 AND 章鱼哥53< 20 ),NODRAW;

ZYG274:=IF(ZYG208>=ZYG209 AND ZYG90>=0 AND ZYG272-ZYG268>=0,1,0), COLORRED,LINETHICK9,NODRAW;

ZYG275:=ZYG273 AND COUNT(ZYG273,6)=1 AND ZYG92< 40  AND ZYG90>-0.05 AND ZYG208>=ZYG209 OR ZYG274 ,NODRAW,COLORRED;

ZYG276:=IF((ZYG208< ZYG209 OR ZYG238 OR ZYG272-ZYG268< 0) AND ZYG90<=0 AND 章鱼哥53>60 ,1,0) AND NOT(ZYG275),COLORLIBLUE,LINETHICK9,NODRAW;

DRAWTEXT(ZYG275 AND COUNT(ZYG275,12)=1,ZYG268-0.2,'★买'),COLORRED;

ZYG277:EXIST( ZYG275 OR 章鱼哥22 OR ZYG271 OR ZYG226,3 ) AND NOT(EXIST(ZYG238,3)) AND ZYG251>0.8 OR 章鱼哥22,NODRAW,COLORMAGENTA;

ZYG278:(ZYG276 OR ZYG237 OR 章鱼哥15 OR ZYG238 OR ZYG210) AND ZYG208< ZYG209 AND NOT(ZYG277 OR ZYG271) OR 章鱼哥15 ,NODRAW,COLORGREEN;

ZYG279:(ZYG259 OR ZYG277 OR EXIST(ZYG271,3) OR ZYG250>=REF(ZYG250,1) OR ZYG249<=ZYG250) AND ZYG251>0,NODRAW,COLORRED;

ZYG280:(ZYG260 OR ZYG278 OR C< ZYG83) AND ZYG208< ZYG209 AND NOT(ZYG279),NODRAW,COLORGREEN;

ZYG281:IF( 章鱼哥80>1 , ZYG234, DRAWNULL), COLORRED, LINETHICK3;

ZYG282:IF( ZYG234 >= ZYG233 AND ZYG234 >= 0, ZYG234, DRAWNULL), COLORRED, LINETHICK3;

ZYG283:IF( ZYG234 < ZYG233 AND ZYG234 >= 0, ZYG234, DRAWNULL ), COLORGREEN, LINETHICK3;

ZYG284:IF( ZYG234 < ZYG233 AND ZYG234 < 0, ZYG234, DRAWNULL ), COLORWHITE, LINETHICK3;

STICKLINE(ZYG226,ZYG234,ZYG234+0.10,4,0),COLORMAGENTA;

ZYG289:=LLV(LOW,34) ,COLOR7FFF00,COLORWHITE;

ZYG290:=HHV(HIGH,34),COLORFF9900,COLORLIBLUE,LINETHICK1;

ZYG291:=REF(HHV(H,13),1)*0.99,COLORGREEN,DOTLINE;

DRAWNUMBER_FIX(ISLASTBAR ,0.10,0.3,0,ZYG244),COLORWHITE;

STICKLINE(ZYG89>LOW AND ZYG89< HIGH,ZYG89,MIN(MIN(OPEN,CLOSE),ZYG89),3,0),COLORYELLOW;

STICKLINE(ZYG89>MIN(C,O) AND ZYG89< MAX(C,O),ZYG89,MIN(OPEN,CLOSE),3,0),COLORYELLOW;

STICKLINE(ZYG89>HIGH,OPEN,CLOSE,3,0),COLORYELLOW;

STICKLINE(ZYG89>HIGH,HIGH,LOW,0,0),COLORYELLOW;

ZYG294:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;

ZYG295:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;

ZYG296:=EMA(ZYG294,90),COLORRED,LINETHICK1;

ZYG297:=EMA(ZYG295,90),COLORRED,LINETHICK1;

ZYG298:=ZYG296-ZYG297;

ZYG299:=ZYG296+ZYG298*2,COLORRED,LINETHICK1;

ZYG300:=ZYG297-ZYG298*2,COLORRED,LINETHICK1;

ZYG301:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK1,COLORWHITE;

ZYG302:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK1,COLORWHITE;

ZYG303:=ZYG302>=ZYG300 AND ZYG301>=ZYG299;

ZYG304:=ZYG301<=ZYG299 AND ZYG302<=ZYG300;

ZYG305:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*10;

STICKLINE(ZYG305>0,ZYG51,ZYG51+0.03,10,0),COLORRED,LINETHICK2;

STICKLINE(ZYG304=1,ZYG51,ZYG51+0.03,10,0),COLORYELLOW,LINETHICK2;

STICKLINE(ZYG305< 0,ZYG51,ZYG51+0.03,10,0),COLORGREEN,LINETHICK2;





使用说明:





.点击下方通达信指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!

    

温馨提示



如果你喜欢本文,请分享到朋友圈,想要获得更多信息,请关注我。

通达信指标公式
专业分享通达信各类指标公式,给喜欢倒腾指标公式的股友一个纯净交流平台,以股会友,广交五湖四海股友!!!
 最新文章