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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信龙头大师指标公式源码


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

NN1:=10;
M1:=5;
M2:=5;
VAR2:=(CLOSE-LLV(LOW,NN1))/(HHV(HIGH,NN1)-LLV(LOW,NN1))*100;
VAR3:=SMA(VAR2,M1,1);
VAR4:=SMA(VAR3,M2,1);
A77:=((CLOSE - (MA(CLOSE,13))) / (MA(CLOSE,13))) * -100;
A78:=((CLOSE - (LLV(LOW,13))) / ((HHV(HIGH,13)) - (LLV(LOW,13)))) * 100;
A79:=SMA(A78 ,3,2);
A80:=SMA(A79 ,3,2);
A81:=SMA(A80 ,5,1);
抄底:=(((REF(A77,1)) >= 16) AND (((REF(A77,1)) / A77) >= 1.23)) AND (crOSS(A80,A81));
DRAWTEXT(抄底,46,' ★抄底'),COLORWHITE;
STICKLINE((抄底 > 0),0,50,3,0),LINETHICK3,COLORWHITE;
ACB1:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
ACB2:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
macd:=((EMA(CLOSE,12)-EMA(CLOSE,26))-(EMA((EMA(CLOSE,12)-EMA(CLOSE,26)),9)))*2;
TYP:=(HIGH+LOW+CLOSE)/3 ;
CC:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
NOSEL:=IF((CROSS(ACB1,20) AND CROSS(ACB2,20)),0,1);
cci买点:=CROSS(CC,250) AND CCI>REF(CCI,1) AND MACD>0 AND NOSEL AND C>EMA(C,200);
CCI卖点:=((CROSS(ACB1,20) AND CROSS(ACB2,20)) OR (CROSS(ACB1,25) AND CROSS(ACB2,25)) OR (CROSS(ACB1,10) AND CROSS(ACB2,10))) AND ( CROSS(600,CC) OR CROSS(350,CC) OR CROSS(200,CC) OR CROSS(100,CC));
突破线:=SMA(H,14,2)*1.08 ;
游资1号:FILTER((CCI买点 AND C>突破线) OR (REF(CCI买点,1) AND C>突破线),3),COLORYELLOW;
STICKLINE(游资1号,0,40,1,0),LINETHICK3,COLORYELLOW;
DRAWTEXT(游资1号,30,' ★游资1号'),COLORYELLOW;
N1:=MA(CLOSE,41)+MA(CLOSE,41)*10/100;
N2:=MA(CLOSE,23)+MA(CLOSE,23)*5/100;
N3:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
N4:=CLOSE>REF(CLOSE,1)*1.05 ;
游资2号:CROSS(N3,N2) AND N4,COLORMAGENTA;
STICKLINE(游资2号,0,60,0.5,0),LINETHICK3,COLORMAGENTA;
DRAWTEXT(游资2号,56,' ★游资2号'),COLORMAGENTA;
游资3号:CROSS(N3,N1) AND N4,COLORRED;
STICKLINE(游资3号,0,80,0.5,0),LINETHICK3,COLORRED;
DRAWTEXT(游资3号,76,' ★ 游资3号'),COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-27 19:38

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