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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信金钻龙头主图指标公式源码


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

XA1:=IF(DATE< 2442.46*500,1,1);
牛熊线:DMA(MA(C+REF(C,5)*XA1/C*0.098,90),vol),DOTLINE,COLORYELLOW;
五日线:MA(C,5) DOTLINE COLORGREEN;VAR1:=C;
趋势突破1:FORCAST(EMA( VAR1,9),7),COLORGREEN;
趋势突破2:FORCAST(EMA( VAR1,17),7),DOTLINE,COLORMAGENTA;
趋势突破3:FORCAST(EMA( VAR1,25),7),COLORGREEN,LINETHICK2;
趋势突破4:IF(趋势突破1>=趋势突破2,趋势突破1,DRAWNULL),COLORRED;
趋势突破5:IF(趋势突破1< 趋势突破2,趋势突破2,DRAWNULL),DOTLINE,COLORGREEN;
趋势突破6:IF(趋势突破2>=趋势突破3,趋势突破3,DRAWNULL),COLORRED,LINETHICK2;
VAR2:=EMA(C,12)-EMA(C,26);
VAR3:=EMA( VAR2,9);
STICKLINE( VAR2>= VAR3,C,OPEN,3,0),COLORRED;
STICKLINE( VAR2>= VAR3,HIGH,LOW,0.00009,0),COLORRED;
VAR4:= VAR2>= VAR3;
VAR5:=(C-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
VAR6:=SMA( VAR5,3,1);
VAR7:=SMA( VAR6,3,1);
STICKLINE(crOSS( VAR6, VAR7) AND VAR7<=55,C,OPEN,3.1,0),COLORYELLOW;
STICKLINE(CROSS( VAR6, VAR7) AND VAR7<=55,HIGH,LOW,0.00009,0),COLORYELLOW;
VAR8:=CROSS( VAR6, VAR7) AND VAR7<=55;
VAR9:=REF(C,1);
VAR10:=SMA(MAX(C- VAR9,0),9,1)/SMA(Abs(C- VAR9),9,1)*100;
STICKLINE( VAR10>=75,OPEN,C,3.1,0),COLORFF00FF;
STICKLINE( VAR10>=75,HIGH,LOW,0.00009,0),COLORFF00FF;
VAR11:= VAR10>=75;STICKLINE(NOT( VAR8) AND NOT( VAR4) AND NOT( VAR11),OPEN,C,3.1,0),COLORCYAN;
STICKLINE(NOT( VAR8) AND NOT( VAR4) AND NOT( VAR11),HIGH,LOW,0.00009,0),COLORCYAN;
cci:=EMA(((IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L< C AND C< O) OR(L< O AND O<=C),C,LOW)/3)-MA((IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L< C AND C< O) OR(L< O AND O<=C),C,LOW)/3),84.0270012))/(0.015*AVEDEV((IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L< C AND C< O) OR(L< O AND O<=C),C,LOW)/3),84.0270012)),2.0332),COLORWHITE;
龙头启动:=CCI>HHV(MA(CCI,5),21) AND CROSS(C,1.13*(EMA((expma(C*VOL,3)/EXPMA(VOL,3)+EXPMA(C*VOL,6)/EXPMA(VOL,6)+EXPMA(C*VOL,12)/EXPMA(VOL,12)+EXPMA(C*VOL,24)/EXPMA(VOL,24))/4,13))) AND REF(C,1)*1.1-C< 0.01 AND H=C;
趋势王:=龙头启动;
DRAWICON(CROSS(趋势王>0,0.4),L*1,9);





回复

举报

QQ|

GMT+8, 2024-11-15 00:43

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