联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

【均线】

2016/12/11 21:10:31点击:

 IF (11<=0)

RETURN 0;
MA5:MA(CLOSE,  5 ),LINETHICK1;
IF (11<=1)
RETURN 0;
MA7:MA(CLOSE,  7 ),LINETHICK1;
IF (11<=2)
RETURN 0;
MA10:MA(CLOSE, 10),LINETHICK1;
IF (11<=3)
RETURN 0;
MA20:MA(CLOSE, 20),LINETHICK5;
IF (11<=4)
RETURN 0;
MA30:MA(CLOSE, 30),LINETHICK1;
IF (11<=5)
RETURN 0;
MA60:MA(CLOSE, 60),LINETHICK1;
IF (11<=6)
RETURN 0;
MA90:MA(CLOSE,  90);
IF (11<=7)
RETURN 0;
MA120:MA(CLOSE,120);
IF (11<=8)
RETURN 0;
MA250:MA(CLOSE,250);
IF (11<=9)
RETURN 0;
MA377:MA(CLOSE,377);
IF (11<=10)
RETURN 0;
DRAWICON(CROSS(MA5,MA10),MA10,"5");
DRAWICON(CROSS(MA10,MA5),MA10,"6");
DRAWICON(CROSS(MA5,MA7),MA7,"22");
DRAWICON(CROSS(MA7,MA5),MA5,"15");
趋势浪:ZIG(3,10),colorblue,LINETHICK2;
趋势线:ZIG(3,5)+0.5,coloryellow,LINETHICK1;
GG:=EMA(趋势线,2);
HH:=EMA(趋势浪,2);
//DD:C,COLORFFFF00;
DRAWTEXT(CROSS(HH,趋势浪),H,'卖'),COLOR00FF00;
DRAWTEXT(CROSS(趋势浪,HH),L,'买'),COLOR0000FF;
DRAWICON(CROSS(趋势线,GG),L, "BUY");
DRAWICON(CROSS(GG,趋势线),H,"SELL");
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),coloryellow,LINETHICK7;
STICKLINE(涨停,H,L,0,0),colorred;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),colorgreen,LINETHICK7;
STICKLINE(跌停,H,L,0,1),colorcyan,LINETHICK1;
MA5:MA(CLOSE, 5),LINETHICK1;
PARTLINE(MA5,MA5>REF(MA5,1),RGB(255,255,255),MA5<REF(MA5,1),RGB(0,255,0)),LINETHICK3;
MA10:MA(CLOSE, 10),LINETHICK1;
PARTLINE(MA10,MA10>REF(MA10,1),RGB(255,255,255),MA10<REF(MA10,1),RGB(0,255,0)),LINETHICK3;
N:=5;
MA20:MA(C,20),colorred,LINETHICK5;
NOTEXT:IF(C<MA20,MA20,DRAWNULL),colorgreen,LINETHICK5;
L1:=TROUGH(2,N,1);
L2:=TROUGH(2,N,2);
T1:=TROUGHBARS(2,N,1);
T2:=TROUGHBARS(2,N,2);
TJ1:=RANGE(L1/MA20,0.98,1.02);
TJ2:=RANGE(REF(L1,T2)/REF(MA20,T2),0.98,1.02);
TJ:= TJ1 AND TJ2 ;
TJA:=REF(T1,1)=0 AND REF(L1>L2,1) ;
XG:=TJA AND TJ;
STICKLINE(XG,C,O,1.5,0),coloryellow;
STICKLINE(XG,H,L,0,0),coloryellow;
MA30:MA(CLOSE, 30),LINETHICK3;
PARTLINE(MA30,MA30>REF(MA30,1),RGB(255,255,255),MA30<REF(MA30,1),RGB(0,255,0)),LINETHICK3;
MA60:MA(CLOSE, 60),LINETHICK1;
PARTLINE(MA60,MA60>REF(MA60,1),RGB(255,255,255),MA60<REF(MA60,1),RGB(0,255,0)),LINETHICK3;
A:=VOL>=2*REF(VOL,1);
STICKLINE(A,MIN(C,O),MAX(C,O),2.5,0),colormagenta,LINETHICK5;
MA135:=MA(VOL,135);
TJ1:=VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O AND VOL<=MA135*3.5;
LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0);
ST:=TJ3=1;
CL:=FILTER(ST,3);
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),2,0),coloryellow; STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),2,0),colorcyan;
STICKLINE(LJL,OPEN,CLOSE,1,0),coloryellow; DRAWTEXT(LJL,L*0.99,'支撑'),COLORF00FF0;
A:=EMA(C,14),colorwhite,LINETHICK1;
B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;
支撑:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),colorlired,LINETHICK4;
阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),colorlicyan,LINETHICK4;