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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺老介波段副图指标 源码


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

同花顺老介波段副图指标 源码

关注下部发出的信号指示
红线突然抬头或者出现柱状的白线可重点关注。

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=1000* (2*(DIFF-DEA))/EMA(C,30);
VARA:=EMA(REF(CLOSE,1),4);
介必升:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
长盯:=介必升<3.5,COLORDBDBDB;
短介:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 介必升<20,5), colorbrown;
慢建仓:=CROSS(介必升,90),COLOR00FF00;
介必升炒股网:=CROSS(介必升,90),COLORDBDBDB;
STICKLINE(介必升,0,120,10,0),COLOR8BA400;
STICKLINE(介必升,0,90,10,0),COLOR8BA433;
STICKLINE(介必升,0,75,10,0),COLOR8BA466;
STICKLINE(介必升,0,60,10,0),COLOR8BA488;
STICKLINE(介必升,0,50,10,0),COLOR8BA4AA;
STICKLINE(介必升,0,40,10,0),COLOR8BA4BB;
STICKLINE(介必升,0,35,10,0),COLOR8BA4CC;
STICKLINE(介必升,0,25,10,0),COLOR8BA4EE;
STICKLINE(介必升,0,15,10,0),COLOR8BA5FF;
STICKLINE(介必升,0,-50,10,0),COLOR8BA433;
STICKLINE(介必升,0,-30,10,0),COLOR8BA444;
STICKLINE(介必升,0,-10,10,0),COLOR8BA455;
STICKLINE(介必升,0,-5,10,0),COLOR8BA466;
STICKLINE(介必升>0,0,介必升,10,0),COLOR66FF00;
STICKLINE(介必升>0,0,介必升*0.9,10,0),COLOR66EE00;
STICKLINE(介必升>0,0,介必升*0.8,10,0),COLOR66CC00;
STICKLINE(介必升>0,0,介必升*0.7,10,0),COLOR66AA00;
STICKLINE(介必升>0,0,介必升*0.6,10,0),COLOR668800;
STICKLINE(介必升>0,0,介必升*0.5,10,0),COLOR666600;
STICKLINE(介必升>0,0,介必升*0.4,10,0),COLOR664400;
STICKLINE(介必升>0,0,介必升*0.3,10,0),COLOR662200;
STICKLINE(介必升,0,-介必升*0.2,10,0),COLOR324D00;
RSV:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
FASTK:=SMA(RSV,3,1);
高抛:=SMA(FASTK,2,1);
低吸:=SMA(高抛,5,1);
直到涨:=LLV(LOW,10);
堆量:=HHV(H,25);
连阳:=EMA((C-直到涨)/(堆量-直到涨)*4,4);
莫观望:STICKLINE(CROSS(连阳,0.3),-50,-30,3,0), COLOR00AAFF,LINETHICK1;
STICKLINE(CROSS(连阳,0.3),-40,-30,3,0),colorred,LINETHICK1;
冷跌:STICKLINE(CROSS(3.5,连阳),100,120,2,0), colorred,LINETHICK2;
STICKLINE(CROSS(3.5,连阳),110,120,2,0),coloryellow,LINETHICK2;
盘整:=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),LINETHICK0;
手勿痒:IF(盘整<=10,-30,-50),COLOR0000FF,LINETHICK2;
DD:=IF(MACD>=0,MACD,DRAWNULL);
LL:=IF(MACD<0,-MACD,DRAWNULL);
STICKLINE(DD,0,DD,3.8,0),COLOREAEAEA;
STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.7,DD*0.7,2.5,1),COLOREAEAEA;
STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.5,DD*0.5,2.5,1),COLOREAEAEA;
STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.3,DD*0.3,2.5,1),COLOREAEAEA;
STICKLINE(DD AND DD<REF(DD,1),DD*0.1,DD*0.9,2.8,1),COLOR57E000;
STICKLINE(DD AND DD>=15 AND DD<REF(DD,1),DD*0.7,DD*0.7,2.5,1),COLOR666666;
STICKLINE(DD AND DD>=15 AND DD<REF(DD,1),DD*0.5,DD*0.5,2.5,1),COLOR666666;
STICKLINE(DD AND DD>=15 AND DD<REF(DD,1),DD*0.3,DD*0.3,2.5,1),COLOR666666;
STICKLINE(LL AND LL<REF(LL,1),0,LL,0,0),COLOREAEAEA;
STICKLINE(高抛>=低吸,低吸,高抛,3,0),COLOR000085;
STICKLINE(高抛<低吸,低吸,高抛,3,0),COLOR324800;
DRAWTEXT(长盯,-10,'ャ'),COLORDBDBDB;
DRAWTEXT(长盯,-10,'︼'),COLOR688EC1;
DRAWTEXT(CROSS( 0,MACD)AND 介必升>75,110,'☆'),COLORFFFFFF;
DRAWTEXT(慢建仓,70,'ヲ'),COLORDBDBDB;
DRAWTEXT(短介,-10,'Ψ'), ccolorbrown






gd46673

回复

举报

QQ|

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

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