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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 顶部集合(源码、副图、贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:17:30
顶部集合(源码、副图、贴图)介绍

顶部集合(源码、副图、贴图)

VAR1:=((C-MA(C,6))/MA(C,6)*100+(C-MA(C,24))/MA(C,24)*100+(C-MA(C,32))/MA(C,32)*100)/3;
VAR2:=HHV(VAR1>20,10);
大顶:STICKLINE(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),35,0,1,0),COLOR00FF00;
危险: STICKLINE(VAR2 AND CROSS((REF(H,1)+REF(LOW,1))/2,MA(C,20)+2*STD(C,20)),50,0,1,0);
短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),100,70,1,0),COLORRED;
大底:STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),100,50,1,0),COLORYELLOW;
DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),35,'←大顶'),COLORFFFF00;
DRAWTEXT(VAR2 AND CROSS((REF(H,1)+REF(L,1))/2,MA(C,20)+2*STD(C,20)),50,'←危险'),COLOR00FFFF;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),75,'←短底'),COLOR0000FF;
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),55,'←大底');

VAR3:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
卖出线:SMA(SMA(VAR3,3,1),3,1),COLORFF6633 ;
买入线:3*SMA(VAR3,3,1)-2*卖出线 ,COLORRED ;
滑脚:STICKLINE(CROSS(90,买入线),20,0,1,0),COLORFF00FF;
STICKLINE(SMA(VAR3,3,1)>卖出线,买入线,卖出线,1,0),COLORYELLOW;
DRAWTEXT(CROSS(90,买入线),20,'←滑脚'),COLORFF00FF;
0,COLORFF00FF, POINTDOT;
100,COLORFF00FF, POINTDOT;
 


 




 



gd15734

回复

举报

QQ|

GMT+8, 2024-11-17 02:43

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