N:=10;
ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,vol,0);B:=IF(C<ZZ,VOL,0);
总0:=(A-B);
bbd:=EMA(总0,3)/SUM(VOL,5)*600,LINETHICK;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND BBD<-115),COLORRED;
买:黄金 AND RSVV<VARB2-2,COLOR00FFFF,LINETHICK1;