{龙头战法之强龙出海主图源码如下}
龙头线:MA(CLOSE,3),COLORGREEN;
趋势线:EMA(CLOSE,17),COLORMAGENTA,LINETHICK2;
MA3:EMA(趋势线,4),COLOR111111;
ZYG1:=IF(REF(CLOSE,1)*1.1-CLOSE< 0.01,1,0);
STICKLINE(ZYG1,OPEN,CLOSE,3,0),COLOR66EEEE;
STICKLINE(ZYG1,OPEN,CLOSE,2,0),COLOR8800FF;
DRAWBAND(趋势线,RGB(255,0,255),MA3,RGB(0,0,0));
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,4),COLOR99EEEE;
ZYG2:=EMA(趋势线,1);
主力足迹:EMA(CLOSE,89),DOTLINE,COLOR99EEEE;
ZYG3:=EMA(主力足迹,10);
{龙头战法之强龙出海副图源码如下}
ZYG1:=MACD.DIF#MONTH;
ZYG2:=MACD.DEA#MONTH;
ZYG3:=MACD.DIF#WEEK;
ZYG4:=MACD.DEA#WEEK;
ZYG5:=MACD.DIF;
ZYG6:=MACD.DEA;
ZYG7:=CROSS(ZYG5,ZYG6);
ZYG8:=CROSS(ZYG3,ZYG4);
ZYG9:=CROSS(ZYG1,ZYG2);
ZYG10:=IF(CROSS(ZYG3,ZYG4),MACD.DIF+0.1,0);
ZYG11:=IF(ZYG5>ZYG6 AND ZYG3>ZYG4 AND ZYG9 OR (ZYG3>ZYG4 AND ZYG1>ZYG2 AND ZYG7) AND CLOSE/REF(CLOSE,1)>1.08 OR (ZYG1>ZYG2 AND ZYG5>ZYG6 AND ZYG8) OR (ZYG7 AND ZYG8 AND ZYG9),MACD.DIF+0.2,0);
STICKLINE(ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,0,100,3.2,0),COLOR0077FF;
STICKLINE(ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,0,100,2.5,0),COLOR0099FF;
STICKLINE(ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,0,100,1.9,0),COLOR00BBFF;
STICKLINE(ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,0,100,1.2,0),COLOR00DDFF;
STICKLINE(ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,0,100,0.3,0),COLORYELLOW;
STICKLINE(ZYG11 AND CLOSE/REF(CLOSE,1)>1.08,0,100,3,0),COLOR000099;
STICKLINE(ZYG11 AND CLOSE/REF(CLOSE,1)>1.08,0,100,2.2,0),COLOR0000CC;
STICKLINE(ZYG11 AND CLOSE/REF(CLOSE,1)>1.08,0,100,1.5,0),COLORRED;
STICKLINE(ZYG11 AND CLOSE/REF(CLOSE,1)>1.08,0,100,0.5,0),COLORCC66FF;
STICKLINE(ZYG11 AND CLOSE/REF(CLOSE,1)>1.08,0,100,0.5,0),COLORYELLOW;
DRAWTEXT(ZYG11 AND CLOSE/REF(CLOSE,1)>1.08,80,1862),COLORYELLOW;
DRAWTEXT(ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,60,1863),COLORRED;
DRAWTEXT(ZYG11 AND ZYG10 AND CLOSE/REF(CLOSE,1)>1.05,40,1864),COLORMAGENTA;