步步汇盈
标题: 大盘纯净探底外送 [打印本页]
作者: cxd198355 时间: 2017-11-21 09:45
标题: 大盘纯净探底外送
MA120:EMA(CLOSE,120),LINETHICK2,colorFFA800;
RC:=c;
YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
YE6:=SUM(YE1*YE5,5);
YE7:=SUM(YE2*YE5,5);
YE8:=SUM(YE3*YE5,5);
YE9:=SUM(YE4*YE5,5);
主买:=SUM(BUYVOL,0);
主卖:=SUM(SELLVOL,0);
净买:=主买-主卖;
DRAWTEXTEX(主买,1,20,10,'主买:'),colorFF;
DRAWTEXTEX(主买,1,120,10,NUMTOSTR(主买,2)),colorFF00;
DRAWTEXTEX(主卖,1,20,50,'主卖:'),colorFFA800;
DRAWTEXTEX(主卖,1,120,50,NUMTOSTR(主卖,2)),colorFF00;
DRAWTEXTEX(净买,1,20,90,'净买:'),colorFFA800;
DRAWTEXTEX(净买>0,1,120,90,NUMTOSTR(净买,2)),colorFF;
DRAWTEXTEX(净买<0,1,120,90,NUMTOSTR(净买,2)),colorFF00;
PARTLINE(MA120>REF(MA120,1),MA120),LINETHICK2,colorFF;
YEK6:=SUM(YE1*YE5,0);
YEK7:=SUM(YE2*YE5,0);
YEK8:=SUM(YE3*YE5,0);
YEK9:=SUM(YE4*YE5,0);
净买入差:=SUM(YEK9+YEK8,0)>SUM(YEK7+YEK6,0);
PARTLINE(净买入差,MA120),LINETHICK3,colorFFFF;
DRAWTEXTEX(SUM(YEK9+YEK8,0)-(SUM(YEK7+YEK6,0)),1,280,10,'净买差:'),colorFFA800;
DRAWTEXTEX(YEK9+YEK8-(YEK7+YEK6)>0,1,370,10,NUMTOSTR(YEK9+YEK8-(YEK7+YEK6),2)),colorFF;
DRAWTEXTEX(YEK9+YEK8-(YEK7+YEK6)<0,1,370,10,NUMTOSTR(YEK9+YEK8-(YEK7+YEK6),2)),colorFF00;
DRAWTEXT(CROSS(REF(ZIG(3,3),1),ZIG(3,3)),HIGH,'..................................................'),ALIGN1,colorFF00;
DRAWNUMBER(BARSCOUNT(CLOSE)=SYSPARAM(1),DYNAINFO(7),DYNAINFO(7),3),SHIFT80,PXUP2,colorFFFF;
趋势:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);
探底:=IF(趋势<=11,LOW*0.99,MA120);
FILLRGN(探底<MA120 OR MA120>探底,探底,MA120),color6900;
当前最低YNAINFO(6),colorFFA800;
F:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
今小昨:=IF(CLOSE<REF(OPEN,1) AND F<0,1,0);
S1:=今小昨;
今小前:=IF(CLOSE<REF(OPEN,2) AND F<0,1,0);
S2:=今小前;
PARTLINE(S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3),REF(ZIG(3,3),1)),CLOSE),LINETHICK8,colorFF3CFB;
DRAWTEXT(S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3),REF(ZIG(3,3),1)),当前最低,'.\n◆\n紫\n.\n阳'),ALIGN1,colorFF00FF;
Z:=SUMBARS(DATE>REF(DATE,1) OR BARPOS=1,1);
均价:REF(SUM(VOL*CLOSE,Z)/SUM(VOL,Z),BARSLAST(VOL>0)),colorFFFF;
DRAWTEXT(FILTER(净买入差>REF(净买入差,1),2),MA120*0.996,'.\n总\n.\n买\n.\n大'),colorFFFF;
DRAWTEXT(FILTER(净买入差<REF(净买入差,1),2),MA120*0.996,'.\n总\n.\n卖\n.\n大'),colorFF00;
欢迎光临 步步汇盈 (http://bbs.58851.com/) |
Powered by Discuz! X3.2 |