量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW;
# p6 [( d. [0 E/ R7 d" \3 qAA10:MA(CLOSE,8),COLOR0000FF;
7 H: e$ r3 V" U" `' uAA12:MA(CLOSE,12),COLOR0000FF;+ m9 c: ]& X3 _( Z
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);$ p5 S" ~( A) Z4 g! p
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
3 n& F" T3 X% r+ W9 f IMA13:=MA(CLOSE,13); d+ q& ]* Y: C1 P: D+ h% l
DRAWBAND(AA10,RGB(150,50,50),AA12,RGB(0,100,50));9 s0 m; t5 R6 }
X1:=(C+L+H)/3;
' A) X3 g: t) N. P/ dBB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;9 E4 v4 f# x( \* X# B) v3 _& ]
EMA8:=EMA(C,8);) p8 _4 I% S. f, k* J0 O
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),$ A8 d' V$ x6 k4 Q& X8 Y% j" ?
EMA8,''∠45上升''),COLORWHITE;2 a" x$ h2 L: U) `
压力:MA(REF(HHV(C,36),1),2),COLOR9DFFFF;
7 m ^: Q- n% c4 w" [支持:MA(REF(LLV(C,36),1),2),COLORABFF46;
+ I" @5 M+ m0 ?, Y6 a% M aAA1:=AMOUNT/V;
: l7 f0 P3 D) k7 C4 ^- `BB1:=L1.2;
! j/ @. l3 G+ P7 |+ q2 i7 b. YDD1:=L=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFCC00;
1 l2 c: Y ]3 ^& v0 }3 f4 fSTICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFEE00; {) ^; l- u- Z
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000066;% N( L I6 L1 P1 n2 f; f, e
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR000088;) d. Z0 f% \) e
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000AA;
/ F# B9 r M$ ~7 W2 BSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000CC;
: x/ t/ o% ?9 @# F+ ~8 KVAR9Q:=C=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV+ v* n2 f2 H5 U5 C+ _+ g8 d
(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);& V9 z7 S+ T+ `; ?- [( r1 {6 U
STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000066;
" x2 J% Y9 f9 d4 @) e: CSTICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000088;/ I% M" E' C+ ?5 }9 S
STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000AA;
$ Y6 o5 N9 Z4 WSTICKLINE(VAR9Q,C,(O+C)/2,0,0),COLOR0000CC;5 ?, T+ q3 _$ B6 N# q# P7 i% i
VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
2 q/ A$ I* C2 ~) VSTICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF22FF;1 ^; y6 B8 }8 k+ ?2 [ ^
STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF44FF;
2 A ], Z) ]0 z' w3 `5 xSTICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF66FF;4 H: Z9 c% a0 d% j1 s0 z, m2 n' r+ H
STICKLINE(VARAQ,C,(O+C)/2,0,0),COLORFF88FF;: @& P H+ |. I& M
VARBQ:=C=LLV(C,4) AND (REF(C,1)REF(HIGH,3),1,0)));
* ?4 ?/ ^. ~' r( j4 U/ T突破:=TJ2=1;
# Q* q) D6 z2 E$ l* mSTICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),1,0),COLORCYAN;3 F0 B$ C5 K) Z; K9 }8 i
STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),1,0),COLORYELLOW;9 O# O K% ]+ Z" o5 A$ u/ Q) ^
TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND
' ~) X2 B( r; K7 v( OCLOSE>REF(LOW,3),1,0)));( z# u/ \) P2 W: V
三天法则:=TJ3=1;
- v# b7 m) A: S% |1 ~* u( [2 f创建:=三天法则 AND 突破;
. k. n% j- `( }3 k4 ^条件创建:=FILTER(创建,3);! l7 R4 ?2 |0 y* q
DRAWTEXT(条件创建,L*0.99,''创建''),COLORYELLOW;
7 g: c/ l: G: P2 kVAR21:=EMA(CLOSE,5);
1 r @ W; X) m5 d, ~$ BVAR22:=EMA(CLOSE,5);6 X! a$ n8 G- }
VAR23:=EMA(SLOPE(CLOSE,21)*20+CLOSE,36);
. b& S/ V! z- w, s5 L+ A/ DDRAWTEXT(CROSS(VAR22,VAR23),LOW*0.96,''B''); [em1 |