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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺逃顶抄底副图源码


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

同花顺逃顶抄底副图源码

自己用的指标,供大家参考。

AA:=LLV(LOW,30);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
值:DD,colorred,LINETHICK2;
风险:80,COLORFF00FF;
顶部:87.5,COLOR00FF00;
跟踪:10,COLOR0000FF;
强弱分界:35,colorwhite;
VAR1:=(2*CLOSE-HIGH)/4;
算术平均:=MA(VAR1,20);
股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
抄底:IF(CROSS(值,5)AND C>REF(C,1),8,0),coloryellow;
DRAWTEXT(CROSS(值,5)AND C>REF(C,1),73,'抄底'), colorgreen;
买入:IF(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),12,0),colorgreen;
DRAWTEXT(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),53,'买涨'), coloryellow;
底追:IF(CROSS(值,10) ,12,0),coloryellow;
DRAWTEXT(CROSS(值,10),33,'建仓'), colorwhite;
小心追马:IF(FILTER(CROSS(值,40) AND C>算术平均,5) ,35,10),coloryellow;
DRAWTEXT(FILTER(CROSS(值,40) AND C>算术平均,5),43,'小心追马'), colorred;
减仓:IF(CROSS(值,83),75,87.5),coloryellow;
DRAWTEXT(CROSS(值,83),72,'止盈'),coloryellow;
顶:IF(CROSS(值,90),67,87.5),colorwhite;
DRAWTEXT(CROSS(值,90),65,'小顶'),colorwhite;
逃顶1:IF(CROSS(值,93),60,87.5),colorred;
DRAWTEXT(CROSS(值,93),60,'逃顶'),colorwhite;
逃顶2:IF(CROSS(值,96),60,87.5),colorred;
DRAWTEXT(CROSS(值,96),60,'逃顶'),colorwhite;






gd47127

回复

举报

QQ|

GMT+8, 2024-11-18 12:16

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