指南针黄金柱公式改为通达信公式,测试通过
A:=VOL<REF(VOL,1) && REF(VOL,1)<REF(VOL,2) && REF(VOL,2)<REF(VOL,3) && (REF(VOL,3)>=REF(VOL,4)
|| (ABS(REF(VOL,3)-REF(VOL,4))/REF(VOL,3)<=0.03 && REF(VOL,4)>REF(VOL,5))) && CLOSE>REF(LOW,3) && REF(CLOSE,1)>REF(LOW,3) && REF(CLOSE,2)>REF(LOW,3) && REF(CLOSE,3)>=REF(CLOSE,4);
B:IF(A,1,0);
DRAWTEXT(B,1*0.8,'黄');
DRAWTEXT(B,1*0.6,'金');
DRAWTEXT(B,1*0.4,'柱'); |