软件名称:[B]杨氏MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2019-03-04 00:20:25
软件简介:
VAR1:=(HHV(HIGH,8)-LLV(LOW,8));
VAR2:=(HHV(HIGH,8)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,8));
VAR4:=VAR2/VAR1*100-70 ;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,30);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:= IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,30);
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR8:=(2*CLOSE+HIGH+LOW)/4;
VAR9:=LLV(LOW,34);
VAR10:=HHV(HIGH,34);
VAR11:=EMA((VAR8-VAR9)/(VAR10-VAR9)*100,8);
VAR12:=EMA(VAR11,5);//www.70822.com
STICKLINE(VAR11>0 AND VAR11-VAR12>=0,79,80,16,0),colorred,LINETHICK9;
STICKLINE(VAR11>0 AND VAR11-VAR12<0,79,80,16,1),colorgreen,LINETHICK9;
STICKLINE(VAR11>0 AND VAR11-VAR12>=0,19,20,16,0),colorred,LINETHICK9;
STICKLINE(VAR11>0 AND VAR11-VAR12<0,19,20,16,1),colorgreen,LINETHICK9;
//
STICKLINE(VAR11-VAR12>0,VAR11,VAR12,16,1),colorred,LINETHICK2;
STICKLINE(VAR11-VAR12<0,VAR11,VAR12,16,1),colorgreen,LINETHICK2;
////www.70822.com
VAR6:=(2*C+H+L)/4;
VAR8:=LLV(LOW,30);
VARA1:=HHV(HIGH,30);
B:=EMA((VAR6-VAR8)/(VARA1-VAR8)*100,8);
B1:=EMA(B,5);
STICKLINE(B>0 AND B-B1>=0,49,50,16,0),colorred,LINETHICK9;
STICKLINE(B>0 AND B-B1<0,49,50,16,0),colorcyan,LINETHICK9;
VAR8:=(2*CLOSE+HIGH+LOW)/4;
VAR9:=LLV(LOW,34);
VAR10:=HHV(HIGH,34);
VAR11:=EMA((VAR8-VAR9)/(VAR10-VAR9)*100,8);
VAR12:=EMA(VAR11,5);
STICKLINE(VAR11>0 AND VAR11-VAR12>=0,79,80,16,0),colorred;
STICKLINE(VAR11>0 AND VAR11-VAR12<0,79,80,16,1),colorgreen;
STICKLINE(VAR11>0 AND VAR11-VAR12>=0,1,20,16,0),colorred;
//
VAR61:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
VAR62:=REVERSE(VAR61);
VAR63:=SMA(VAR61,5,1);
K:=SMA(VAR63,3,1);
D:=SMA(K,3,1);
DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'B'),COLORFFFFFF;
DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5),D,'S'),colorgreen;
STICKLINE((K >= D),K,D,16,0),COLOR0000A8;
STICKLINE((K >= D),K,D,5,0),COLOR0000C0;
STICKLINE((K >= D),K,D,4,0),COLOR0000E0;
STICKLINE((K >= D),K,D,3,0),COLOR0000F0;
STICKLINE((K >= D),K,D,2,0),COLOR0000D0;
STICKLINE((K >= D),K,D,1,0),COLOR8080FF;
STICKLINE((K <= D),K,D,16,0),color008800;
STICKLINE((K <= D),K,D,5,0),COLOR009900;
STICKLINE((K <= D),K,D,4,0),COLOR00AA00;
STICKLINE((K <= D),K,D,3,0),COLOR00BB00;
STICKLINE((K <= D),K,D,2,0),COLOR00CC00;
STICKLINE((K <= D),K,D,1,0),COLOR00DD00;
[url=http://www.70822.com/soft/sort013/sort036/down-134170.html]杨氏MACD[/url]