JA1:=(DVOL/C)/2; A2:=SUM(IF(JA1>100 AND CLOSE>REF(CLOSE,1),JA1,0),0); A3:=SUM(IF(JA1>100 AND CLOSE<REF(CLOSE,1),JA1,0),0); A4:=SUM(IF(JA1<100 AND CLOSE>REF(CLOSE,1),JA1,0),0); A5:=SUM(IF(JA1<100 AND CLOSE<REF(CLOSE,1),JA1,0),0); A6:=A2 A3 A4 A5; 機(jī)買:=(A2/A6)*100; 機(jī)賣:=(A3/A6)*100; 主力差:=機(jī)買-機(jī)賣; 機(jī)構(gòu)加倉(cāng):=(主力差>=REF(主力差,1) 1.5)*50 AND 機(jī)買>機(jī)賣; 機(jī)構(gòu)抄底:=金叉 AND 機(jī)構(gòu)加倉(cāng); DRAWTEXT (機(jī)構(gòu)抄底,L*0.97,'↖機(jī)構(gòu)入駐'),COLORCYAN; 機(jī)構(gòu)追買:=機(jī)構(gòu)加倉(cāng) AND 追拉升; DRAWTEXT (機(jī)構(gòu)追買,L*0.97,'↖機(jī)構(gòu)吃單'),COLORFF00FF; {獵莊}
|