当前位置:首页 > 免费资源 > 正文

「翔博精选指标」6大买点,破解通达信公式源码分享 通达信副图

2022-03-18原创 编 辑:翔博软件

{公式名称: 6大买点

 
参数数量: 6
参数1: N, 最小: 1, 最大: 100, 缺省: 25
参数2: M, 最小: 1, 最大: 10, 缺省: 6
参数3: SHORT, 最小: 1, 最大: 123, 缺省: 12
参数4: LONG, 最小: 1, 最大: 123, 缺省: 12
参数5: MID, 最小: 1, 最大: 123, 缺省: 12
参数6: LL, 最小: 1, 最大: 123, 缺省: 12
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
XA_1:=BARSCOUNT(CLOSE)*3.142/180;
XA_2:=SIN(XA_1*8)*40;
XA_3:=COS(XA_1*8)*40;
XA_4:=(CLOSE*2+HIGH+LOW)/4;
XA_5:=EMA(XA_4,13)-EMA(XA_4,34);
XA_6:=EMA(XA_5,9);
XA_7:=(-2)*(XA_5-XA_6)*61.799999;
XA_8:=2*(XA_5-XA_6)*61.799999;
XA_9:=IF(REF(XA_8,2)>REF(XA_8,1) AND XA_8>REF(XA_8,1),1,0);
XA_10:=(LOW+HIGH+CLOSE*2)/4;
XA_11:=MA(XA_10,4);
XA_12:=HHV(XA_11,10);
XA_13:=MA(XA_12,3);
XA_14:=1.25*XA_13-0.25*XA_12;
XA_15:=IF(XA_14>XA_12,XA_12,XA_14);
XA_16:=LLV(XA_11,10);
XA_17:=MA(XA_16,3);
XA_18:=1.25*XA_17-0.25*XA_16;
XA_19:=IF(XA_18<XA_16,XA_16,XA_18);
XA_20:=MA(CLOSE,13);
XA_21:=CROSS(CLOSE,XA_19) AND CROSS(CLOSE,XA_20) AND CROSS(CLOSE,XA_15);
XA_22:=CROSS(CLOSE,XA_20) AND CROSS(CLOSE,XA_15);
XA_23:=IF(XA_21 OR XA_22,1,0);
XA_24:=EMA(CLOSE,9)-EMA(CLOSE,24);
XA_25:=EMA(XA_24,3);
XA_26:=CROSS(XA_24,XA_25) AND XA_24>0 AND XA_25>0;
XA_27:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
XA_28:=EMA(XA_27,9);
XA_29:=(XA_27-XA_28)*2*60;
XA_30:=CROSS(XA_29-REF(XA_29,1),10);
XA_31:=EMA(CLOSE,2);
XA_32:=EMA(SLOPE(CLOSE,24)*20+CLOSE,42);
XA_33:=CROSS(XA_31,REF(XA_31,1)*1.017);
XA_34:=EMA(CLOSE,12)-EMA(CLOSE,13);
XA_35:=EMA(XA_34,3);
XA_36:=CROSS(XA_34,XA_35);
XA_37:=XA_33 AND XA_36;
XA_38:=(2*CLOSE+HIGH+LOW)/3;
XA_39:=EMA(XA_38,3);
XA_40:=EMA(XA_39,3);
XA_41:=EMA(XA_40,3);
XA_42:=(XA_41-REF(XA_41,1))/REF(XA_41,1)*100;
XA_43:=AMOUNT/VOL/100;
XA_44:=MA(XA_43,13);
XA_45:=EMA(VOL,13);
XA_46:=EMA(AMOUNT,13);
XA_47:=XA_46/XA_45/100;
XA_48:=(CLOSE-XA_47)/XA_47*100;
XA_49:=EMA(VOL/CAPITAL*100,13);
XA_50:=MA(XA_42,1);
XA_51:=MA(XA_42,2);
底:IF(CROSS(XA_50,XA_51),0.4,0),COLORRED;
顶:IF(CROSS(XA_51,XA_50),0.4,0),COLORGREEN;
XA_52:=IF(底=0.4,1,0);
XA_53:=(HIGH+LOW+CLOSE*2)/4;
XA_54:=EMA(XA_53,21);
XA_55:=STD(XA_53,21);
XA_56:=((XA_53-XA_54)/XA_55*100+200)/4;
XA_57:=(EMA(XA_56,5)-25)*1.56;
XA_58:=EMA(XA_57,2)*1.22;
XA_59:=EMA(XA_58,2);
XA_60:=3*XA_58-2*XA_59;
BDZX买:IF(CROSS(XA_58,XA_59),0.2,0),COLORRED;
BDZX卖:IF(CROSS(XA_59,XA_58),0.2,0),COLORGREEN;
XA_61:=IF(BDZX买=0.2,1,0);
综合:XA_9+XA_23+XA_26+XA_30+XA_37+XA_52+XA_61,NODRAW,COLORRED;
STICKLINE(XA_9,1.01,1.2,3,0),COLORRED;
STICKLINE(XA_23,1.01,1.2,3,0),COLORYELLOW;
STICKLINE(XA_26,0.81,1,3,0),COLORCYAN;
STICKLINE(XA_30,0.61,0.8,3,0),COLORYELLOW;
STICKLINE(XA_37,0.41,0.6,3,0),COLORMAGENTA;
STICKLINE(底,0.21,0.4,3,0),COLORFF0080;
STICKLINE(BDZX买,0,0.2,3,0),COLORLIMAGENTA;
STICKLINE(综合>=3,0,1.25,0.1,0),COLORWHITE;
XA_62:=MA(CLOSE,N);
XA_63:=POW(CLOSE-XA_62,2);
XA_64:=MA(XA_63,N);
XA_65:=SQRT(XA_64);
XA_66:=XA_62+2*XA_65;
XA_67:=XA_62-2*XA_65;
WIDTH:(XA_66-XA_67)/XA_62,COLORRED;

MA6:MA(WIDTH,M),COLORYELLOW;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标