{游资金龙突破}
金龙突破:=C;
平台突破1:=C/REF(C,1)>1.095 AND C=H;
平台突破2:=C/REF(C,1)>1.19 AND C=H;
均线突破:=CODELIKE('30');
平台整理:=CODELIKE('68');
平台突破:=IF(均线突破 OR 平台整理, 平台突破2, 平台突破1);
K线突破:EMA(EMA(金龙突破,10),10),COLORRED,LINETHICK3;
游资筹码3:=K线突破>REF(K线突破,1);
IF(游资筹码3-1,K线突破,DRAWNULL),COLORGREEN,LINETHICK3;
游资筹码4:=EMA(金龙突破,5)>EMA(金龙突破,20);
游资筹码5:=EMA(金龙突破,5)< EMA(金龙突破,20);
游资筹码6:=EMA(金龙突破,5)>EMA(金龙突破,10);
游资筹码7:=EMA(金龙突破,5)< EMA(金龙突破,10);
游资筹码8:=金龙突破< O;
潜伏:=BARSLASTCOUNT(游资筹码4 AND K线突破)=1;
DRAWICON(潜伏,L,9);
STICKLINE(游资筹码4,H,LOW,0,0),COLORRED;
STICKLINE(游资筹码4,O,金龙突破,3,1),COLORRED;
STICKLINE(游资筹码4 AND 游资筹码8,O,金龙突破,3,0),COLORRED;
STICKLINE(游资筹码5,H,LOW,0,0),COLORGREEN;
STICKLINE(游资筹码5,O,金龙突破,3,1),COLORGREEN;
STICKLINE(游资筹码5 AND 游资筹码8,O,金龙突破,3,0),COLORGREEN;
STICKLINE(游资筹码5 AND 游资筹码6,H,LOW,0,1),COLORWHITE;
STICKLINE(游资筹码5 AND 游资筹码6,O,金龙突破,3,1),COLORWHITE;
STICKLINE(游资筹码5 AND 游资筹码6 AND 游资筹码8,O,金龙突破,3,0),COLORWHITE;
STICKLINE(游资筹码4 AND 游资筹码7,H,LOW,0,0),COLORWHITE;
STICKLINE(游资筹码4 AND 游资筹码7,O,金龙突破,3,1),COLORWHITE;
STICKLINE(平台突破,O,金龙突破,3,0),COLORFF00FF;
MA2:=EMA(H,2);
MA5:EMA(H,5);
MA13:EMA(H,13);
MA34:EMA(L,34);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA34);
L1:=MIN(MIN(MA5,MA13),MA34);
一阳穿三线:= O< L1 AND C>H1 AND EVERY(MA2>REF(MA2,1),3) AND YCX;
STICKLINE(一阳穿三线,O,C,2,0),COLORRED;
DRAWTEXT(一阳穿三线,L-0.01, '★金龙突破'),COLORYELLOW;
STICKLINE(潜伏,O,金龙突破,2,0),COLORYELLOW;