查看: 1001|回复: 1
打印 上一主题 下一主题

完美的投资策略

[复制链接]
跳转到指定楼层
1
发表于 2011-7-22 09:39:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
买:EMA(CLOSE,5),colorred,linethick(2);
A:=(REF(买,1));
卖:EMA(SLOPE(CLOSE,21)*20+CLOSE,42),linethick(2);
b:=CROSS(买,卖);
s:=CROSS(卖,买);
DRAWTEXT(b,LOW-0.1,'←买 '),colorred,linethick(2);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G:=95;
DRAWTEXT(CROSS(J,D),L*0.999,'←加仓'),COLOR00FFFF,LINETHICK(2);


VAR29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR2A:=SMA(VAR29,5,1);
VAR2B:=SMA(VAR2A,10,1);
VAR2C:=CROSS(VAR2B,VAR2A);
VAR2D:=VAR2B>80 OR VAR2A>80;
VAR2E:=VAR2C AND VAR2D;
VAR33:=HIGH;
VAR34:=LOW;
DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.03,'-落袋为安'),COLORYELLOW;

x6:=REF(CLOSE,1);
x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100;
x8:=CROSS(79,x7);
x9:=altFILTER(x8,4);
DRAWTEXT(x9,HIGH*1.02,'←出货'),Color9000F5;






2
发表于 2011-7-22 15:11:18 | 只看该作者
发个图看看,更直观
您需要登录后才可以回帖 登录 | 注册入住  

本版积分规则

易家网  ©2015-2023  郑州期米信息技术有限公司版权所有  豫公网安备 41010502005136号 豫ICP备16010300号