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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺跟着主力走副图指标 源码


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

同花顺跟着主力走副图指标 源码

该指标比较简单明了的在图示中标明买卖点,为投资者投资交易提供参考依据。

DRAWGBK(DATE>900101,STRIP(RGB(100,0,0),RGB(30,30,0),1));
VAR1:=HHV(HIGH,9)-CLOSE/HHV(HIGH,9)-LLV(LOW,9)*100-70;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=SMA(CLOSE-LLV(LOW,9)/HHV(HIGH,9)-LLV(LOW,9)*100,3,1);
差值指标看图操作:(EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13)-EMA(0.667*REF(EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13),1)+0.333*EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13),2))*25,POINTDOT,COLOR33CC00;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作 ,4 ,0 ),coloryellow;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.8 ,4 ,0),COLORFFAA66;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.6 ,4 ,0),COLORFFBB99;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.4 ,4 ,0),COLORFFCCCC;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.2 ,4 ,0),COLORFFDDDD;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*1 ,4 , 0),colorgreen;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.8 ,4 ,0),COLOR33CC00;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.6 ,4 ,0),COLOR339900;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.4 ,4 ,0),COLOR337700;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.2 ,4 ,0),COLOR005500;
炒股线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), colormagenta,linethick2;
底背离: IF((EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36))*4,4)*25<10),110,150),coloryellow;
顶背离: IF((EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36))*4,4)*25>90),40,0), colorred;
DRAWTEXT(CROSS((3 * (SMA((((CLOSE - (LLV(LOW,27))) / ((HHV(HIGH,27)) - (LLV(LOW,27)))) * 100),5,1))) - (2 * (SMA((SMA((((CLOSE -
(LLV(LOW,27))) / ((HHV(HIGH,27)) - (LLV(LOW,27)))) * 100),5,1)),3,1))),(10)),L,'←底'),COLOR0000FF;
VARD:=(ZIG(3,8)<=REF(ZIG(3,8),1)) AND (REF(ZIG(3,8),1)>=REF(ZIG(3,8),2)) AND (REF(ZIG
(3,8),2)>=REF(ZIG(3,8),3))AND (REF(ZIG(3,8),3)>=REF(ZIG(3,8),4));
STICKLINE((VARD=1),(EMA(((2*C+H+L)/4-LLV(L,21))/(HHV(H,21)-LLV(L,34))*100,5)-2),0,4,0),Color00FF00;
DRAWTEXT((VARD=1),(EMA(((2*C+H+L)/4-LLV(L,21))/(HHV(H,21)-LLV(L,34))*100,5)+5),'逃顶'),Color00FF00;
选股买点: IF(TROUGHBARS(3,16,1)=1 AND HIGH>LOW+0.04,50,0), coloryellow;
DRAWTEXT(CROSS( 选股买点,1),50,'选股买点'), coloryellow;






gd46802

回复

举报

QQ|

GMT+8, 2024-11-18 08:22

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