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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信上涨力度强弱指标公式源码副图


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

DRAWGBK(C>0, RGB(310,108,108),RGB(88,30,0),0,'',0); {NOTEXT顶部标线:120,COLORBROWN;} {NOTEXT底部标线:-80,COLORBROWN;} {力度平衡信号} 力度平衡点:40,COLORBROWN,LINETHICK2; LDA1:=FORCAST(FORCAST(SMA(MAX(CLOSE-REF(CLOSE,1),0),9,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),9,1)*100,3),18); LDA2:=LDA1>REF(LDA1,1) AND LDA1>40; LDA3:=LDA1<=REF(LDA1,1) AND LDA1>40; LDA4:=LDA1>REF(LDA1,1) AND LDA1<=40; LDA5:=LDA1<=REF(LDA1,1) AND LDA1<=40; STICKLINE(LDA2,40,LDA1,3,0),COLORFF00FF; STICKLINE(LDA3,40,LDA1,3,0),COLORBROWN; STICKLINE(LDA4,40,LDA1,3,0),COLORRED; STICKLINE(LDA5,40,LDA1,3,0),COLORWHITE; 趋势平衡线:MA(SMA(MAX(CLOSE-REF(CLOSE,1),0),9,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),9,1)*100,26),COLORYELLOW,LINETHICK2; {力度强弱信号} 力度强弱:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) * 100); STICKLINE(力度强弱>=20,8,10,3,0),COLORFF00FF; STICKLINE(力度强弱>=0 AND 力度强弱<20 AND 力度强弱>6,8,10,3,0),COLORRED; STICKLINE(力度强弱>=0 AND 力度强弱<20 AND 力度强弱<=6,8,10,3,1),COLORDDDDDD; STICKLINE(力度强弱<=0 AND 力度强弱>-20,8,10,3,1),COLORDDDDDD; STICKLINE(力度强弱<=-20,8,10,3,0),COLORDDDDDD;








回复

举报

QQ|

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

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