股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 2161|回复: 3
打印 上一主题 下一主题

看长做短

[复制链接]

爵府★★★●

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
50

爵★★★爵★★★爵★★★

跳转到指定楼层
楼主
发表于 2016-10-29 00:53 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
你看着办,可做长,也可做短。。。。

VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2:=2*ABS(VAR1);
VAR3:=100-3*SMA((CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100,20,1)+2*SMA
(SMA((CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100,20,1),15,1);
活筹OAMV: VAR3,COLORFF00FF;

核能: IF(VAR1>0,VAR2,0),COLORRED,LINETHICK2;
核能下降:IF(核能<REF(核能,1),核能,DRAWNULL)LINETHICK5,COLOR00FF00;
核能上升:IF(核能>REF(核能,1),核能,DRAWNULL)LINETHICK5,COLOR0000FF;

VAR24:=EMA(AMOUNT/VOL/100,5);
VAR25:=EMA(AMOUNT/VOL/100,13);
VAR26:=VAR24-VAR25;
势能:IF(1000*VAR26/VAR24>=0,1000*VAR26/VAR24,0),COLORRED,LINETHICK2;
势能下降:IF(势能<REF(势能,1),势能,DRAWNULL)LINETHICK4,COLOR00FF00;
势能上升:IF(势能>REF(势能,1),势能,DRAWNULL)LINETHICK4,COLORFF00FF;

DRAWTEXT((势能<REF(势能,1))AND(REF(势能,2)<REF(势能,1))AND(核能<REF(核能,1))AND(势能>5), 40*1.02,'清仓') ,COLOR0000FF,LINETHICK2;
DRAWTEXT(势能>5 AND (势能<REF(势能,1))AND(核能>REF(核能,1)), 30*1.03,'卖') ,COLORYELLOW,LINETHICK2;


BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),LINETHICK2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(82,RSI), 25*1.01,'减仓') ,COLOR00FF00,LINETHICK2;
DRAWICON(CROSS(82,RSI),10.01,2);



DRAWTEXT(势能>5 AND 活筹OAMV>=70 AND 势能<15 , 10*1.01,'底进') ,COLORFF00FF,LINETHICK2;
DRAWICON(势能>5 AND 活筹OAMV>=70 AND 势能<15 ,1.01,1);


DRAWICON(势能>5 AND 核能>=120 AND(活筹OAMV<REF(活筹OAMV,1)),110.00,9);
DRAWTEXT(势能<20 AND势能>0.1 AND(活筹OAMV<REF(活筹OAMV,1))
AND (核能>REF(核能,1))AND (势能>REF(势能,1)), 20*1.03,'买') ,COLORYELLOW,LINETHICK2;
DRAWICON(势能>0 AND (势能>REF(势能,1))AND(REF(活筹OAMV,2)<REF(活筹OAMV,3))
AND(REF(活筹OAMV,1)<REF(活筹OAMV,2)) AND(活筹OAMV<REF(活筹OAMV,1))AND BETWEEN(势能,0.1,50)AND BETWEEN(活筹OAMV,20,80),88.00,5);
{---}
DRAWICON((活筹OAMV<REF(活筹OAMV,1))AND (REF(核能,2)>REF(核能,1))AND (核能>REF(核能,1))AND BETWEEN(活筹OAMV,20,80),78.00,9);

DRAWICON(CROSS(核能,活筹OAMV) AND BETWEEN(活筹OAMV,5,100),活筹OAMV,11);
DRAWICON(CROSS(势能,活筹OAMV) AND BETWEEN(活筹OAMV,5,100),活筹OAMV,12);


LC1 := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC1,0),14,1)/SMA(ABS(CLOSE-LC1),14,1)*100;
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
MFI1:=100-(100/(1+V1));
黄龙RSI: RSI1,COLORYELLOW;
青龙MFI: MFI1,COLOR00FF00;
DRAWICON((黄龙RSI>青龙MFI) AND BETWEEN(黄龙RSI,35,85)AND(黄龙RSI>青龙MFI) AND(活筹OAMV<REF(活筹OAMV,1)AND 核能>REF(核能,1)) ,青龙MFI,1);
DRAWICON((黄龙RSI<青龙MFI) AND BETWEEN(黄龙RSI,35,85)AND(黄龙RSI<青龙MFI) AND(活筹OAMV>REF(活筹OAMV,1)AND 核能<REF(核能,1)) ,黄龙RSI,2);


爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
3
沙发
发表于 2016-10-29 14:46 | 只看该作者
好指标谢谢楼主。
回复

使用道具 举报

爵府★★★●

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
5

爵★★★爵★★★爵★★★

板凳
发表于 2016-10-31 09:48 | 只看该作者
那么复杂
回复

使用道具 举报

爵府★★★●

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
1

爵★★★爵★★★爵★★★

地板
发表于 2016-11-27 15:11 | 只看该作者
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-12-5 10:33 , Processed in 0.146920 second(s), 23 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

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