副图黄金柱,二次创新高,K线出现黄金K线,加仓介入
买点精准,牛股的起源地,多多对照主副图,一般很少出现
幅图黄金柱堆积,堆积就要爆发
{北沙画线副图}
妖股起爆一副图源码
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
SA:=INTPART(MACD*100+0.5)/100,COLORYELLOW,NODRAW;
红天数:=IF(MACD 0,BARSLAST(CROSS(MACD,0)),DRAWNULL),COLORYELLOW,NODRAW;
绿天数:=IF(MACD 0,BARSLAST(CROSS(0,MACD)),DRAWNULL),COLORCYAN,NODRAW;
W1:STICKLINE(MACD 0,MACD,0,2.5,1),COLORRED;
W2:STICKLINE(MACD 0,MACD,0,2.5,1),COLORCYAN;
VA1:=HHVBARS(MACD,BARSLAST(MACD 0)+1);
VA2:=CROSS(BACKSET(CROSS(0,MACD),REF(VA1,1)+2),0.5);
QG:=DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORGREEN,DOTLINE;
NOTEXT前高A:DRAWLINE(VA2,MACD,ISLASTBAR,REF(MACD,BARSLAST(VA2)),1),COLORWHITE,DOTLINE;
VA3:=LLVBARS(MACD,BARSLAST(MACD 0)+1);
VA4:=CROSS(BACKSET(CROSS(MACD,0),REF(VA3,1)+2),0.5);
QD:=DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1),COLORYELLOW,DOTLINE;
NOTEXT前低A:DRAWLINE(VA4,MACD,ISLASTBAR,REF(MACD,BARSLAST(VA4)),1),COLORWHITE,DOTLINE;
W3:STICKLINE(MACD QG,MACD,QG,1,0),COLORYELLOW;
W4:STICKLINE(MACD 0 AND MACD QD AND QD 0,MACD,QD,1,0),COLORBLUE;
基准:=CONST(SUM(VA2,0));
前高:=基准=SUM(VA2,0) AND VA2,COLORCYAN,NODRAW;
前高1:=基准-1=SUM(VA2,0) AND VA2,COLORYELLOW,NODRAW;
前高2:=基准-2=SUM(VA2,0) AND VA2,COLORWHITE,NODRAW;
前高3:=基准-3=SUM(VA2,0) AND VA2,COLORWHITE,NODRAW;
前高4:=基准-4=SUM(VA2,0) AND VA2,COLORWHITE,NODRAW;
距离G1:=BARSLAST(前高1);
距离G2:=BARSLAST(前高2);
距离G3:=BARSLAST(前高3);
距离G4:=BARSLAST(前高4);
NOTEXTG2:DRAWLINE(前高1,MACD,前高 AND MACD =REF(MACD,距离G1),MACD,0),COLORYELLOW;
NOTEXTG1:DRAWLINE(前高1,MACD,前高 AND MACD REF(MACD,距离G1),MACD,0),COLORGREEN;
NOTEXTG3:DRAWLINE(前高2,MACD,前高1 AND MACD =REF(MACD,距离G2),MACD,0),COLORYELLOW;
NOTEXTG4:DRAWLINE(前高2,MACD,前高1 AND MACD REF(MACD,距离G2),MACD,0),COLORGREEN;
NOTEXTG5:DRAWLINE(前高3,MACD,前高2 AND MACD =REF(MACD,距离G3),MACD,0),COLORYELLOW;
NOTEXTG6:DRAWLINE(前高3,MACD,前高2 AND MACD REF(MACD,距离G3),MACD,0),COLORGREEN;
NOTEXTG7:DRAWLINE(前高4,MACD,前高3 AND MACD =REF(MACD,距离G4),MACD,0),COLORYELLOW;
NOTEXTG8:DRAWLINE(前高4,MACD,前高3 AND MACD REF(MACD,距离G4),MACD,0),COLORGREEN;
基准2:=CONST(SUM(VA4,0));
前低:=基准2=SUM(VA4,0) AND VA4;
前低1:=基准2-1=SUM(VA4,0) AND VA4;
前低2:=基准2-2=SUM(VA4,0) AND VA4;
前低3:=基准2-3=SUM(VA4,0) AND VA4;
前低4:=基准2-4=SUM(VA4,0) AND VA4;
距离D1:=BARSLAST(前低1);
距离D2:=BARSLAST(前低2);
距离D3:=BARSLAST(前低3);
距离D4:=BARSLAST(前低4);
NOTEXTD1:DRAWLINE(前低1,MACD,前低 AND MACD =REF(MACD,距离D1),MACD,0),COLORYELLOW;
NOTEXTD2:DRAWLINE(前低1,MACD,前低 AND MACD REF(MACD,距离D1),MACD,0),COLORGREEN;
NOTEXTD3:DRAWLINE(前低2,MACD,前低1 AND MACD =REF(MACD,距离D2),MACD,0),COLORYELLOW;
NOTEXTD4:DRAWLINE(前低2,MACD,前低1 AND MACD REF(MACD,距离D2),MACD,0),COLORGREEN;
NOTEXTD5:DRAWLINE(前低3,MACD,前低2 AND MACD =REF(MACD,距离D3),MACD,0),COLORYELLOW;
NOTEXTD6:DRAWLINE(前低3,MACD,前低2 AND MACD REF(MACD,距离D3),MACD,0),COLORGREEN;
NOTEXTD7:DRAWLINE(前低4,MACD,前低3 AND MACD =REF(MACD,距离D4),MACD,0),COLORYELLOW;
NOTEXTD8:DRAWLINE(前低4,MACD,前低3 AND MACD REF(MACD,距离D4),MACD,0),COLORGREEN;
黄金起爆一主图源码
黄浦江:EXPMA(CLOSE,12),DOTLINE,COLORGREEN;
工作线:EXPMA(CLOSE,17),COLORWHITE;
生命线:MA(CLOSE,25),COLORRED;
九号线:MA(CLOSE,99),COLORBLUE;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,GNBLOCK);
DRAWTEXT_FIX(1,0.7,0,0,1),COLORFF6000;
DRAWTEXT_FIX(1,0.77,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.835,0,0,DYBLOCK),COLORYELLOW;
X_1:=STRCAT(STRCAT(STRCAT(2,STKNAME),3),CODE);
DRAWTEXT_FIX(ISLASTBAR,0.2,0.1,0,X_1),COLORYELLOW;
X_2:=REF(CLOSE,1);
X_3:=IF((CLOSE-X_2)*100/X_2 =10-0.01*100/X_2,1,0);
STICKLINE(X_3,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(X_3,HIGH,LOW,0,0),COLORYELLOW;