{短线龙腾主图源码如下}
好股网1:EMA(C,100) COLORGREEN,LINETHICK1;
好股网2:EMA(C,120) COLORGREEN,LINETHICK1;
好股网3:EMA(C,144) COLORGREEN,LINETHICK1;
IF(好股网1<C,好股网1,DRAWNULL),COLORRED,LINETHICK1;
IF(好股网2<C,好股网2,DRAWNULL),COLORRED,LINETHICK1;
IF(好股网3<C,好股网3,DRAWNULL),COLORRED,LINETHICK1;
短线:=((CLOSE>REF(CLOSE,1))AND(CLOSE>REF(HIGH,1))AND(VOL>REF(VOL,1)*1.5)
AND(CLOSE/REF(CLOSE,5)>1.05)AND(MA(CLOSE,5)>MA(CLOSE,10))
AND(MA(CLOSE,10)>MA(CLOSE,20)));
龙腾:=BARSLASTCOUNT(短线)=1;
STICKLINE(短线,O,C,0.1,0),COLORMAGENTA;
STICKLINE(龙腾,O,C,2,0),COLORMAGENTA;
DRAWTEXT(龙腾,L,' ★龙腾'),COLORYELLOW;
DRAWICON(短线, LOW, 1);
DRAWICON(龙腾, LOW, 9);
{短线龙腾副图源码如下}
短线:=((CLOSE > REF(CLOSE, 1)) AND (CLOSE > REF(HIGH,1)) AND (VOL> REF(VOL,1) * 1.5) AND (CLOSE/REF(CLOSE,5)>1.05) AND (MA(CLOSE,5)>MA(CLOSE,10))
AND (MA(CLOSE,10)>MA(CLOSE, 20)));
STICKLINE(短线,0,10,RGB(255,0,0),5);
龙腾:=BARSLASTCOUNT(短线)=1;
DRAWTEXT(龙腾, 7.6, '★龙'), COLORRED;
DRAWTEXT(龙腾, 6.6, '★腾'), COLORRED;
STICKLINE(短线,0,8,2,1),COLORMAGENTA;
STICKLINE(龙腾,0,8,2,0),COLORMAGENTA;
DRAWICON(龙腾,8.6, 11);