MA1:MA(CLOSE,5); MA2:MA(CLOSE,10); MA3:MA(CLOSE,20); MA4:MA(CLOSE,60),COLORMAGENTA; MA5:MA(CLOSE,120),COLORGREEN; MA6:=MA(CLOSE,250); STICKLINE( C<MA4,H,L,0,0),COLOR008000; STICKLINE( C<MA4,O,C,2.7,1),COLOR008000; C2:=REF(C,1);{程序化指標(biāo)官方網(wǎng)址 WWW.HONGHAIE.COM} 漲停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(漲停,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(漲停,H,L,0,0),COLORYELLOW; 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN; STICKLINE(跌停,H,L,0,1),COLORGREEN; DRAWICON(CROSS(MA1,MA2),MA1,1); DRAWTEXT(CROSS(MA1,MA2),MA1,'牛'),COLORYELLOW,LINETHICK4; STICKLINE( MA(CLOSE,60)>MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR000044; STICKLINE( MA(CLOSE,60)<MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR004400; DRAWKLINE(H,O,L,C); |
|
來(lái)自: 程序化指標(biāo) > 《官網(wǎng)》