图片
精彩实质呈现目下
图片
参考标源码DIF:EMA(收盘,12)-EMA(收盘,26),NODRAW;
DEA:EMA(DIF,9),NODRAW;
MACD:(DIF-DEA)*2,彩色棒,彩色;
ES:=REF(EMA(C,26),1);EP:=REF(EMA(C,12),1);
DI:=REF(DIF,1);
DIF穿零价:((12+1)*(26-1)*ES-(26+1)*(12-1)*EP)/(2*(26+1)-2*(12+1) )),NODRAW,彩色白色;
DIF拐点价:((12-1)*EP/(12+1)-(26-1)*ES/(26+1)-DI)*(26+1)*(12+1)/(2 *(12+1)-2*(26+1)),彩色黄色,色情网无画;
TJ1:=DEA<0 AND CROSS(DIF,DEA);
TJ2:=BARSLAST(CROSS(0,DIF));
TJ3:=DEA<0 且计数(TJ1,TJ2+1)>1;
TJ4:=DEA<0 AND MACD>0 AND REF(MACD,1)>0 AND REF(MACD,1)<REF(MACD,2) AND MACD>REF(MACD,1);
TJ5:=BARSLAST(TJ1);
TJ6:=DEA<0 AND TJ3 AND COUNT(TJ4,TJ5+1)>0,NODRAW;
TJ7:=DEA<0 且计数(TJ6,TJ2)>0,NODRAW;
TJ8:=DEA<0 且计数(TJ1,TJ2+1)>2;
TJ9:=DEA<0 且计数(TJ8,TJ2)>0,NODRAW;
TJ10:=TJ7 AND DIF>0 AND DIF>REF(DIF,1) AND DEA<0;
TJ11:=TJ9 AND DIF>0 AND DIF>REF(DIF,1) AND DEA<0;
TJ12:=DIF>0 AND DEA>0 AND REF(MACD,1) AND REF(MACD,2)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
STJ1:=DIF>0 AND MACD>0 AND REF(MACD,1)>0 AND REF(MACD,1)>REF(MACD,2) AND MACD<REF(MACD,1);
STJ2:=BARSLAST(CROSS(DIF,0)),NODRAW;
STJ3:=BARSLAST(CROSS(DIF,DEA));
STJ4:=DIF>0 与计数(STJ1,STJ2)>1 与计数(STJ1,STJ3)>1 与 STJ1;
STJ5:=DIF>0 与计数(STJ1,STJ2)>2 与计数(STJ1,STJ3)>2 与 STJ1;
STJ6:=DIF>0 与计数(STJ1,STJ2)>3 与计数(STJ1,STJ3)>3 与 STJ1;
STJ7:=DIF>0 与计数(STJ1,STJ2)<2 与交叉(DEA,DIF);
STJ8:=COUNT(CROSS(DIF,DEA),STJ2)>0 AND STJ1;
DRAWTEXT_FIX(C>O,0.01,0.81,0,'更多精彩目标公式,
请关心微信公众号:短线目标公式'),COLORYELLOW;
STJ9:=DIF>0 AND REF(CROSS(DIF,DEA),1) AND CROSS(DEA,DIF);
STJ10:=COUNT(DIF>0 AND (STJ4 OR STJ7 OR STJ8 OR STJ9),STJ2);
STJ11:=DIF>0 AND MACD<0 AND REF(MACD,2)<0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2);
减仓领导:STJ10,NODRAW,COLORGREEN;
清仓领导:STJ10>4,NODRAW,COLORMAGENTA;
STICKLINE(DEA<0 AND MACD<0,0,MACD,2,0),COLORBLUE;
STICKLINE(DEA<0 AND MACD>=0,0,MACD,1,-1),COLORBLUE;
STICKLINE(DEA<0 AND MACD>=0 AND MACD<REF(MACD,1),0,MACD,1,1),COLORBLUE;
STICKLINE(DEA>=0 AND MACD>0,0,MACD,0,1),COLORLIRED;
STICKLINE(DEA>=0 AND MACD>0 AND MACD<REF(MACD,1),0,MACD,0,-1),COLORLIRED;
STICKLINE(DEA>=0 AND MACD<0 AND MACD>REF(MACD,1),0,MACD,0,-1),COLORLIRED;
STICKLINE(TJ7 AND MACD>0,0,MACD,2,1),COLORYELLOW;
STICKLINE(TJ7 AND MACD>0 AND MACD<REF(MACD,1),0,MACD,2,-1),COLORYELLOW;
STICKLINE(TJ7 AND MACD<0,0,MACD,2,0),COLORGREEN;
STICKLINE(TJ7 AND MACD<0 AND MACD>REF(MACD,1),0,MACD,2,1),COLORGREEN;
STICKLINE(TJ9 AND MACD>0,0,MACD,2,0),COLORYELLOW;
STICKLINE(TJ9 AND MACD>0 AND MACD<REF(MACD,1),0,MACD,2,1),COLORYELLOW;
STICKLINE(TJ9 AND MACD<0,0,MACD,2,1),COLORGREEN;
STICKLINE(TJ9 AND MACD<0 AND MACD>REF(MACD,1),0,MACD,2,-1),COLORGREEN;
STICKLINE(TJ10,0,MACD,2,1),COLORRED;
STICKLINE(TJ10 AND MACD<REF(MACD,1),0,MACD,2,-1),COLORRED;
STICKLINE(TJ11,0,MACD,2,0),COLORRED;
STICKLINE(TJ11 AND MACD<REF(MACD,1),0,MACD,2,1),COLORRED;
STICKLINE(TJ12,0,DIF,0,-1),COLORRED;
STICKLINE(STJ4,0,MACD,2,-1),COLORGREEN;
DRAWICON(STJ4,DIF*1.03,2);
STICKLINE(STJ5,0,MACD,2,1),COLORGREEN;
DRAWICON(STJ5,DIF*1.03,2);
STICKLINE(STJ6,0,MACD,2,0),COLORGREEN;
DRAWICON(STJ6,DIF*1.03,2);
STICKLINE(STJ7,0,MACD,2,0),COLORGREEN;
DRAWICON(STJ7,DEA*1.03,2);
STICKLINE(STJ8,0,MACD,2,0),COLORBLUE;
DRAWICON(STJ8,DIF*1.03,2);
制服丝袜电影STICKLINE(STJ9,0,MACD,2,0),COLORBLUE;
DRAWICON(STJ9,DEA*1.03,2);
DRAWTEXT(STJ10>4 AND (STJ4 OR STJ7 OR STJ8 OR STJ9),DIF*1.1,'逃'),COLORMAGENTA;
STICKLINE(STJ11,0,DIF,0,-1),COLORBLUE;
J1:='MACD.DIF'(12,26,9);J2:='MACD.DEA'(12,26,9);
J3:='KDJ.K'(15,6,3);J4:='KDJ.D'(15,6,3);
J5:='RSI.RSI1'(6,12,24);J6:='RSI.RSI2'(6,12,24);
A1:=BARSLAST(REF(CROSS(J1,J2),1));
B1:=REF(C,A1+1)>C AND REF(J1,A1+1)<J1 AND CROSS(J1,J2);
A2:=BARSLAST(REF(CROSS(J3,J4),1));
B2:=REF(C,A2+1)>C AND REF(J3,A2+1)<J3 AND CROSS(J3,J4);
A3:=BARSLAST(REF(CROSS(J5,J6),1));
B3:=REF(C,A3+1)>C AND REF(J5,A3+1)<J5 AND CROSS(J5,J6);
C1:=BARSLAST(REF(CROSS(J2,J1),1));
D1:=REF(C,C1+1)<C AND REF(J1,C1+1)>J1 AND CROSS(J2,J1);
C2:=BARSLAST(REF(CROSS(J4,J3),1));
D2:=REF(C,C2+1)<C AND REF(J3,C2+1)>J3 AND CROSS(J4,J3);
C3:=BARSLAST(REF(CROSS(J6,J5),1));
D3:=REF(C,C3+1)<C AND REF(J5,C3+1)>J5 AND CROSS(J6,J5);
MACD底背离:=FILTER(B1>0,5);
DRAWTEXT(MACD底背离,REF(J1,A1+1),'M底'),COLORYELLOW;
KDJ底背离:=FILTER(B2>0,5);
DRAWTEXT(KDJ底背离,REF(J1,A1+2),'K底'),COLORWHITE;
RSI底背离:=FILTER(B3>0,5);
DRAWTEXT(RSI底背离,REF(J1,A1+3),'R底'),COLORFFCC66;
MACD顶背离:=FILTER(D1>0,5);
DRAWTEXT(MACD顶背离,REF(J1,D1+1),'M顶'),COLOR0066FF;
KDJ顶背离:=FILTER(D2>0,5);
DRAWTEXT(KDJ顶背离,REF(J1,D1+2),'K顶'),COLOR0000FF;
RSI顶背离:=FILTER(D3>0,5);
DRAWTEXT(RSI顶背离,REF(J1,D1+3),'R顶'),COLORFF00FF;
DIF,COLORDDDD00;DEA,COLORYELLOW;IF(DIF>=REF(DIF,1),DIF,DRAWNULL),COLORFF00FF;
本站仅提供存储干事,系数实质均由用户发布,如发现存害或侵权实质,请点击举报。