{M 1,100,1.2
M2 1,300,89
M1 1,300,34
N 1,300,13}
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);
SP1:=B1;
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
多:=IF(A1>=B1,A1,B1);
空:=IF(B1-A1,B1,A1);
莊:filter(CYS13>5,3);
{M 1,100,1.2
M2 1,300,89
M1 1,300,34
N 1,300,13}
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);
SP1:=B1;
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
多:=IF(A1>=B1,A1,B1);
空:=IF(B1-A1,B1,A1);
莊:filter(CYS13>5,3);