老钱庄股票论坛

 找回密码
 5秒快速注册
   扫一扫关注老钱庄微信号 关闭
扫一扫关注老钱庄财经微信号 关闭
查看: 881|回复: 2

[通达信] 请求老师把粉红色..黄色小星星弄出来

[复制链接]
发表于 2017-8-11 21:18 | 显示全部楼层 |阅读模式
一天线:=MA(CLOSE,1);
两天线:=MA(CLOSE,2);
JC:=CROSS(两天线,一天线);
SC:=CROSS(一天线,两天线);
AA:=LLV(L,34);
XD:=SMA(ABS(L-REF(L,1)),34,1);
CD:=SMA(MAX(L-REF(L,1),0),34,2);
收盘买:=-(EMA(IF(L<=AA,XD/CD,-3),9));
★明天卖:收盘买<0 AND 收盘买>REF(收盘买,1) AND REF(EVERY(收盘买<REF(收盘买,1),3),1),COLORFF00FF,STICK,LINETHICK1;
DRAWTEXT(★明天卖>0,1.76,'★明天卖'),COLORFFFFFF;
STICKLINE(★明天卖,0,2,0,0),COLORFF00FF;

VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
卖:CROSS(88,RSI),STICK,LINETHICK1,COLORFFFF00;
DRAWTEXT(卖>0,1.36,'★卖'),COLORFFFF00;
STICKLINE(卖,0,2,0,0),COLORBBBB00;
  
买:CROSS(VAR1,VAR2),COLOR00FFFF,STICK,LINETHICK1;
DRAWTEXT(买>0,1.36,'★买'),COLOR00FFFF;
STICKLINE(买,0,2,0,0),COLOR0000FF;

量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
放量:FILTER(IF(FROMOPEN<220,量,VOL)>2*((REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4))/4) AND C>O,5),STICK,LINETHICK1,COLORFFFFFF;
DRAWTEXT(放量>0,0.8,'★放量'),COLOR00FFFF;

EMA3:=EMA(C,3);
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
HR2:=EMA3>=REF(EMA3,3) AND EMA13>=REF(EMA13,1) AND EMA21>=REF(EMA21,1) AND CROSS(C,EMA3) AND CROSS(C,EMA13) AND CROSS(C,EMA21);
止跌买:HR2 AND FILTER(HR2,10),COLOR4080FF,STICK,LINETHICK1;
DRAWTEXT(止跌买>0,0.2,'★止跌买'),COLORFFFFFF;
加:CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,COLORFFFFFF,STICK,LINETHICK1;
DRAWTEXT(加>0,0.5,'★加'),COLORFFFFFF;
A0:=(L+H+C*2)/4;
A1:=EMA(A0,123);
A1X:=(A1-REF(A1,1))/REF(A1,1)*100;

清:IF(A1X<0 AND REF(A1X,1)>=0 ,1,0),COLORFFFF15,STICK,LINETHICK1;
DRAWTEXT(清>0,0.5,'★减'),COLORFFFF15;

MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
短线:IF(FILTER(YXF=1,5),20,-10)=20,STICK,LINETHICK1;
DRAWTEXT(短线>0,0.1,'★短线'),COLOR00FFFF;
SJ:=WMA(((2*C+H+L)/4-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
交易卖:CROSS(88,RSI),STICK,LINETHICK1,COLORFFFF00;
DRAWTEXT(交易卖>0,1.76,'交易卖'),COLORFFFF00;
STICKLINE(交易卖,0,2,0,0),COLORBBBB00;
★交易买:CROSS(VAR1,VAR2),COLOR00FFFF,STICK,LINETHICK1;
DRAWTEXT(★交易买>0,1.76,'★交易买'),COLOR00FFFF;
STICKLINE(★交易买,0,2,0,0),COLOR0000FF;
N1:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
短线持股:C>=MA(C,N1),COLOR0000FF,LINETHICK1;[img]
发表于 2017-9-7 18:57 | 显示全部楼层
一天线:=MA(CLOSE,1);
两天线:=MA(CLOSE,2);
JC:=CROSS(两天线,一天线);
SC:=CROSS(一天线,两天线);
AA:=LLV(L,34);
XD:=SMA(ABS(L-REF(L,1)),34,1);
CD:=SMA(MAX(L-REF(L,1),0),34,2);
收盘买:=-(EMA(IF(L<=AA,XD/CD,-3),9));
★明天卖:=收盘买<0 AND 收盘买>REF(收盘买,1) AND REF(EVERY(收盘买<REF(收盘买,1),3),1),COLORFF00FF,STICK,LINETHICK4;
DRAWTEXT(★明天卖>0,H*1.02,'★明天卖'),COLORFFFFFF;
STICKLINE(★明天卖,O,C,3,0),COLORBLUE;

VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
卖:=CROSS(88,RSI),STICK,LINETHICK1,COLORFFFF00;
DRAWTEXT(卖>0,H*1.02,'★卖'),COLORFFFF00;
STICKLINE(卖,O,C,3,0),COLORBLUE;
  
买:=CROSS(VAR1,VAR2),COLOR00FFFF,STICK,LINETHICK1;
DRAWTEXT(买>0,L*0.98,'★买'),COLOR00FFFF;
STICKLINE(买,O,C,0,0),COLORYELLOW;

量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
放量:=FILTER(IF(FROMOPEN<220,量,VOL)>2*((REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4))/4) AND C>O,5),STICK,LINETHICK1,COLORFFFFFF;
DRAWTEXT(放量>0,L*0.98,'★放量'),COLOR00FFFF;

EMA3:=EMA(C,3);
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
HR2:=EMA3>=REF(EMA3,3) AND EMA13>=REF(EMA13,1) AND EMA21>=REF(EMA21,1) AND CROSS(C,EMA3) AND CROSS(C,EMA13) AND CROSS(C,EMA21);

止跌买:=HR2 AND FILTER(HR2,10),COLOR4080FF,STICK,LINETHICK1;
DRAWTEXT(止跌买>0,L*0.98,'★止跌买'),COLORFFFFFF;
加:=CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,COLORFFFFFF,STICK,LINETHICK1;
DRAWTEXT(加>0,L*0.93,'★加'),COLORFFFFFF;

A0:=(L+H+C*2)/4;
A1:=EMA(A0,123);
A1X:=(A1-REF(A1,1))/REF(A1,1)*100;
清:=IF(A1X<0 AND REF(A1X,1)>=0 ,1,0),COLORFFFF15,STICK,LINETHICK1;
DRAWTEXT(清>0,H*1.06,'★减'),COLORFFFF15;

MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
短线:=IF(FILTER(YXF=1,5),20,-10)=20,STICK,LINETHICK1;
DRAWTEXT(短线>0,L*0.98,'★短线'),COLOR00FFFF;

SJ:=WMA(((2*C+H+L)/4-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
交易卖:=CROSS(88,RSI),STICK,LINETHICK1,COLORFFFF00;
DRAWTEXT(交易卖>0,H*0.98,'交易卖'),COLORFFFF00;
STICKLINE(交易卖,O,C,3,0),COLORBLUE;
★交易买:=CROSS(VAR1,VAR2),COLOR00FFFF,STICK,LINETHICK1;
DRAWTEXT(★交易买>0,L*0.98,'★交易买'),COLOR00FFFF;
STICKLINE(★交易买,O,C,3,0)COLORMAGENTA;

N1:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
短线持股:IF(C>=MA(C,N1),MA(C,5),DRAWNULL)COLORYELLOW,LINETHICK3;
回复 支持 反对

使用道具 举报

发表于 2017-9-7 19:07 | 显示全部楼层
不知道是不是你需要的,不喜欢勿喷
回复 支持 反对

使用道具 举报

关于老钱庄 | 广告合作 | 商务合作 | 意见反馈 | 免责声明 | 友情链接
    经营性网站备案信息 安徽黄埔网络科
技有限公司 安徽大时代投
资咨询有限公司 可信网站 网上交易保障中心

信息产业部信息备案:闽ICP备13021446号-4 茂名市公安局网警备案:4409023010511号
老钱庄股票论坛网友发表的帖子纯属个人意见,老钱庄股票论坛不负任何责任! 股市有风险,投资需谨慎!
共同建设网络精神文明,欢迎广大网友举报论坛上的不良信息,我们会在第一时间内及时处理!

[ 广告服务咨询QQ:2806911298 ] [ 合作联系电话 :15396270234 联系QQ : 800025923 ]

值班QQ: 800025923 值班电话:0592-5962326

小黑屋|手机版|Archiver|老钱庄

GMT+8, 2017-11-24 09:57 , Processed in 0.083051 second(s), 16 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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