判断主力是否建仓 通达信副图指标 源码 贴图
2020-12-20 10:35:00来源:本站整理浏览:690
判断主力是否建仓 通达信副图指标 源码 贴图
XA_1:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
XA_2:=EMA(XA_1,12)-EMA(XA_1,26);
XA_3:=EMA(XA_2,9);
大资金值:(XA_2-XA_3)*2,NODRAW,COLORWHITE;
XA_4:=EMA(XA_1,1)-EMA(XA_1,2);
STICKLINE(大资金值>0 AND XA_4>0,0,大资金值,3,0),COLORRED;
STICKLINE(大资金值<0 AND XA_4>0,0,大资金值,3,0),COLORLIRED;
STICKLINE(大资金值<0 AND XA_4<0,0,大资金值,3,0),COLORGREEN;
STICKLINE(大资金值>0 AND XA_4<0,0,大资金值,3,0),COLORYELLOW;
大资金持续加仓:BARSLASTCOUNT(大资金值>0 AND XA_4>0),NODRAW,COLORRED;
XA_5:=BARSLASTCOUNT(大资金值>0 AND XA_4<0);
XA_6:=BARSLASTCOUNT(大资金值<0 AND XA_4>0);
大资金持续出货:BARSLASTCOUNT(大资金值<0 AND XA_4<0),NODRAW,COLORGREEN;
XA_7:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_8:=EMA(XA_7,9);
XA_9:=(XA_7-XA_8)*2;
0;
XA_10:=MA(CLOSE,5);
XA_11:=MA(CLOSE,10);
XA_12:=MA(CLOSE,30);
XA_13:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
XA_14:=INTPART(XA_13*100)/100;
XA_15:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
XA_16:=INTPART(XA_15*100)/100;
XA_17:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
XA_18:=INTPART(XA_17*100)/100;
XA_19:=EMA(CLOSE,5)-EMA(CLOSE,10);
XA_20:=EMA(XA_19,9);
XA_21:=REF(XA_20,1);
XA_22:=XA_20;
XA_23:=XA_22-XA_21;
XA_24:=REF(XA_19,1);
XA_25:=XA_19;
XA_26:=XA_25-XA_24;
XA_27:=OPEN;
XA_28:=CLOSE;
游资入柱:XA_27<XA_10 AND XA_27<XA_11 AND XA_27<XA_12 AND XA_28>XA_10 AND XA_28>XA_18 AND XA_23>0 AND XA_26>0 AND XA_9>0.02,NODRAW,COLORDE4AD3;
STICKLINE(游资入柱>0,0,35,1,0),COLORDE4AD3;{www.gpxiazai.com}
XA_29:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
XA_30:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
XA_31:=XA_29<REF(XA_30,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
大资金建仓:XA_31 AND COUNT(XA_31,30)=1,COLORLIRED;
STICKLINE(大资金建仓,0,20,4,0),COLORLIRED;
STICKLINE(大资金建仓,10,20,4,0),COLORWHITE;
STICKLINE(大资金建仓,10,20,4,0),COLORYELLOW;
XA_32:=MA(CLOSE,27);
XA_33:=(CLOSE-XA_32)/XA_32*100;
XA_34:=MA(XA_33,2);
XA_35:=BARSLAST(CROSS((-10),XA_34)=1);
XA_36:=BARSLAST(CROSS(XA_34,10)=1);
XA_37:=XA_34<(-10) AND XA_35>3;
XA_38:=XA_34>10 AND XA_36>3;
黄金坑:IF(XA_37,XA_34,0),LINESTICK,COLORWHITE,LINETHICK2;
XA_39:=MA(CLOSE,27);
XA_40:=(CLOSE-XA_39)/XA_39*100;
XA_41:=MA(XA_40,2);
XA_42:=BARSLAST(CROSS((-10),XA_13)=1);
XA_43:=BARSLAST(CROSS(XA_13,10)=1);
XA_44:=XA_13<(-10) AND XA_14>3;
XA_45:=XA_13>10 AND XA_15>3;
XA_46:=IF(XA_44,XA_41,0);
XA_47:=REF(黄金坑,1)<0;
黄金坑消失:XA_47 AND XA_46=0,NODRAW,COLORLIBLUE;