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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信共振潜伏指标公式源码


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

M1:=3;
M2:=3;
牛股F:=(2*CLOSE+HIGH+LOW)/4;
共振潜伏4:=LLV(LOW,34);
共振潜伏5:=HHV(HIGH,34);
共振潜伏6:=EMA((牛股F-共振潜伏4)/(共振潜伏5-共振潜伏4)*100,6);
共振潜伏7:=EMA(0.667*REF(共振潜伏6,1)+0.333*共振潜伏6,4);
底现:=STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(共振潜伏6>共振潜伏7,3) AND
REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),1.5,0,6,0),COLORBLUE;
STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(共振潜伏6>共振潜伏7,3) AND
REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),-100,-35,2,0),COLORBLUE;
DRAWTEXT(底现,-54,' --定海神针'),COLORCYAN;
牛股1S:=DMA(AMOUNT/vol/100,VOL/CAPITAL);
牛股4AS:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);
游资进场S:=(FILTER(牛股4AS>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;
A10S:=10;
LSS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升S:=FILTER(LSS,58);
STICKLINE(拉升S,-100,-35,2,0),COLORYELLOW;
DRAWTEXT(拉升S,-47,' --梅开二度'),COLORCYAN;
DRAWICON(拉升S,-38.2,9);
牛股1:=(CLOSE*2+HIGH+LOW)/1;
牛股2:=EMA(牛股1,3)-EMA(牛股1,10);
牛股3:=EMA(牛股2,3);
起飞抓牛:=2*(牛股2-牛股3)*3.8;
STICKLINE(起飞抓牛>0,0,起飞抓牛*10,3.2,1),COLORRED;
STICKLINE(起飞抓牛<0,0,起飞抓牛*10,3.2,1),COLORGREEN;
RSVF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;
KF:=SMA(RSVF,3,1);
DF:=SMA(KF,3,1);
JF:=3*KF-2*DF,LINETHICK0;
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;
威廉wr:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;
TYP := (HIGH + LOW + CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
五指AF:=WMA((能量线+rsi+JF-威廉WR+CCI)/3,3),COLORBROWN;
流通盘:=CAPITAL/1000000,COLOR7F00FF,LINETHICK0;
ZLCM:=EMA(WINNER(CLOSE)*90,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
大户线F:=INTPART(ZSHTL),COLORBLACK,LINETHICK2;
OUT666:=crOSS(五指AF,大户线F);
STICKLINE(OUT666,-100,-35,2,0),COLORWHITE;
DRAWTEXT(OUT666,-50,'--游资接力'),COLORRED;
牛股3AP:=IF((CLOSE>REF(CLOSE,1)),88,0);
牛股4AP:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (牛股3AP>0),91,0);
异动:=(FILTER((牛股4AP>90),45)),COLORYELLOW;
STICKLINE(异动,-100,-35,2,0),COLORGREEN;
DRAWTEXT(异动>0,-51,'--机游共振'),COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-16 12:19

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