UID120974
积分307
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2011-7-4
最后登录1970-1-1
|
日:=天数设定;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORCYAN,DOTLINE;
一0.809:REFDATE(H1,DATE),COLORYELLOW,DOTLINE;
二0.618:REFDATE(H2,DATE),COLORMAGENTA,DOTLINE;
三0.500:REFDATE(H3,DATE),COLORWHITE,DOTLINE;
四0.382:REFDATE(H4,DATE),COLORGREEN,DOTLINE;
五0.191:REFDATE(H5,DATE),COLORYELLOW,DOTLINE;
低:REFDATE(低1,DATE),COLORCYAN,DOTLINE;
买线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLORRED;
卖线:EMA(REF(买线,1),2),LINETHICK2,COLOR399C7F;
趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),COLORLICYAN;
上升角度:ATAN((买线/REF(买线,1)-1)*100)*57.3,COLORMAGENTA,NODRAW;
STICKLINE(买线>=卖线,LOW,HIGH,0.05,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(买线<卖线,LOW,HIGH,0.05,1),COLORGREEN;
STICKLINE(买线<卖线,CLOSE,OPEN,3,1),COLORGREEN;
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,L*0.98,11);
DRAWICON(SEL,H*1.02,12);
转载请注明出自股海明灯论坛 http://www.178448.com/,本贴地址:http://www.178448.com/thread-321667-1-1.html |
|