找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 612|回复: 5

八指标共振

[复制链接]
发表于 2023-10-25 08:47 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
DIF60:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
DEA60:=EMA(DIF60,9/2);
STICKLINE(DIF60>=DEA60,42,46,2,0),COLORFF5500;
STICKLINE(DIF60<DEA60,42,46,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,44,'60分钟macd'),COLORWHITE;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
STICKLINE(DIF>=DEA,36,40,2,0),COLOR0000BB;
STICKLINE(DIF<DEA,36,40,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,38,'MacD日线'),COLOR00FFFF;
周MD:=MACD.DIF#WEEK;
周MA:=MACD.DEA#WEEK;
STICKLINE(周MD>=周MA,30,34,2,0),COLORBB00BB;
STICKLINE(周MD<周MA,30,34,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,32,'MACD周线'),COLOR00FFFF;
月MD:=MACD.DIF#MONTH;
月MA:=MACD.DEA#MONTH;
STICKLINE(月MD>=月MA,24,28,2,0),COLOR009F00;
STICKLINE(月MD<月MA,24,28,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,26,'月MACD'),COLORWHITE;
RSV60:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36));
K60:=SMA(RSV60,3,1);
D60:=SMA(K60,3,1);
STICKLINE(K60>= D60,18,22,2,0),COLOR00FFFF;
STICKLINE(K60 < D60,18,22,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,20,'60分钟kdj '),COLORFF00FF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(K>=D,12,16,2,0),COLOR9F9F6F;
STICKLINE(K<D,12,16,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,14,'kdJ日线'),COLORFFFFFF;
周K:="KDJ.K#WEEK" ;
周D:="KDJ.D#WEEK" ;
STICKLINE(周K>=周D,6,10,2,0),COLOR4D4DFF;
STICKLINE(周K<周D,6,10,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,8,'KDJ周线'),COLORWHITE;
月K:="KDJ.K#MONTH" ;
月D:="KDJ.D#MONTH" ;
STICKLINE(月K>=月D,0,4,2,0),COLORFF00FF;
STICKLINE(月K<月D,0,4,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,2,'KDJ月线'),COLORWHITE;
XG1:=DIF60>=DEA60;
XG2:=DIF>=DEA;
XG3:=周MD>=周MA;
XG4:=月MD>=月MA;
XG5:=K60>= D60;
XG6:=K>=D;
XG7:=周K>=周D;
XG8:=月K>=月D;
XG9:=XG1 AND XG2 AND XG3 AND XG4 AND XG5 AND XG6 AND XG7 AND XG8;
XGE:=XG1 + XG2 + XG3 + XG4 + XG5 + XG6 + XG7 + XG8;
STICKLINE(1,48,52,3,1),COLORGRAY;
STICKLINE(XGE>7,48,52,3,0),COLORRED;
DRAWNUMBER(1,52,XGE),COLORGRAY;
DRAWNUMBER(XGE=8,52,XGE),COLORWHITE;
XG:REF(XG9,1)<>1 AND XG9=1,NODRAW;
STICKLINE(XG,0,46,0,0),COLORRED;

发表于 2023-10-25 09:25 | 显示全部楼层
谢谢分享,好好学习
回复

使用道具 举报

发表于 2023-10-25 09:37 | 显示全部楼层
上个效果图才更佳
回复

使用道具 举报

发表于 2023-10-25 15:40 | 显示全部楼层
谢谢楼主分享!!!!!!!!
回复

使用道具 举报

发表于 2023-11-26 11:40 | 显示全部楼层
新鲜出炉,谢谢楼主分享!
回复

使用道具 举报

发表于 2024-2-29 14:48 | 显示全部楼层
感谢您的分享,好好学习,天天上涨!2024/2/29
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-10 05:58 , Processed in 0.090820 second(s), Total 12, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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