B点买卖 天魔线 多方控盘线 地妖线 多方控盘线 通达信副图指标 源码 贴图
2021-03-21 09:45:00来源:本站整理浏览:757
B点买卖 天魔线 多方控盘线 地妖线 多方控盘线 通达信副图指标 源码 贴图
XA_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_2:=SMA(XA_1,3,1);
XA_3:=SMA(XA_2,3,1);
XA_4:=3*XA_2-2*XA_3;
XA_5:=REF(CLOSE,1);
XA_6:=SMA(MAX(CLOSE-XA_5,0),6,1)/SMA(ABS(CLOSE-XA_5),6,1)*100;
XA_7:=SMA(MAX(CLOSE-XA_5,0),12,1)/SMA(ABS(CLOSE-XA_5),12,1)*100;
XA_8:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_9:=EMA(XA_8,9);
XA_10:=2*(XA_8-XA_9);
XA_11:=MA(CLOSE,20);
XA_12:=XA_11+2*STD(CLOSE,20);
XA_13:=XA_11-2*STD(CLOSE,20);
XA_14:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
XA_15:=HIGH-REF(HIGH,1);
XA_16:=REF(LOW,1)-LOW;
XA_17:=SUM(IF(XA_15>0 AND XA_15>XA_16,XA_15,0),14);
XA_18:=SUM(IF(XA_16>0 AND XA_16>XA_15,XA_16,0),14);
XA_19:=XA_17*100/XA_14;
XA_20:=XA_18*100/XA_14;
XA_21:=MA(ABS(XA_20-XA_19)/(XA_20+XA_19)*100,6);
XA_22:=MA(XA_21,2);
XA_23:=(XA_21+REF(XA_21,6))/2;
XA_24:=EMA(CLOSE,5);
XA_25:=EMA(CLOSE,8);
XA_26:=EMA(CLOSE,13);
XA_27:=EMA(CLOSE,21);
XA_28:=EMA(CLOSE,34);
多方控盘线:(EMA(CLOSE,7)+EMA(CLOSE,13)+EMA(CLOSE,21)+EMA(CLOSE,34))/4,COLORRED;
空方控盘线:EMA(多方控盘线,10),COLORGREEN;{www.gpxiazai.com}
天魔线:多方控盘线+1.8*STD(CLOSE,27),COLORRED,LINETHICK2;
地妖线:多方控盘线-1.6*STD(CLOSE,27),COLORGREEN,LINETHICK2;
DRAWBAND(多方控盘线,RGB(219,112,147),空方控盘线,RGB(50,150,0));
XA_29:=CROSS(多方控盘线,空方控盘线);
DRAWICON(XA_29,多方控盘线*0.995,7);
DRAWICON(XA_3>80 AND XA_7>80 AND XA_10<REF(XA_10,1),HIGH*1.01,6),COLORGREEN;
DRAWICON(XA_3>80 AND XA_7>80 AND XA_21>60 AND CROSS(XA_22,XA_21),HIGH*1.01,24),COLORGREEN;
DRAWICON(XA_3>80 AND XA_7>80 AND XA_21>60 AND CLOSE<MA(CLOSE,20),LOW*0.99,24),COLORGRAY;
DRAWICON(XA_3<20 AND XA_7<20,LOW*0.99,26),COLORYELLOW;
DRAWICON(CROSS(XA_4,0),LOW,1),COLORRED;
DRAWICON(CROSS(100,XA_4),HIGH,2),COLORGREEN;