DIFF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
M:=IF(MACD>0,MACD,0);
B:=ZIG(3,7);
G:=MA(B,2);
D:CROSS(B,G)*10,COLORRED,LINETHICK2,STICK;
W:CROSS(G,B)*10,COLORWHITE,LINETHICK1,STICK;
SD:any(C=LLV(C,38),48) and any(c>ma(c,30),7) AND HHV(M,7)=HHV(M,42) AND CAPITAL<16000000;
X:15*(any(D,30) AND SD);