兩線分開買入,兩線合一賣出.
tdx
JJ :=(C*3+H+L+O)/6;
SK := EMA(JJ,13) – EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
A1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
MACD:B1,COLORSTICK;
持股:IF(A1>=B1,A1,B1),COLORYELLOW,LINETHICK2;
持幣:IF(B1-A1,B1,A1),COLORGREEN,LINETHICK2;
dzh2:JJ :=(C*3+H+L+O)/6;
SK := EMA(JJ,13) – EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
A1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
MACD:B1,COLORSTICK;
partline(A1,A1>=B1) ,COLORred,LINETHICK2;
partline(B1,B1-A1),COLORGREEN,LINETHICK2;