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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信决策先机主图指标公式源码


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

NOTEXT1:FORCAST(EMA((3*C+2*O+H+L)/7,3),8),LINETHICK2,COLORRED; VAR1:=NOTEXT1>=REF(NOTEXT1,1); VAR2:=NOTEXT1<REF(NOTEXT1,1); NOTEXT2:IF(NOTEXT1<REF(NOTEXT1,1),NOTEXT1,DRAWNULL),LINETHICK2,COLORGREEN; VAR3:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100; VAR4:=SMA(VAR3,4,1); VAR5:=SMA(VAR4,3,1); VAR6:=C>=OPEN ANDcrOSS(VAR4,VAR5) AND VAR5<=50; VAR7:=REF(C,1); VAR8:=EMA(C,12)-EMA(C,26); VAR9:=EMA(VAR8,3); VAR10:=(C-REF(C,1))/REF(C,1)*100; VAR18:=SMA(MAX(C-VAR7,0),9,1)/SMA(Abs(C-VAR7),9,1)*100; VAR19:=(VAR8>VAR9 OR VAR8=VAR9) AND VAR10>9 AND VAR10<11 AND 40<VAR18 AND VAR18<60 AND C=H; STICKLINE(VAR1,NOTEXT1,NOTEXT1*1.01,0,0),COLORRED; STICKLINE(VAR1,NOTEXT1,NOTEXT1*1.01,2.5,0),COLOR000099; STICKLINE(VAR1,NOTEXT1,NOTEXT1*1.01,2,0),COLOR0000BB; STICKLINE(VAR1,NOTEXT1,NOTEXT1*1.01,1,0),COLOR0000DD; STICKLINE(VAR1,NOTEXT1,NOTEXT1*1.01,0.3,0),COLORRED; STICKLINE(VAR2,NOTEXT1*0.995,NOTEXT1,0,0),COLORGREEN; STICKLINE(VAR2,NOTEXT1*0.995,NOTEXT1,2.5,0),COLOR009900; STICKLINE(VAR2,NOTEXT1*0.995,NOTEXT1,2,0),COLOR00BB00; STICKLINE(VAR2,NOTEXT1*0.995,NOTEXT1,1,0),COLOR00DD00; STICKLINE(VAR2,NOTEXT1*0.995,NOTEXT1,0.3,0),COLORGREEN; STICKLINE(VAR1 AND VAR6,NOTEXT1,NOTEXT1*0.98,2.5,0),COLOR004040; STICKLINE(VAR1 AND VAR6,NOTEXT1,NOTEXT1*0.98,2.3,0),COLOR006464; STICKLINE(VAR1 AND VAR6,NOTEXT1,NOTEXT1*0.98,2,0),COLOR00A8A8; STICKLINE(VAR1 AND VAR6,NOTEXT1,NOTEXT1*0.98,1.5,0),COLOR00DBDB; STICKLINE(VAR1 AND VAR6,NOTEXT1,NOTEXT1*0.98,1,0),COLOR15FFFF; STICKLINE(VAR1 AND VAR6,NOTEXT1,NOTEXT1*0.98,0.8,0),COLOR4DFFFF; STICKLINE(VAR2 AND VAR6,NOTEXT1,NOTEXT1*0.98,2.5,0),COLOR004040; STICKLINE(VAR2 AND VAR6,NOTEXT1,NOTEXT1*0.98,2.3,0),COLOR006464; STICKLINE(VAR2 AND VAR6,NOTEXT1,NOTEXT1*0.98,2,0),COLOR00A8A8; STICKLINE(VAR2 AND VAR6,NOTEXT1,NOTEXT1*0.98,1.5,0),COLOR00DBDB; STICKLINE(VAR2 AND VAR6,NOTEXT1,NOTEXT1*0.98,1,0),COLOR15FFFF; STICKLINE(VAR2 AND VAR6,NOTEXT1,NOTEXT1*0.98,0.8,0),COLOR4DFFFF; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,2,0),COLORCYAN; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,1.5,0),COLOR990000; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,1.8,0),COLORCC0000; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,0.3,0),COLORFF4400; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,2.5,0),COLORFF8800; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,1.5,0),COLORFFCC00; STICKLINE(VAR19,NOTEXT1*0.98,NOTEXT1,0.8,0),COLORCYAN;








回复

举报

QQ|

GMT+8, 2024-11-28 01:32

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