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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 六指金叉(副图、源码、贴图)


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

六指金叉(副图、源码、贴图)

{六指金叉}
input:N1(3,1,100),N2(5,1,100),N3(9,1,100),N4(13,1,100);
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
DRAWICON(DIFF>DEA,1,12),ALIGN1;
DRAWICON(DIFF<DEA,1,13),ALIGN1;
DRAWTEXT(BARSTATUS=2,1,' MACD'),COLORFFFFFF;
A1:=DIFF>REF(DIFF,1);
RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV1,N1,1);
D:=SMA(K,N1,1);
DRAWICON(K>REF(K,1),2,12),ALIGN1;
DRAWICON(K<REF(K,1),2,13),ALIGN1;
DRAWTEXT(BARSTATUS=2,2,' KDJ'),COLORFFFFFF;

A2:=K>REF(K,1);
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
DRAWICON(RSI1>RSI2,3,12),ALIGN1;
DRAWICON(RSI1<RSI2,3,13),ALIGN1;
DRAWTEXT(BARSTATUS=2,3,' RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
DRAWICON(LWR1>REF(LWR1,1),4,12),ALIGN1;
DRAWICON(LWR1<REF(LWR1,1),4,13),ALIGN1;
DRAWTEXT(BARSTATUS=2,4,' LWR'),COLORFFFFFF;
A4:=LWR1>REF(LWR1,1);
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
DRAWICON(CLOSE>BBI,5,12),ALIGN1;
DRAWICON(CLOSE<BBI,5,13),ALIGN1;
DRAWTEXT(BARSTATUS=2,5,' BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
DRAWICON(MMS>MMM,6,12),ALIGN1;
DRAWICON(MMS<MMM,6,13),ALIGN1;
DRAWTEXT(BARSTATUS=2,6,' ZLMM'),COLORFFFFFF;

MACD金叉:DIFF>DEA,COLOR0000FF;
;
KDJ金叉:K>D,COLORFF00FF;
;
RSI金叉:RSI1>RSI2,COLORFFFFFF;
;
LWR金叉:LWR1>LWR2,COLOR0000FF;
;
BBI金叉:CLOSE>BBI,COLOR00FFFF;
;
MMS金叉:MMS>MMM,COLOR00FF00;
;
MACD金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉,COLORRED,LINETHICK2;
六指全红:LAST(MACD金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉),COLORRED,LINETHICK0;
 


 




 



gd13266

回复

举报

QQ|

GMT+8, 2024-11-18 09:41

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