主升,解开通达信公式源码分享 副图
公式名称: 主升公式描述:参数数量: 1参数1: M, 最小: 1, 最大: 111, 缺省: 1公式类型: 技术指标公式-神系画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无参数精灵:请设置计算参数:M: PARAM#0 (1.00--111.00)用法注释:无公式源码} XA_1:=VOL/CAPITAL*100;XA_2:=AMOUNT/VOL/100;XA_3:="880003$HIGH";XA_4:="880003$LOW";XA_5:="880003$CLOSE";XA_6:=(3*CLOSE+LOW+HIGH+REF(CLOSE,1))/6;XA_7:=(3*XA_5+XA_4+XA_3+REF(XA_5,1))/6;XA_8:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);XA_9:=DMA(CLOSE,XA_8);XA_10:=MAX(WMA(XA_6,21),XA_9*0.97);XA_11:=IF(CURRBARSCOUNT=1 AND PERIOD<6,VOL*240/FROMOPEN,VOL);XA_12:=IF(CAPITAL>0,XA_11*100/CAPITAL,XA_11);XA_13:=CURRBARSCOUNT<121;XA_14:=CURRBARSCOUNT<31;XA_15:=CURRBARSCOUNT<21;XA_16:=CURRBARSCOUNT<6;XA_17:=CURRBARSCOUNT<61;XA_18:=REF(CLOSE,1);XA_19:=CURRBARSCOUNT<11;XA_20:=WINNER(CLOSE);XA_21:=WMA(WINNER(XA_2)*70,2);XA_22:=WMA((WINNER(XA_2*1.1)-WINNER(CLOSE*0.9))*70,2);XA_23:=XA_21-XA_22;XA_24:=LLV(XA_4,84);XA_25:=HHV(XA_3,84);XA_26:=LLV(LOW,84);XA_27:=HHV(HIGH,84);XA_28:=WMA((XA_6-XA_26)/(XA_27-XA_26)*100,3);XA_29:=WMA((XA_7-XA_24)/(XA_25-XA_24)*100,3);XA_30:=100-EMA(100*(XA_27-CLOSE)/(XA_27-XA_26),5);XA_31:=SMA(100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3,1);XA_32:=SMA((XA_2-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1);XA_33:=BARSLAST(COUNT(CLOSE>=XA_10,20)>15);XA_34:=COUNT(XA_28>=XA_29,20)=20 AND XA_33<31;XA_35:=COUNT(XA_21>=XA_22,20)=20 AND XA_33<21;XA_36:=COUNT(XA_30>80,10)=10 AND XA_33<21;XA_37:=COUNT(XA_32>=XA_31,20)=20 AND XA_33<21;XA_38:=XA_32>=XA_31 OR (XA_32>REF(XA_32,1) AND XA_28>XA_29 AND XA_28>50 AND XA_28>REF(XA_28,1));XA_39:=BARSLAST(HIGH=HHV(HIGH,4))<3;XA_40:=CLOSE>HHV(CLOSE,8)*0.88;XA_41:=XA_34 OR XA_35 OR XA_36 OR XA_37 AND XA_39 AND XA_38 AND XA_40;XA_42:=(1+7/100)*XA_9;XA_43:=MA(CLOSE,12);XA_44:=POW(CLOSE-XA_43,2);XA_45:=MA(XA_44,12);XA_46:=SQRT(XA_45);XA_47:=XA_43+2*XA_46;XA_48:=XA_43-2*XA_46;XA_49:=REF(XA_47,1);XA_50:=XA_42/XA_49;XA_51:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);XA_52:=IF(MA(CLOSE,17)<XA_51,XA_51,MA(CLOSE,17));XA_53:=EMA(CLOSE,250);XA_54:=EMA(XA_53-(EMA(CLOSE,3)-XA_53),5);XA_55:=(HIGH+LOW+CLOSE)/3;XA_56:=EMA((XA_55-MA(XA_55,84))/(0.015*AVEDEV(XA_55,84)),5);XA_57:=XA_54<XA_52;XA_58:=XA_50>0.9 AND XA_50<1.1;XA_59:=XA_56>90;XA_60:=XA_30>60;XA_61:=XA_52>REF(XA_52,1);XA_62:=XA_57 AND XA_58 AND XA_59 AND XA_60 AND XA_61;XA_63:=XA_62;XA_64:=0.01*EMA(AMOUNT,34)/EXPMA(VOL,34);XA_65:=(CLOSE-XA_64)/XA_64*100;XA_66:=EMA(XA_5,34);XA_67:=(XA_5-XA_66)/XA_66*100;XA_68:=XA_65-XA_67;XA_69:=COUNT(XA_68>0,6)>3 AND XA_68>5;XA_70:=COUNT(XA_68>0,20)>15 AND XA_68>=9;XA_71:=XA_69 OR BARSLAST(XA_70)<30;XA_72:=MA(CLOSE,30);XA_73:=MA(CLOSE,60);XA_74:=MA(CLOSE,120);XA_75:=MA(CLOSE,250);XA_76:=XA_72>REF(XA_72,1);XA_77:=XA_74>REF(XA_74,1);XA_78:=XA_75>REF(XA_75,1);XA_79:=XA_73>REF(XA_73,1);XA_80:=XA_76 OR XA_77 OR XA_78 OR XA_79 AND (CLOSE>XA_73 OR CLOSE>XA_72);XA_81:=CLOSE>=XA_10 AND XA_10>=REF(XA_10,1);XA_82:=HHV(HIGH,20)=HHV(HIGH,60) OR HHV(HIGH,3)=HHV(HIGH,10);XA_83:=CLOSE>REF(CLOSE,1)*0.97 AND XA_20>0.6;XA_84:=XA_41 OR XA_63 AND XA_12>4 AND XA_81 AND XA_71 AND XA_82 AND XA_80 AND XA_83;主升初选:COUNT(XA_84,M)>0,STICK,COLORMAGENTA,LINETHICK4;
很好的内容,感谢分享! 这是什么东东啊
页:
[1]