UID102158
积分392
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2011-2-21
最后登录1970-1-1
|
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;
QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
明月:MA(SUM(J1-J2,22),3),COLOR00DDDD,NODRAW;
累加:=21*明月+20*REF(明月,1)+19*REF(明月,2)+18*REF(明月,3)+17*REF(明月,4)+16*REF(明月,5)+15*REF(明月,6)+14*REF(明月,7)+13*REF(明月,8)+12*REF(明月,9)+11*REF(明月,10)+10*REF(明月,11)+9*REF(明月,12)+8*REF(明月,13)+7*REF(明月,14)+6*REF(明月,15)+5*REF(明月,16)+4*REF(明月,17)+3*REF(明月,18)+2*REF(明月,19)+REF(明月,20);
WMA:=累加/(21+1)/21*2;
积雪:WMA,COLOR008800,NODRAW;
VAR3:=(明月-积雪);VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
STICKLINE(VAR3>0,100,50,3,0),COLOR990099;
STICKLINE(VAR3<0,0,50,3,0),COLOR008800;
KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF;
DRAWTEXT(CROSS(VAR4,VAR5) AND CROSS(KK,DD),10,'明月照积雪'),COLOR00FFFF;
STICKLINE(CROSS(VAR4,VAR5) AND CROSS(KK,DD),0,100,1,0),COLORMAGENTA;
STICKLINE(VAR4<VAR5,VAR4,VAR5,2,0),COLORFF8800;
STICKLINE(VAR4>VAR5,VAR5,VAR4,2,0),COLOR0000BB; |
|