好股查询: 行情资金 DDX查询 超赢 千股千评 消息提示 股票公告 概念题材 机构评级 大小非 十大股东 股本结构 股票高管 股吧 涨停 停牌 基本概况
您的位置:好查股网 > 好查股公式 > 公式正文
股票公式搜索:

通达信快慢线源码[好查股公式]

2022/5/29 8:38:09

附图快慢线指标一并奉献!

STICKLINE(1,100,100,20,0),COLORGREEN;

STICKLINE(1,90,90,1,0),COLORGREEN;

STICKLINE(1,10,10,1,0),COLORYELLOW;

STICKLINE(1,0,0,20,0),COLORYELLOW;

VAR6:=(2*CLOSE+HIGH+LOW)/4;

VAR7:=LLV(LOW,13);

VAR8:=HHV(HIGH,13);

VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);

VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);

RSV:= (CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;

FASTK:=SMA(RSV,5,1);

K:=SMA(FASTK,5,1);

D:=SMA(K,3,1);

AA1:=K-REF(K,1);

STICKLINE(VAR9>VARA,VARA,VARA+(1/5)*(VAR9-VARA),4,0),COLOR00FFFF;

STICKLINE(VAR9>VARA,VARA+(1/5)*(VAR9-VARA),VARA+(2/5)*(VAR9-VARA),4,0),COLOR00CCFF;

STICKLINE(VAR9>VARA,VARA+(2/5)*(VAR9-VARA),VARA+(3/5)*(VAR9-VARA),4,0),COLOR0099FF;

STICKLINE(VAR9>VARA,VARA+(3/5)*(VAR9-VARA),VARA+(4/5)*(VAR9-VARA),4,0),COLOR0066FF;

STICKLINE(VAR9>VARA,VARA+(4/5)*(VAR9-VARA),VARA+(5/5)*(VAR9-VARA),4,0),COLOR0033FF;

STICKLINE(VAR9<=VARA,VARA,VARA-(1/5)*(VAR9-VARA),4,0),COLOR00FF33;

STICKLINE(VAR9<=VARA,VARA-(1/5)*(VAR9-VARA),VARA-(2/5)*(VAR9-VARA),4,0),COLOR33FF33;

STICKLINE(VAR9<=VARA,VARA-(2/5)*(VAR9-VARA),VARA-(3/5)*(VAR9-VARA),4,0),COLOR66FF33;

STICKLINE(VAR9<=VARA,VARA-(3/5)*(VAR9-VARA),VARA-(4/5)*(VAR9-VARA),4,0),COLOR99FF33;

STICKLINE(VAR9<=VARA,VARA-(4/5)*(VAR9-VARA),VARA-(5/5)*(VAR9-VARA),4,0),COLORCCFF33;

STICKLINE(AA1>0,REF(K,1),REF(K,1)+(1/5)*(K-REF(K,1)),6,0),COLOR0000FF;

STICKLINE(AA1>0,REF(K,1)+(1/5)*(K-REF(K,1)),REF(K,1)+(2/5)*(K-REF(K,1)),6,0),COLOR3300FF;

STICKLINE(AA1>0,REF(K,1)+(2/5)*(K-REF(K,1)),REF(K,1)+(3/5)*(K-REF(K,1)),6,0),COLOR6600FF;

STICKLINE(AA1>0,REF(K,1)+(3/5)*(K-REF(K,1)),REF(K,1)+(4/5)*(K-REF(K,1)),6,0),COLOR9900FF;

STICKLINE(AA1>0,REF(K,1)+(4/5)*(K-REF(K,1)),REF(K,1)+(5/5)*(K-REF(K,1)),6,0),COLORCC00FF;

STICKLINE(AA1<=0,REF(K,1),K,6,0),COLORFFFF00;

快速涨:IFF(VAR9>VARA,(VAR9+VARA)/2,DRAWNULL),NODRAW,COLOR00FFFF;

快速跌:IFF(VAR9<=VARA,(VAR9+VARA)/2,DRAWNULL),NODRAW,COLOR00FF33;

慢速涨:IFF(AA1>0,K,DRAWNULL),NODRAW,COLORCC00FF;

慢速跌:IFF(AA1<=0,K,DRAWNULL),NODRAW,COLORFFFF00;

好查股公式指标
好查股网查股:资金行情查询 实时DDX查询 大智慧超赢数据 千股千评 最新提示 股票公告 题材概念 个股评级查询 股东查询 股票高管查询 基本概况查询
手机版 | 电脑端
在线客服
本站股票数据全部免费,内容仅供参考,不构成投资建议,据此操作,风险自担。
本站不为所提供数据的错误或因依此信息所采取的任何行为负责。站内广告不代表好查股网的观点! 豫ICP备2021024630号-1