精 彩 内 容 呈 现
ZYG1:=REF(H,BARSLAST(H>REF(H,1)));
ZYG2:=REF(L,BARSLAST(L<REF(L,1)));
ZYG3:=H>REF(ZYG1,1) AND L>REF(ZYG2,1);
ZYG4:=L<REF(ZYG2,1) AND H<REF(ZYG1,1);
ZYG5:=ZYG3 AND H=HHV(H,BARSLAST(ZYG4));
ZYG6:=ZYG4 AND L=LLV(L,BARSLAST(ZYG3));
ZYG7:=FILTERX(ZYG5,BARSLAST(ZYG6));
ZYG8:=FILTERX(ZYG6,BARSLAST(ZYG5));
ZYG9:=BARSLAST(ZYG8);
ZYG10:=HHV(L,ZYG9+1)>LLV(H,ZYG9+1);
ZYG11:=COUNT(L>REF(L,1),ZYG9)>2 AND COUNT(H>REF(H,1),ZYG9)>2;
ZYG12:=BARSLAST(ZYG7);
ZYG13:=HHV(L,ZYG12+1)>LLV(H,ZYG12+1);
ZYG14:=COUNT(H<REF(H,1),ZYG12)>2 AND COUNT(L<REF(L,1),ZYG12)>2;
ZYG15:=ZYG7 AND ZYG9>3 AND ZYG10 AND ZYG11;
ZYG16:=ZYG8 AND ZYG12>3 AND ZYG13 AND ZYG14;
ZYG17:=ZYG15 AND H=HHV(H,BARSLAST(ZYG16));
ZYG18:=ZYG16 AND L=LLV(L,BARSLAST(ZYG15));
ZYG19:=ZYG17 AND H=HHV(H,BARSLAST(ZYG18));
ZYG20:=ZYG18 AND L=LLV(L,BARSLAST(ZYG17));
ZYG21:=FILTERX(ZYG19,BARSLAST(ZYG20));
ZYG22:=FILTERX(ZYG20,BARSLAST(ZYG19));
ZYG23:=BARSLAST(ZYG22);
ZYG24:=HHV(L,ZYG23+1)>LLV(H,ZYG23+1);
ZYG25:=COUNT(L>REF(L,1),ZYG23)>2 AND COUNT(H>REF(H,1),ZYG23)>2;
ZYG26:=BARSLAST(ZYG21);
ZYG27:=HHV(L,ZYG26+1)>LLV(H,ZYG26+1);
ZYG28:=COUNT(H<REF(H,1),ZYG26)>2 AND COUNT(L<REF(L,1),ZYG26)>2;
ZYG29:=ZYG7 AND ZYG23>3 AND ZYG24 AND ZYG25;
ZYG30:=ZYG8 AND ZYG26>3 AND ZYG27 AND ZYG28;
ZYG31:=ZYG29 AND H=HHV(H,BARSLAST(ZYG30));
ZYG32:=ZYG30 AND L=LLV(L,BARSLAST(ZYG29));
ZYG33:=FILTERX(ZYG31,BARSLAST(ZYG32));
ZYG34:=FILTERX(ZYG32,BARSLAST(ZYG31));
ZYG35:=ZYG21 OR ZYG33;
ZYG36:=ZYG22 OR ZYG34;
ZYG37:=FILTERX(ZYG35 AND H=HHV(H,BARSLAST(ZYG36)),BARSLAST(ZYG36));
ZYG38:=FILTERX(ZYG36 AND L=LLV(L,BARSLAST(ZYG35)),BARSLAST(ZYG35));
ZYG39:=FILTERX(ZYG37 AND H=HHV(H,BARSLAST(ZYG38)),BARSLAST(ZYG38));
ZYG40:=FILTERX(ZYG38 AND L=LLV(L,BARSLAST(ZYG37)),BARSLAST(ZYG37));
ZYG41:=ZYG39 AND (BARSLAST(ZYG40)>1 OR BARSLAST(ZYG40)=DRAWNULL);
ZYG42:=ZYG40 AND (BARSLAST(ZYG39)>1 OR BARSLAST(ZYG39)=DRAWNULL);
ZYG43:=ZYG41 AND (H=HHV(H,BARSLAST(ZYG42)) OR BARSLAST(ZYG42)=DRAWNULL);
ZYG44:=ZYG42 AND (L=LLV(L,BARSLAST(ZYG41)) OR BARSLAST(ZYG41)=DRAWNULL);
ZYG45:=FILTERX(ZYG43,BARSLAST(ZYG42));
ZYG46:=FILTERX(ZYG44,BARSLAST(ZYG41));
ZYG47:=ZYG45 AND (BARSLAST(ZYG46)>2 OR BARSLAST(ZYG46)=DRAWNULL);
ZYG48:=ZYG46 AND (BARSLAST(ZYG45)>2 OR BARSLAST(ZYG45)=DRAWNULL);
ZYG49:=ZYG47 AND (H=HHV(H,BARSLAST(ZYG48)) OR BARSLAST(ZYG48)=DRAWNULL);
ZYG50:=ZYG48 AND (L=LLV(L,BARSLAST(ZYG47)) OR BARSLAST(ZYG47)=DRAWNULL);
ZYG51:=FILTERX(ZYG49,BARSLAST(ZYG48));
ZYG52:=FILTERX(ZYG50,BARSLAST(ZYG47));
ZYG53:=ZYG51 AND (BARSLAST(ZYG52)>3 OR BARSLAST(ZYG52)=DRAWNULL);
ZYG54:=ZYG52 AND (BARSLAST(ZYG51)>3 OR BARSLAST(ZYG51)=DRAWNULL);
ZYG55:=ZYG53 AND (H=HHV(H,BARSLAST(ZYG54)) OR BARSLAST(ZYG54)=DRAWNULL);
ZYG56:=ZYG54 AND (L=LLV(L,BARSLAST(ZYG53)) OR BARSLAST(ZYG53)=DRAWNULL);
ZYG57:=FILTERX(ZYG55,BARSLAST(ZYG56));
ZYG58:=FILTERX(ZYG56,BARSLAST(ZYG55));
ZYG59:=BARSLAST(ZYG57);
ZYG60:=HHV(L,ZYG59+1)>LLV(H,ZYG59+1);
ZYG61:=COUNT(H<REF(H,1),ZYG59)>2 AND COUNT(L<REF(L,1),ZYG59)>2;
ZYG62:=ZYG46 AND (ZYG58<>1) AND ZYG59>3 AND ZYG60 AND ZYG61 AND (L=LLV(L,BARSLAST(ZYG57)));
ZYG63:=FILTERX(ZYG62,BARSLAST(ZYG57));
ZYG64:=BARSLAST(ZYG58);
ZYG65:=HHV(L,ZYG64+1)>LLV(H,ZYG64+1);
ZYG66:=COUNT(L>REF(L,1),ZYG64)>2 AND COUNT(H>REF(H,1),ZYG64)>2;
ZYG67:=ZYG45 AND (ZYG57<>1) AND ZYG64>3 AND ZYG65 AND ZYG66 AND (H=HHV(H,BARSLAST(ZYG58)));
ZYG68:=FILTERX(ZYG67,BARSLAST(ZYG58));
ZYG69:=ZYG57 OR ZYG68;
ZYG70:=ZYG58 OR ZYG63;
ZYG71:=FILTERX(ZYG69 AND H=HHV(H,BARSLAST(ZYG70)),BARSLAST(ZYG70));
ZYG72:=FILTERX(ZYG70 AND L=LLV(L,BARSLAST(ZYG69)),BARSLAST(ZYG69));
ZYG73:=BARSLAST(ZYG72);
ZYG74:=HHV(L,ZYG73+1)>LLV(H,ZYG73+1);
ZYG75:=COUNT(L>REF(L,1),ZYG73)>2 AND COUNT(H>REF(H,1),ZYG73)>2;
ZYG76:=BARSLAST(ZYG71);
ZYG77:=HHV(L,ZYG76+1)>LLV(H,ZYG76+1);
DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLORWHITE;
ZYG78:=COUNT(H<REF(H,1),ZYG76)>2 AND COUNT(L<REF(L,1),ZYG76)>2;
ZYG79:=ZYG71 AND ZYG73>3 AND ZYG74 AND ZYG75 AND (H=HHV(H,BARSLAST(ZYG72)));
ZYG80:=ZYG72 AND ZYG76>3 AND ZYG77 AND ZYG78 AND (L=LLV(L,BARSLAST(ZYG71)));
ZYG81:=FILTERX(ZYG79 AND H=HHV(H,BARSLAST(ZYG80)),BARSLAST(ZYG80));
ZYG82:=FILTERX(ZYG80 AND L=LLV(L,BARSLAST(ZYG79)),BARSLAST(ZYG79));
ZYG83:=H=HHV(H,BARSLAST(ZYG82)) AND L>LLV(L,BARSLAST(ZYG82)) AND BARSLAST(ZYG81)<BARSLAST(ZYG82) AND (BARSNEXT(ZYG82)<BARSNEXT(ZYG81) OR BARSNEXT(ZYG81)=DRAWNULL);
ZYG84:=L=LLV(L,BARSLAST(ZYG81)) AND H<HHV(H,BARSLAST(ZYG81)) AND BARSLAST(ZYG82)<BARSLAST(ZYG81) AND (BARSNEXT(ZYG81)<BARSNEXT(ZYG82) OR BARSNEXT(ZYG82)=DRAWNULL);
ZYG85:=ZYG81 OR ZYG83;
ZYG86:=ZYG82 OR ZYG84;
ZYG87:=FILTERX(ZYG85 AND H=HHV(H,BARSLAST(ZYG86)),BARSLAST(ZYG86));
ZYG88:=FILTERX(ZYG86 AND L=LLV(L,BARSLAST(ZYG85)),BARSLAST(ZYG85));
ZYG89:=ZYG87 AND BARSLAST(ZYG88)>3;
微信:=ZYG88 AND BARSLAST(ZYG87)>3;
公众号:=BARSLAST(ZYG87),NODRAW;
金钻指标精选:=BARSLAST(ZYG88),NODRAW;
DRAWTEXT_FIX(C>O,0,0.07,0,'微信公众号:金钻指标精选'),COLORMAGENTA;
NOTEXT_上笔:DRAWLINE(金钻指标精选=0,L,公众号=0,H,0),COLORGREEN,LINETHICK2;
NOTEXT_下笔:DRAWLINE(公众号=0,H,金钻指标精选=0,L,0),COLOR0000FF,LINETHICK2;
ZYG90:=REF(L,金钻指标精选);
ZYG91:=REF(H,公众号);
ZYG92:=IF(公众号<金钻指标精选 AND 显示开关=1 OR 显示开关=2,ZYG90,DRAWNULL);
ZYG93:=IF(公众号<金钻指标精选 AND 显示开关=1 OR 显示开关=2,ZYG91,DRAWNULL);
ZYG94:=POW(ZYG92,0.382)*POW(ZYG93,0.618);
ZYG95:=SQRT(ZYG92*ZYG93);
ZYG96:=POW(ZYG92,0.618)*POW(ZYG91,0.382);
ZYG97:=POW(ZYG92,0.875)*POW(ZYG93,0.125);
ZYG98:=ZYG93-(ZYG93-ZYG92)*1.236,NODRAW;
ZYG99:=ZYG93-(ZYG93-ZYG92)*1.618,NODRAW;
DRAWTEXT(公众号,(ZYG94),VARCAT('PB1=',VAR2STR(ZYG94,2))),COLORYELLOW;
DRAWTEXT(公众号,(ZYG95),VARCAT('PB2=',VAR2STR(ZYG95,2))),COLORYELLOW;
DRAWTEXT(公众号,(ZYG96),VARCAT('PB3=',VAR2STR(ZYG96,2))),COLORYELLOW;
DRAWTEXT(公众号,(ZYG97),VARCAT('PB4=',VAR2STR(ZYG97,2))),COLORYELLOW;
DRAWTEXT(公众号,(ZYG98),VARCAT('PB5=',VAR2STR(ZYG98,2))),COLORYELLOW;
DRAWTEXT(公众号,(ZYG99),VARCAT('PB6=',VAR2STR(ZYG99,2))),COLORYELLOW;
STICKLINE(公众号<金钻指标精选,ZYG94,ZYG94,3,1),COLORFF8800;
STICKLINE(公众号<金钻指标精选,ZYG95,ZYG95,3,1),COLORFF8800;
STICKLINE(公众号<金钻指标精选,ZYG96,ZYG96,3,1),COLORFF8800;
STICKLINE(公众号<金钻指标精选,ZYG97,ZYG97,3,1),COLORFF8800;
STICKLINE(公众号<金钻指标精选,ZYG98,ZYG98,3,1),COLORFF8800;
STICKLINE(公众号<金钻指标精选,ZYG99,ZYG99,3,1),COLORFF8800;
STICKLINE(公众号=0,H,ZYG99,0,0),COLORFF8800;
ZYG100:=IF(公众号>金钻指标精选 AND 显示开关=1 OR 显示开关=3,ZYG90,DRAWNULL);
ZYG101:=IF(公众号>金钻指标精选 AND 显示开关=1 OR 显示开关=3,ZYG91,DRAWNULL);
ZYG102:=POW(ZYG101,0.382)*POW(ZYG100,0.618);
ZYG103:=SQRT(ZYG101*ZYG100);
ZYG104:=POW(ZYG101,0.618)*POW(ZYG100,0.382);
ZYG105:=POW(ZYG101,0.875)*POW(ZYG100,0.125);
ZYG106:=ZYG100+(ZYG101-ZYG100)*1.236,NODRAW;
ZYG107:=ZYG100+(ZYG101-ZYG100)*1.618,NODRAW;
DRAWTEXT(金钻指标精选,(ZYG102),VARCAT('PS1=',VAR2STR(ZYG102,2))),COLORWHITE;
DRAWTEXT(金钻指标精选,(ZYG103),VARCAT('PS2=',VAR2STR(ZYG103,2))),COLORWHITE;
DRAWTEXT(金钻指标精选,(ZYG104),VARCAT('PS3=',VAR2STR(ZYG104,2))),COLORWHITE;
DRAWTEXT(金钻指标精选,(ZYG105),VARCAT('PS4=',VAR2STR(ZYG105,2))),COLORWHITE;
DRAWTEXT(金钻指标精选,(ZYG106),VARCAT('PS5=',VAR2STR(ZYG106,2))),COLORWHITE;
DRAWTEXT(金钻指标精选,(ZYG107),VARCAT('PS6=',VAR2STR(ZYG107,2))),COLORWHITE;
STICKLINE(公众号>金钻指标精选,ZYG102,ZYG102,3,1),COLORMAGENTA;
STICKLINE(公众号>金钻指标精选,ZYG103,ZYG103,3,1),COLORMAGENTA;
STICKLINE(公众号>金钻指标精选,ZYG104,ZYG104,3,1),COLORMAGENTA;
STICKLINE(公众号>金钻指标精选,ZYG105,ZYG105,3,1),COLORMAGENTA;
STICKLINE(公众号>金钻指标精选,ZYG106,ZYG106,3,1),COLORMAGENTA;
STICKLINE(公众号>金钻指标精选,ZYG107,ZYG107,3,1),COLORMAGENTA;
STICKLINE(金钻指标精选=0,L,ZYG107,0,0),COLORMAGENTA;
DRAWTEXT(金钻指标精选=0,L,VARCAT('【低点】',VAR2STR(ZYG2,2))),COLORGREEN;
DRAWTEXT(公众号=0,H,VARCAT('【高点】',VAR2STR(ZYG1,2))),COLORRED;
DRAWICON(公众号=0,H,2);
DRAWICON(金钻指标精选=0,L,1);
PS:
新增2个微信公众号,用来补充分享指标公式源码和机会提示,有需要的可以关注下!
使用说明:
无
点击下方短线指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
我每天分享指标,不求打赏,请大家看完文章后保持互动
帮忙点击底部【在看+赞】
保持互动,系统才会及时向你推送文章,不错过精品指标。