九毛八公式指标
公式模块:
跟庄分时指标,请老师按思路改选股预警三公式:
1机买上穿机卖选股预警!
2机买先后上穿散买散卖选股预警!
3机卖=0,散买散卖下跌,机买先后上穿散买散卖选股
很感谢踏雪无痕的回复!
A1:=(Dvol/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
机买:(A2/A6)*100,LINETHICK2,COLORRED;
机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;
散买:(A4/A6)*100,LINETHICK0;
散卖:(A5/A6)*100,LINETHICK0;
主力差:机买-机卖,LINETHICK2,NODRAW;
散户差:散买-散卖,LINETHICK0,NODRAW;
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.75,'●机构'),COLORRED;
DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.75,'○机构'),COLORWHITE;
DRAWTEXT(散户差>0 AND REF(散户差,1)<=0,C*0.25,'▲散户'),COLORCYAN;
DRAWTEXT(散户差<0 AND REF(散户差,1)>=0,-C*0.25,'△散户'),COLORWHITE;
1. A1:=(DVOL/C)/2;
A2:=SUM(IF(A1>100 AND
CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND
CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND
CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND
CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
机买:=(A2/A6)*100;
机卖:=(A3/A6)*100;
crOSS(机买,机卖); 2. A1:=(DVOL/C)/2;
A2:=SUM(IF(A1>100 AND
CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND
CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND
CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND
CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
机买:=(A2/A6)*100;
散买:=(A4/A6)*100;
散卖:=(A5/A6)*100;
CROSS(机买,散买)
AND CROSS(机买,散卖);