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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

主图:双线趋势


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2020-1-2 19:57:21
主图:双线趋势
短线:=EMA(CLOSE,5);
趋势线:EMA(CLOSE,10),LINETHICK2,COLORRED;
重心线:EMA(CLOSE,30),LINETHICK2,COLORYELLOW;
强:IF(短线 > 趋势线,趋势线,DRAWNULL),LINETHICK2,COLORRED;
弱:IF(趋势线 > 短线 ,趋势线,DRAWNULL),LINETHICK2,COLORFFFF00;
抄底:IF(CLOSE / OPEN>1.07 AND 100*(CLOSE-MA(CLOSE,30)) / MA(CLOSE,30)<-10,C,DRAWNULL),COLORRED,NODRAW;
买涨:IF(FILTER(BARSLAST(COUNT(重心线>=REF(重心线,1),3)=3 AND CROSS(趋势线,重心线))<=5 AND L<=趋势线,5),C,DRAWNULL),COLORMAGENTA,NODRAW;
追进:IF(COUNT(重心线>=REF(重心线,1),3)=3 AND COUNT(趋势线>重心线,10)>8 AND REF(趋势线,1)<REF(重心线,1)*1.02 AND 趋势线>=重心线*1.02,C,DRAWNULL),COLORBLUE,NODRAW;
VAR1:=(MA(CLOSE,20) + (2 * STD(CLOSE,20)));
VAR2:=CROSS(REF(CLOSE,2),VAR1);
VAR3:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),8,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),8,1)) * 100);
VAR4:=CROSS(79,VAR3);
减仓:IF(FILTER((VAR2 OR VAR4),5),C,DRAWNULL),COLORGREEN,NODRAW;
STICKLINE(抄底,L*0.992,L*0.98,6,0)COLORRED;
STICKLINE(买涨,L*0.992,L*0.98,6,0)COLORMAGENTA;
STICKLINE(追进,L*0.992,L*0.98,6,0)COLORBLUE;
STICKLINE(减仓,H*1.006,H*1.015,4,0)COLORGREEN;



20080406_83323730f2e4974af8f6Q2s3ScIxlMY7.png

回复

举报

QQ|

GMT+8, 2024-11-18 06:45

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