公式平台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);
主趋势线:EMA(EMA(CLOSE,10),10),COLORRED,LINETHICK3;
ABC3:=主趋势线>REF(主趋势线,1);
IF(ABC3-1,主趋势线,DRAWNULL),COLORGREEN,LINETHICK3;
ABC4:=EMA(CLOSE,5)>EMA(CLOSE,20);
ABC5:=EMA(CLOSE,5)< EMA(CLOSE,20);
ABC6:=EMA(CLOSE,5)>EMA(CLOSE,10);
ABC7:=EMA(CLOSE,5)< EMA(CLOSE,10);
ABC8:=CLOSE< OPEN;
共振:=BARSLASTCOUNT(ABC4 AND 主趋势线)=1;
DRAWICON(共振,L,9);
STICKLINE(ABC4,HIGH,LOW,0,0),COLORRED;
STICKLINE(ABC4,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(ABC4 AND ABC8,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(ABC5,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(ABC5,OPEN,CLOSE,3,1),COLORGREEN;
STICKLINE(ABC5 AND ABC8,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(ABC5 AND ABC6,HIGH,LOW,0,1),COLORWHITE;
STICKLINE(ABC5 AND ABC6,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(ABC5 AND ABC6 AND ABC8,OPEN,CLOSE,3,0),COLORWHITE;
STICKLINE(ABC4 AND ABC7,HIGH,LOW,0,0),COLORWHITE;
STICKLINE(ABC4 AND ABC7,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(公式平台,OPEN,CLOSE,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(共振,OPEN,CLOSE,2,0),COLORYELLOW;