买卖黄金
来源:百度文库 编辑:神马文学网 时间:2024/08/29 09:47:50
AA:=(O+H+L+C)/4;BB:=MA(AA,3);CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA90 AND 中期>70,86,94,6,0),COLOR00FF00;STICKLINE(短期<5 AND 中期<30,0,8,6,0);IF(FILTER(中期90 AND BBREF(中期,1)AND 中期<5 AND C>REF(C,1),5),20,0),colorred,Linethick2;D1:=中期>REF(中期,1)AND 短期>REF(短期,1)AND 长期>REF(长期,1)AND 长期<8 AND 中期<10 AND 短期<15;D2:=CROSS(短期,中期)AND 中期<8;D3:=CROSS(短期,长期)AND 长期<8 AND 中期<20;DRAWICON(FILTER((D1 OR D2 OR D3) AND DD<15 AND C>REF(C,1),5),5,1);DRAWICON(FILTER((中期95 AND 短期>85)OR (长期>100 AND 中期>100 AND 短期>100),5),95,2);强弱分界:50, POINTDOT,colorwhite;警戒区:90,linethick1,colorwhite;安全区:20,ColorFFFF00;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,60,0,2,0),colorred;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,60,0,2,0),colorred;