MA1:MA(CLOSE,5);
MA2:MA(CLOSE,24);
IF(MA2>REF(MA2,1),MA2,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA2<REF(MA2,1),MA2,DRAWNULL),COLORGREEN,LINETHICK2;
水平面:MA(CLOSE,72);
IF(水平面>REF(水平面,1),水平面,DRAWNULL),COLORRED,LINETHICK2;
IF(水平面<REF(水平面,1),水平面,DRAWNULL),COLORFFA2FF,LINETHICK2;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;
MAMA13:=MA(CLOSE,13);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMAEMA8:=EMA(C,8);
A1:=MIN(O,C);
B1:=ABS(O-C);
T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);
STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;
STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21);
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,2,0),COLOR7F017F;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,2,0),COLORGREEN;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
T2:=COUNT(CROSS(BBI,3),3)=1 AND CROSS(C,BBI);
STICKLINE(T2,O,C,2,0),COLORRED;
{精准线}
N:=3;
L0:=0.00;{点位差参数}
{底精准线}
LA1:=ABS(L-REF(L,1))<=L0;
LA2:=ABS(L-REF(L,2))<=L0;
LA3:=ABS(L-REF(L,3))<=L0;
LA4:=ABS(L-REF(L,4))<=L0;
LA5:=ABS(L-REF(L,5))<=L0;
精准线首次:=LA1 OR LA2 OR LA3 OR LA4 OR LA5;
精准左:=FILTER(精准线首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)<=L0;
STICKLINE(精准左,L,L,50,-1),COLORMAGENTA;
DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA;
{顶精准线}
G1:=ABS(H-REF(H,1))<=L0;
G2:=ABS(H-REF(H,2))<=L0;
G3:=ABS(H-REF(H,3))<=L0;
G4:=ABS(H-REF(H,4))<=L0;
G5:=ABS(H-REF(H,5))<=L0;
精准线首次1:=G1 OR G2 OR G3 OR G4 OR G5;
精准左1:=FILTER(精准线首次1,N) ;
天数1:=BARSLAST(精准左1);
GTS:=REF(L,天数1);
精准右1:=ABS(H-GTS)<=L0;
STICKLINE(精准左1,H,H,50,-1),COLORGREEN; |