A:=MACD.DIF;
B:=MACD.DEA;
D:=MACD.MACD;
TJ:=A>0 AND B>0;
T:=BARSLAST(CROSS(TJ,0.5));
TJ1:=CROSS(A,B);
AB:=COUNT(TJ1,T+1)=2 AND D>=0 AND C>=MA(C,250) AND EVERY(TJ,T) AND REF(D<0,1);
A1:=(C+L+H)/1.5;
A2:=EMA(A1,3);
A3:=EMA(A2,2.5);
A4:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&
CLOSE/OPEN>1.03&&CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.0572;
VAR1A:=LLV(LOW,4) = LLV(LOW,10);
VAR2A:= C / REF(C,1)>1.06 AND HIGH = CLOSE AND LOW < CLOSE ;
VAR3A:=C/LLV(LOW,4) <1.05 AND CLOSE/LLV(LOW,4)> 1.05;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
MACD:=EMA(EMA(RSV1,7),7)*8;
BBB:=(MACD>=0 AND MACD>=REF(MACD,1));
AAA:=STICKLINE(BBB,0,V,2,0);
XG1:=BBB>REF(BBB,1);
XG2:=XG1>REF(XG1,1);
XG3:=VAR2A AND (VAR3A OR VAR1A);
AA:=C>O AND CROSS(MA(C,3),MA(C,6)) AND C>MA(C,3) AND MA(C,10)>MA(C,34) AND MA(C,34)>REF(MA(C,34),1) AND C>REF(C,1) AND MA(C,55)>REF(MA(C,55),1);
XG:=CROSS(A2,A3) AND AA AND XG2 AND CROSS(MACD.DIF,MACD.DEA) OR AB;
黑金:A4 AND XG3 AND NOT(DYNAINFO(4)=0) AND XG,COLORYELLOW,LINETHICK3;