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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信短线龙头指标公式源码


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

X_1:=MA(LOW,24)*1.09;
X_2:=MA(LOW,24)*1.19;
X_3:=COUNT(crOSS(CLOSE,X_1),2)=1 OR CROSS(CLOSE,X_2);
X_4:=REF(COUNT(CLOSE/OPEN<0.963,7)<2 AND CLOSE/OPEN>0.94,1);
X_5:=EMA(SLOPE(CLOSE,13)*13+CLOSE,13);
X_6:=HHV(X_5,26);
X_7:=EMA(SLOPE(CLOSE,25)*25+CLOSE,25);
X_8:=HHV(X_7,55);
X_9:=EMA(SLOPE(CLOSE,13)*20+CLOSE,55);
X_10:=HHV(X_9,60);
X_11:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
X_12:=HHV(X_11,60);
X_13:=REF(CLOSE<=OPEN AND REF(COUNT(CLOSE<OPEN,6)<2,1) AND COUNT(CLOSE/OPEN<0.963 AND REF(CLOSE>OPEN,1) AND HIGH>=REF(HIGH,1) AND OPEN>=REF(CLOSE,1),7)<1 AND REF(CLOSE/OPEN,1)<REF(CLOSE/OPEN,2) AND CLOSE/MA(CLOSE,5)<1.009 AND HIGH/CLOSE>REF(HIGH/CLOSE,1) AND REF(HIGH,3)>REF(HIGH,4) AND REF(OPEN/REF(CLOSE,1)<1.04,3) AND vol<REF(VOL,1) AND (REF(CLOSE>=OPEN,1) OR REF(CLOSE<OPEN,1)) AND OPEN>MA(CLOSE,5) AND HIGH/OPEN>1.001 AND CLOSE>LOW,1);
X_14:=OPEN>MA(CLOSE,60) AND REF(CLOSE>OPEN AND REF(CLOSE,4)>REF(CLOSE,5) AND REF(CLOSE/OPEN,1)>REF(CLOSE/OPEN,2) AND REF(CLOSE/OPEN,2)>REF(CLOSE/OPEN,3) AND REF(MA(CLOSE,5)>MA(CLOSE,20),2),1);
X_15:=CLOSE>X_6 AND CLOSE>X_8 AND CLOSE>X_10 AND CLOSE>X_12;
X_16:=COUNT(CROSS(CLOSE,X_6),4)>=1 OR CROSS(CLOSE,X_8);
X_17:=CROSS(CLOSE,X_10) AND CROSS(CLOSE,X_12);
X_18:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
X_19:=COUNT(X_18<35,100)>=2;
X_20:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_21:=CLOSE/REF(HHV(HIGH,13)>0.97,1) AND HIGH/CLOSE<1.03 AND ATAN((MA(CLOSE,60)/REF(MA(CLOSE,60),1)-1)*100)*180/3.1416>=0;
X_22:=OPEN/MA(CLOSE,5)<0.9998 AND (REF(CLOSE>OPEN,2) AND REF(HIGH,2)>REF(HIGH,3) OR (REF(CLOSE<=OPEN,2) AND CLOSE>REF(HIGH,2)));
X_23:=MA(CLOSE,5)>MA(CLOSE,10) OR OPEN/MA(CLOSE,10)>0.999 OR OPEN/MA(CLOSE,20)>0.99 OR OPEN/MA(CLOSE,30)>0.99;
X_24:=CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/OPEN>1.04;
X_25:=EMA(X_20,9);
X_26:=(X_20-X_25)*2;
X_27:=X_26>REF(X_26,1) AND X_26>(-0.085) AND REF(X_26<1.35,3);
龙头:X_27 AND X_21 AND X_23 AND X_22 AND X_24 AND (X_14 OR X_13) AND (X_15 OR X_16 OR X_17) AND X_3 AND X_4 AND X_19 AND OPEN<REF(HIGH,1) AND (REF(VOL,1)<REF(VOL,2) OR REF(VOL,1)<REF(VOL,3) OR REF(VOL,3)<REF(VOL,4)),NODRAW;
DRAWTEXT_FIX(CLOSE>OPEN,0,0.2,0,8),COLOR333333;
STICKLINE(龙头,0,1,1,0),COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-24 02:08

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