空方防守价:=EMA(HIGH,4),NODRAW;
a* r1 N8 x: l) J" \- t; q多方防守价:=EMA(LOW,5),NODRAW;! e$ _/ `8 X, h
B1:=IF(CROSS(CLOSE,空方防守价),1,IF(CROSS(多方防守价,CLOSE),-1,0));
+ C; Z# B6 c7 |1 WB2:=REF(B1,BARSLAST(B1));6 x6 d3 Q- O* {
B3:=IF(B2=1,多方防守价,IF(B2=-1,空方防守价,0));! n; c0 ^# K; e
分界点:B3,NODRAW;' W, Y! ]8 Y( L
MA1:=B3;
5 I: V/ L; ]0 a; r+ ?. N( GC1:=(ABS(CLOSE-MA1))/CLOSE;/ Q8 p4 A m# B7 f; b/ ]
J:=(HHV(C1,160)+LLV(C1,160))/1.7;
" j! A9 o. L" w. G7 OCC:=IF(C12*J,5,0)))));
) q; O/ _" a/ b: p! J$ }) ?STICKLINE(CLOSE>MA1,0,CC,2.5,0),COLORRED; R; N+ A- v+ ?( r$ C
STICKLINE(CLOSE>MA1 AND CC>3,3,CC,2.5,0),COLORCYAN;
% }" m. f$ }) W6 U* j$ ISTICKLINE(CLOSE=MA1 AND ISLASTBAR=1,1,' ←多↑'),COLORLIMAGENTA;. S+ v8 X# {# g1 H+ `
DRAWTEXT(CLOSE |