源码
W1:=(H-L)/ABS(O-C)>1.2 AND (REF(H,1)-REF(L,1))/ABS(REF(O,1)-REF(C,1))>1.2;
W2:=ABS(O-C)/C<1.0/100 AND ABS(REF(O,1)-REF(C,1))/REF(C,1)<2/100;
W4:=ABS(C-EMA(C,5))/C<2/100 OR ABS(C-EMA(C,10))/C<2/100 OR ABS(C-EMA(C,20));
W:W1 AND W2 AND W4 ;
源码
W1:=(H-L)/ABS(O-C)>1.2 AND (REF(H,1)-REF(L,1))/ABS(REF(O,1)-REF(C,1))>1.2;
W2:=ABS(O-C)/C<1.0/100 AND ABS(REF(O,1)-REF(C,1))/REF(C,1)<2/100;
W4:=ABS(C-EMA(C,5))/C<2/100 OR ABS(C-EMA(C,10))/C<2/100 OR ABS(C-EMA(C,20));
W:W1 AND W2 AND W4 ;