指标公式第912篇:通达信多周期共振线

通达信多周期共振线主图

操作线:MA(CLOSE,5),COLORFFFFFF,LINETHICK1;
趋势线:MA(CLOSE,10),COLORRED,LINETHICK1;
DRAWBAND(操作线,RGB(255,50,50),趋势线,RGB(10,204,60));
ZYG1:=EMA(CLOSE,12)-EMA(CLOSE,26);
ZYG2:=EMA(ZYG1,9);
ZYG3:=ZYG1>ZYG2;
ZYG4:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
ZYG5:=SMA(ZYG4,3,1);
ZYG6:=SMA(ZYG5,3,1);
ZYG7:=ZYG5>ZYG6;
ZYG8:=REF(CLOSE,1);
ZYG9:=SMA(MAX(CLOSE-ZYG8,0),9,1)/SMA(ABS(CLOSE-ZYG8),9,1)*100;
ZYG10:=SMA(MAX(CLOSE-ZYG8,0),26,1)/SMA(ABS(CLOSE-ZYG8),26,1)*100;
ZYG11:=ZYG9>ZYG10;
ZYG12:=SMA(ZYG4,3,1);
ZYG13:=SMA(ZYG12,3,1);
ZYG14:=ZYG12>ZYG13;
ZYG15:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
ZYG16:=CLOSE>ZYG15;
ZYG17:=CLOSE-REF(CLOSE,1);
ZYG18:=100*EMA(EMA(ZYG17,9),9)/EMA(EMA(ABS(ZYG17),9),3);
ZYG19:=100*EMA(EMA(ZYG17,26),12)/EMA(EMA(ABS(ZYG17),26),12);
ZYG20:=ZYG18>ZYG19;
ZYG21:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
ZYG22:=REF(EMA(ZYG21,3),1);
ZYG23:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ZYG24:=IF(CLOSE>OPEN,ZYG23*(HIGH-LOW),IF(CLOSE< OPEN,ZYG23*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-ZYG23*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-ZYG23*(HIGH-LOW),0-VOL/2));
ZYG25:=ZYG24/20/1.15;
ZYG26:=ZYG25*0.55+REF(ZYG25,1)*0.33+REF(ZYG25,2)*0.22;
ZYG27:=EMA(ZYG26,8);
ZYG28:=EMA(ZYG26,3);
ZYG29:=ZYG28;
ZYG30:=VOL;
ZYG31:=MA(ZYG30,5);
ZYG32:=MA(ZYG30,10);
ZYG33:=ZYG31>=ZYG32;
ZYG34:=ZYG29>=0;
ZYG35:=ZYG34 AND ZYG33;
DRAWICON(ZYG35,L,11);
ZYG36:=MA(KDJ.K(9,3,3),5);
ZYG37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
ZYG38:=EMA(ZYG37,9/2);
ZYG39:=ZYG36>=REF(ZYG36,1) AND ZYG37>=ZYG38;
章鱼51:=(HIGH+LOW+CLOSE*2)/4;
章鱼52:=EMA(章鱼51,17);
章鱼53:=STD(章鱼51,17);
章鱼54:=((章鱼51-章鱼52)/章鱼53*100+200)/4;
章鱼55:=(EMA(章鱼54,5)-25)*1.56;
章鱼56:=EMA(章鱼55,2)*1.22;
章鱼57:=EMA(章鱼56,2);
STICKLINE(章鱼56-章鱼57>0,O,C,3,1),COLORRED;
STICKLINE(章鱼56-章鱼57< 0,O,C,3,0),COLORGREEN;
STICKLINE(章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57< 0,1),O,C,1,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
STICKLINE(章鱼56-章鱼57>0 AND 章鱼56-章鱼57< REF(章鱼56-章鱼57,1) AND 章鱼57>110,O,C,3,0),COLORLIRED;
鱼哥:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
鱼哥牛:=EVERY(鱼哥,2);
DRAWTEXT(鱼哥牛,L*1.02,'↙牛'),COLORYELLOW;
AA:=C>MA(C,10);
 MA5:=MA(C,5);
