N1:=30;
M:=12;
Q:=9;
DIFF_1:=(EMA(CLOSE,M)-EMA(CLOSE,N1));
DEA_1:=EMA(DIFF_1,Q);
macd_1:=2*(DIFF_1-DEA_1);
TJ_B1:=(HHV(MacD_1,4)<0 AND MACD_1>REF(MACD_1,1) AND REF(MACD_1,1)
红箭头买:TJ_B1;
N1:=30;
M:=12;
Q:=9;
DIFF_1:=(EMA(CLOSE,M)-EMA(CLOSE,N1));
DEA_1:=EMA(DIFF_1,Q);
macd_1:=2*(DIFF_1-DEA_1);
TJ_B1:=(HHV(MacD_1,4)<0 AND MACD_1>REF(MACD_1,1) AND REF(MACD_1,1)
红箭头买:TJ_B1;