{金龙出水副图源码如下}
MA5:=MA(C,5)COLORMAGENTA LINETHICK2;
MA10:=MA(C,13)COLORRED LINETHICK2;
GSKZ1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
GSKZ2:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K:=SMA(GSKZ2,5,1);
D:=MA(K,7);
E:=MA(K,3);
J:=3*K-2*D;
AA:=C>MA(C,10);
主力:=BARSLASTCOUNT((K-D>0) AND GSKZ1>20 AND GSKZ1< 80)=1;
金龙XG1:=C>O OR (C>REF(C,1) AND C< O);
STICKLINE(AA AND 主力 AND 金龙XG1,0,80,2,0),LINETHICK3,COLORGREEN;
DRAWTEXT(AA AND 主力 AND 金龙XG1,58,' ★ 金龙出水'),COLORYELLOW;
STICKLINE(AA AND 主力 AND 金龙XG1,0,40,2,0),LINETHICK3,COLORYELLOW;
{金龙出水主图源码如下}
MA5:MA(C,5)COLORYELLOW LINETHICK2;
MA10:MA(C,13)COLORRED LINETHICK2;
GSKZ1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
GSKZ2:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K:=SMA(GSKZ2,5,1);
D:=MA(K,7);
E:=MA(K,3);
J:=3*K-2*D;
AA:=C>MA(C,10);
主力:=BARSLASTCOUNT((K-D>0) AND GSKZ1>20 AND GSKZ1< 80)=1;
金龙XG:=C>O OR (C>REF(C,1) AND C< O);
DRAWTEXT(主力 AND AA AND 金龙XG,L*0.98,' ★金龙出水'),COLORYELLOW;
DRAWICON(主力 AND AA AND 金龙XG,LOW,13);
STICKLINE(主力 AND AA AND 金龙XG,OPEN,CLOSE,1,0),COLORYELLOW;