MA10:=MA(C,10);
多头排列:=MA5>MA10;
STICKLINE(ZYG35,O,C,2,0),COLORMAGENTA;
STICKLINE(鱼哥牛,OPEN,CLOSE,1,0),COLORYELLOW;
共振:=BARSLASTCOUNT(章鱼56-章鱼57>0 AND 多头排列 AND AA)=1;
DRAWTEXT(共振,L,'★共振'),COLORYELLOW;
 DRAWICON(共振,L,9);
DRAWICON(章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57< 0,1),L*0.97,29);

通达信多周期共振线副图

章鱼51:=(HIGH+LOW+CLOSE*2)/4;
章鱼52:=EMA(章鱼51,17);
章鱼53:=STD(章鱼51,17);
章鱼54:=((章鱼51-章鱼52)/章鱼53*100+200)/4;
章鱼55:=(EMA(章鱼54,5)-25)*1.56;
章鱼56:=EMA(章鱼55,2)*1.22;
章鱼57:=EMA(章鱼56,2);
STICKLINE(章鱼56-章鱼57>0,0.2,0.4,3,0),COLORRED;
STICKLINE(章鱼56-章鱼57<0,0.2,0.4,3,0),COLORGREEN;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
STICKLINE(章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57<  0,1),0.2,0.4,3.05,0),COLOR000099;
STICKLINE(章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57<  0,1),0.2,0.4,2.2,0),COLOR0000CC;
STICKLINE(章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57<  0,1),0.2,0.4,1.5,0),COLORRED;
STICKLINE(章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57<  0,1),0.2,0.4,0.5,0),COLORYELLOW;
STICKLINE(章鱼56-章鱼57>0 AND 章鱼56-章鱼57< REF(章鱼56-章鱼57,1) AND 章鱼57>110,0.2,0.4,3,0),COLORLIRED;

通达信多周期共振线选股(金蝴蝶信号)

ZYG1:=EMA(CLOSE,12)-EMA(CLOSE,26);
ZYG2:=EMA(ZYG1,9);
ZYG3:=ZYG1>ZYG2;
ZYG4:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
ZY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=MA(KDJ.K(9,3,3),5);
ZYG37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
ZYG38:=EMA(ZYG37,9/2);
ZYG39:=ZYG36>=REF(ZYG36,1) AND ZYG37>=ZYG38;
章鱼51:=(HIGH+LOW+CLOSE*2)/4;
章鱼52:=EMA(章鱼51,17);
章鱼53:=STD(章鱼51,17);
章鱼54:=((章鱼51-章鱼52)/章鱼53*100+200)/4;
章鱼55:=(EMA(章鱼54,5)-25)*1.56;
章鱼56:=EMA(章鱼55,2)*1.22;
章鱼57:=EMA(章鱼56,2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
LTP:=CAPITAL;
LTP1:=FINANCE(40)/100000000>=100;
LTP2:=FINANCE(40)/100000000<=350;
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
AA:=C>MA(C,10);
MA5:=MA(C,5);
MA10:=MA(C,10);
DTP:=MA5>MA10;
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('9'));
章鱼D:=QXS AND QST AND QKC AND QXX AND QBJ;
金蝴蝶:章鱼56-章鱼57>0 AND REF(章鱼56-章鱼57< 0,1) AND DTP AND XG AND AA AND 章鱼D;

通达信多周期共振线选股(多维周期共振信号)

章鱼51:=(HIGH+LOW+CLOSE*2)/4;
章鱼52:=EMA(章鱼51,17);
章鱼53:=STD(章鱼51,17);
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
章鱼D:=QXS AND QST AND QKC AND QXX AND QBJ;
章鱼54:=((章鱼51-章鱼52)/章鱼53*100+200)/4;
章鱼55:=(EMA(章鱼54,5)-25)*1.56;
章鱼56:=EMA(章鱼55,2)*1.22;
章鱼57:=EMA(章鱼56,2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
LTP:=CAPITAL;
LTP1:=FINANCE(40)/100000000>=100;
LTP2:=FINANCE(40)/100000000<=350;
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
AA:=C>MA(C,10);
MA5:=MA(C,5);
MA10:=MA(C,10);
DTP:=MA5>MA10;
共振:BARSLASTCOUNT(章鱼56-章鱼57>0 AND DTP AND AA AND 章鱼D AND XG AND LTP1 AND LTP2)=1;

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注