联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

LONG钱龙

2016-8-9 21:55:54点击:

LC := REF(CLOSE,1);

VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON : DIFF-DEA;
LONMA : MA(LON,10);
LONT : LON, COLORSTICK;
DRAWICON(CROSS(Lon,Lonma),Lonma,1);
DRAWICON(CROSS(Lonma,Lon),Lonma,2);
A1:=BARSLAST(REF(CROSS(LON,LONMA),1));
底背离:IF(REF(CLOSE,A1+1)>CLOSE AND LON>REF(LON,A1+1) AND CROSS(LON,LONMA),HHV(ABS(LON),5),0),colorred;
dbl:=IF(底背离>0,1,0);
DRAWLINE(A1=0,LONMA,dbl,LONMA,0),colorred,LINETHICK2;
A2:=BARSLAST(REF(CROSS(LONMA,LON),1));
顶背离:IF(REF(CLOSE,A2+1)<CLOSE AND LON<REF(LON,A2+1) AND CROSS(LONMA,LON),HHV(ABS(LON),5),0),colorgreen;
db:=IF(顶背离>0,1,0);
DRAWLINE(A2=0,LONMA,db,LONMA,0),colorgreen,LINETHICK2;