DRAWTEXTABS(10,10,'主力趋势--'),COLORYELLOW,linethick2;8 g/ Y/ Q" r/ q- g+ l
DRAWTEXTABS(83,10,'紫色进场'),COLORFF00FF,linethick2;: @0 R/ ?" t4 i; g8 C$ v
DRAWTEXTABS(140,10,'蓝色出局'),COLORFFFF00,linethick2;
/ F: o; r2 i4 z: q8 b- @0 r8 h当日成交:amount*BIGORDER(1,2)/10000-amount*BIGORDER(2,2)/10000,colorWhite,linethick0;
+ Z1 q( \. m) U$ y4 H5 b/ L7 _stickline(当日成交>0,0,当日成交,5,0),colorred;
9 {+ K5 `) f5 y. B- L( Y5 b8 Hstickline(当日成交=0)then - \0 u. M) L) S1 O- A
begin
! Q. S1 C) ^! r) J# s2 {Str1:='主力净买入:'+NUMTOSTRN(当日成交,3)+'万元,';
5 r& [& d' m8 d% S/ tStr2:= '净买入:'+ NUMTOSTRN(买入手数,0)+'手,';
0 k8 u$ g q! B1 Z! YStr3:= '当日增减度:' + NUMTOSTRN(DT,3);
2 f& j: A7 A8 S; Gend;7 ^/ g% ]5 Z, l
if 当日成交=0,当日成交,Str1+str2+str3),COLORRED;
J) i) K# e% K. W/ v5 ^( E$ uDRAWFLAGTEXT(DTOPEN),(QJJ*(HIGH-LOW)),IF((CLOSEOPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE=主卖),主买,主卖,8,1),COLORFF00FF,LINETHICK2;STICKLINE((主买 |