X1:=HHV(H,34)-C; X2:=HHV(H,14)-C;
Y1:=HHV(H,34)-LLV(L,34);
Y2:=HHV(H,14)-LLV(L,14);
SS:100-100*X2/Y2,colorgray;
MM:100-EMA(100*X1/Y1,4),colorwhite;
LL:100-MA(100*X1/Y1,19),colormagenta;
金叉:(LL<20 AND CROSS(MM,LL));
STICKLINE(金叉,10,30,3,0),colorred;
死叉:(LL>80 AND CROSS(LL,MM));
STICKLINE(死叉,90,70,3,0),colorcyan;
减仓:MM<REF(MM,1) AND REF(MM,1)>90 AND CROSS(MM,SS);
............. |
