VAR3A:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10; VAR4A:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; VAR5A:=SMA(VAR4A,13,8); VAR6A:=SMA(VAR3A,21,8); VAR7A:=MA(C,80)-MA(C,10)/7; VAR8A:=EMA(C,5); VAR9A:=MA((LLV(C,9))*1.1,14); VAR10A:=2*VAR9A-VAR8A-C*0.1; VAR11A:=IFF(((VAR8A-VAR10A)*5>0),(POW((VAR8A-VAR10A)*5,2))/10,(-1*(POW((VAR8A-VAR10A)*(5),2)))/(10)); VAR12A:=IFF((VAR11A>0),VAR11A-0,12); VAR13A:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; 趋势:=CEILING(SMA(VAR5A,13,8)); 黄金区:DRAWICON(IFF(VAR13A<15,15,0),13,12),coloryellow; 操盘线:=MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5); 动能线:EMA((趋势+操盘线)/2,2),NODRAW,LINETHICK2; 谷底预警:IFF((趋势-VAR6A<(-65)),5,0),colorred; 顶峰预警:IFF((趋势-VAR6A>85),95,100),colorcyan; LC:=REF(CLOSE,1);//{www.tzj123.com} AA:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100; BB:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100; AA1:=AA; BB1:=REF(AA,1); DRAWICON(动能线>45,45,8); DRAWICON(动能线<45,45,9); STICKLINE(动能线>REF(动能线,1),动能线,REF(动能线,1),9,0),colorred; STICKLINE(动能线<REF(动能线,1),动能线,REF(动能线,1),9,0),colorgreen; DRAWICON(REF(动能线,1)<7 AND 动能线>REF(动能线,1),10,57) ; DRAWICON(REF(动能线,1)>97 AND 动能线<REF(动能线,1),95,58) ;
|
阅读:552 评论:0
声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除!
【电脑版】 【回到顶部】