A:=CROSS(MA(C,5),MA(C,10));
B:=CROSS(MA(C,10),MA(C,5));
T1:=IF(A,L,0);
T2:=IF(B,H,0);
X1:=BACKSET(T1,1);
Y1:=CROSS(X1,0.99);
K1:=STICKLINE(L,REF(L,BARSLAST(Y1)),REF(L,BARSLAST(Y1)),5,1),COLORRED;
X2:=BACKSET(T2,1);
Y2:=CROSS(X2,0.99);
K2:=STICKLINE(H,REF(H,BARSLAST(Y2)),REF(H,BARSLAST(Y2)),5,1),COLORYELLOW;
P1:=REF(DATE,BARSLAST(A)=0);
P2:=REF(DATE,BARSLAST(B)=0);
XG:(K2-K1)/K1>=0.0998 AND P1>P2;
我搞不清楚你所說的金叉的時候的最低點是指的什麼?是當天的k線最低點還是金叉的點位?蒙著做的。
A:=CROSS(MA(C,5),MA(C,10));
B:=CROSS(MA(C,10),MA(C,5));
T1:=IF(A,L,0);
T2:=IF(B,H,0);
X1:=BACKSET(T1,1);
Y1:=CROSS(X1,0.99);
K1:=STICKLINE(L,REF(L,BARSLAST(Y1)),REF(L,BARSLAST(Y1)),5,1),COLORRED;
X2:=BACKSET(T2,1);
Y2:=CROSS(X2,0.99);
K2:=STICKLINE(H,REF(H,BARSLAST(Y2)),REF(H,BARSLAST(Y2)),5,1),COLORYELLOW;
P1:=REF(DATE,BARSLAST(A)=0);
P2:=REF(DATE,BARSLAST(B)=0);
XG:(K2-K1)/K1>=0.0998 AND P1>P2;
我搞不清楚你所說的金叉的時候的最低點是指的什麼?是當天的k線最低點還是金叉的點位?蒙著做的。