大庆老杨“跟庄建仓”源码---同花顺云云用/ Q; R6 F X3 m( f, ]7 s( f, {
1 S) K! C1 e7 q9 h) X6 j- i k
A01:=NEW;
/ v1 j0 V" w9 p: D8 d/ y" o' IA03:=BARSCOUNT(CLOSE);
7 f/ f* T$ P5 I6 a; g( cA04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
7 ~! e$ u/ X/ I9 z8 z. qA05:=IF((A03 > 20),A04,0);4 b8 N7 u- e2 b F, n
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));+ D, F- j$ N& F" @4 I
A07:=DMA(A06,(VOL / CAPITAL)) * 60;! f& o& E0 F8 }* S. ^4 Y/ T! N
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 80,趋势,80),coloryellow;
/ `4 H) d6 k6 t8 i- W7 kDRAWICON(CROSS(趋势,0),0,1);% B2 A8 f, W; S
A11:IF((A09 > 0 AND (趋势REF(趋势,1)AND 趋势90,100,105,10,2),colorred;
1 C0 B& Z3 m8 P3 Q; |; KVAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100;
- U3 V+ V/ N8 Y) D0 HDRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR9>87,95,0),88,'险'),COLOR00FF00;
* Z4 N* X$ X4 S+ \" B" k' D: \/ i8 X" SDRAWICON(CROSS(90,VAR9),95,9);1 l8 F% I% Q# O- s7 ~" s
VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
! ]0 u# \$ R0 JVAR12:=HHV(VAR11,30)*8;
; c: Y+ G& Y3 k7 R& ]( r( D- m) v9 `火焰山:=EMA(IF(LOW |