大庆老杨“跟庄建仓”源码---同花顺云云用
o& {0 j) U d" w, H$ u1 r" o, ~8 g6 ] ]
A01:=NEW;
# z7 ]* e. U) i( N+ RA03:=BARSCOUNT(CLOSE);
7 |+ x! ? u6 ^' oA04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
7 c6 {' u' J" R: J$ i# WA05:=IF((A03 > 20),A04,0);
; k% W F A( i7 f6 c, J. j$ R6 WA06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
: x0 N7 E% ?) N7 m& @$ Z$ LA07:=DMA(A06,(VOL / CAPITAL)) * 60;
; C, I3 Y' \$ s# D* Y OA09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 80,趋势,80),coloryellow;
" v; d( y" G- F! k1 Q3 mDRAWICON(CROSS(趋势,0),0,1);4 y3 @( ^+ b7 B0 u
A11:IF((A09 > 0 AND (趋势REF(趋势,1)AND 趋势90,100,105,10,2),colorred; $ N P9 T: H, L3 w0 @
VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100; ( z( M$ O& x$ @& ]
DRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR9>87,95,0),88,'险'),COLOR00FF00;
5 Q" p, W- Y* q3 K! |DRAWICON(CROSS(90,VAR9),95,9);
9 q- _! J. o4 h, g& H# \VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;) {% G0 D# o$ E* L
VAR12:=HHV(VAR11,30)*8;
) a8 N j7 O. X, D# m5 x5 z& `, O0 @火焰山:=EMA(IF(LOW |