股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量能情绪周期指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-10-22 11:18:32

STICKLINE(CLOSE,30,40,4,1),COLOR404000; STICKLINE(CLOSE,20,30,4,1),COLOR404000; STICKLINE(CLOSE,0,20,4,1),COLOR404000; STICKLINE(CLOSE,0,10,4,1),COLOR404000; X_1:=EMA(CLOSE,5); X_2:=EMA(vol,5); X_3:=MA(CLOSE,5); X_4:=MA(CLOSE,10); X_5:=MA(CLOSE,20); X_6:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55); X_7:=CLOSE>X_3; X_8:=CLOSE>X_4; X_9:=CLOSE>X_5; X_10:=X_3>X_4; X_11:=X_3>X_5; X_12:=REF(X_5,1); X_13:=X_5>X_12; X_14:=IF(X_7,10,0-10)+IF(X_8,10,0-10)+IF(X_9,10,0-10)+IF(X_10,10,0-10)+IF(X_11,10,0-10)+IF(X_13,10,0-10); X_15:=ATAN((X_1/REF(X_1,1)-1)*100)*180/3.1416; X_16:=ATAN((X_2/REF(X_2,1)-1)*100)*180/3.1416; X_17:=CLOSE>X_6 AND OPEN>X_6 AND CLOSE>OPEN AND X_15>50 AND X_16>70; XA_18:FILTER(X_17,13); X_18:=XA_18<=0; X_19:=BARSLAST(NOT(X_18)); X_20:=MA(LOW+(HIGH-LOW)/2,26)*1.15; X_21:=MA(LOW+(HIGH-LOW)/2,26)*0.95; X_22:=(X_20+X_21)/2; X_23:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06; X_24:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98; X_25:=(X_23+X_24)/2; X_26:=X_23>X_21; X_27:=X_23>X_22; X_28:=X_23>X_20; X_29:=X_25>X_21; X_30:=X_25>X_22; X_31:=X_25>X_20; X_32:=X_24>X_21; X_33:=X_24>X_22; X_34:=X_24>X_20; X_35:=IF(X_26,10,0-10)+IF(X_27,10,0-10)+IF(X_28,10,0-10)+IF(X_29,10,0-10)+IF(X_30,10,0-10)+IF(X_31,10,0-10)+IF(X_32,10,0-10)+IF(X_33,10,0-10)+IF(X_34,10,0-10); X_36:=EMA(EMA(EMA(CLOSE,13),13),13); X_37:=ATAN((X_36/REF(X_36,1)-1)*100)*180/3.1416; X_38:=X_37>0; X_39:=BARSLAST(NOT(X_38)); X_40:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; X_41:=CEILING(SMA(X_40,13,8)); X_42:=X_41<10 AND X_14=(-60) AND X_15<(-60); X_43:=BARSLAST(NOT(X_42<1)); STICKLINE(X_42>0,1,9,3,1),COLORRED; STICKLINE(XA_18=1,11,19,3,1),COLORMAGENTA; STICKLINE(X_35=10 AND REF(X_35<10,1),21,29,3,1),COLORGREEN; STICKLINE(X_39=1,31,39,3,1),COLORYELLOW; DRAWNUMBER(X_38>=0,36,X_39),COLORWHITE; DRAWNUMBER(X_35>=0,26,X_35),COLORWHITE; DRAWNUMBER(X_35<0,26,0),COLORWHITE; DRAWNUMBER(XA_18<=1,16,X_19),COLORWHITE; DRAWNUMBER(X_42>=0,6,X_43),COLORWHITE;








回复

举报

QQ|

GMT+8, 2024-11-6 22:29

快速回复 返回顶部 返回列表