主力((CLOSE - MA(LLV(LOW,40),40)) / MA(LLV(LOW,40),40)) * 100),colorF0F000;7 w( a6 f% p# t/ s0 w3 A3 e- k& a
AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000;
, A" ^' A. Y+ d( m8 Z6 KBB:=MA(AA,10);
+ @- }& g6 b ~1 i( zCC:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100);
" o$ f+ D+ Q! |8 _ ]; SDD:=EMA(SMA(20*(DMA(C,2.5*MAX(IF(v/capital=0,V/700000000,v/capital),
, h$ {3 `# W1 T, d1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1)))/REF(DMA(C,2.5*MAX(IF(v/capital=0, 9 x/ \) w8 m% t! `
V/800000000,v/capital),1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1))),1)-1),2,1),2);1 o. j7 q8 B* k6 i+ n. B8 O* E
趋势:SMA(BB,3,1)/10,linethick1,colorred;6 a3 v2 @$ y) q; r8 d
判势:SMA(CC,32,1)-20,color00ff00,linethick1;0 o# A0 H) l6 g' }3 T# k& \
理想论坛RAWTEXT(CROSS(趋势,判势),趋势+10,'买↑入'),LINETHICK2,colorwhite;
+ {: V4 u* Y* U- N5 e7 k0 J建仓:DRAWTEXT(CROSS(判势,趋势),判势,'建↑仓'),LINETHICK2,coloryellow;
2 _7 Q: C3 k- K/ i加码:DRAWTEXT(CROSS(主力,判势),判势-10,'加▲码'),LINETHICK2,colorred;
( q- A# R. }2 x9 q- \0 g" R持仓区:if(DD>=0.005,100,107),coloryellow;4 R3 p, j% F) e# M& |4 t4 i- a
空仓区:if(DD |