软件名称:[B]MACD支撑压力[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2017-06-28 01:08:00
软件简介:
diff:SMA((H+O+C+L)/4,a,1)-SMA((H+O+C+L)/4,b,1),colorwhite;
dea:SMA(diff,10,1),colormagenta;
MACD:2.4*(diff-dea),COLORSTICK; MAcd1:SMA(MACD,6,1),colorblue,Linethick2;
dea1:IF(diff>dea,diff,dea),colorgreen,Linethick2;
z:0,coloryellow;
DRAWTEXT(CROSS(ZIG(3,13),REF(ZIG(3,13),1)),diff-C*0.03,'Bu□') ,LINETHICK1,coloryellow;
DRAWTEXT(CROSS(REF(ZIG(3,13),1),ZIG(3,13)),diff+C*0.03,'■Se'),colorgreen;
{DRAWNUMBER(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),diff-C*0.015,O),colorgreen;} //309
{DRAWNUMBER(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),diff+C*0.015,O),colorcyan;} //310
{DRAWNUMBER(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),diff-C*0.01,O),colorligreen;} //305
{DRAWNUMBER(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),diff+C*0.01,O),colorwhite;} //305
B:=(dea-REF(dea,1))/REF(dea,1)*100,NODRAW;
阻力:IF(B>=0,REF(dea,BARSLAST(CROSS(B,0))+1),DRAWNULL),colormagenta,LINETHICK2;
支撑:IF(B<0,REF(dea,BARSLAST(CROSS(0,B))+1),DRAWNULL),colorgreen,LINETHICK1;
RSV=(CLOSE-LLV(LOW,e))/(HHV(HIGH,e)-LLV(LOW,e))*f;
K:SMA(RSV,e/3,1),coloryellow;
D1:SMA(K,e/3,1),colorcyan;
J:3*K-2*D1,colorlimagenta;
DRAWICON(CROSS(j,k),j,14);
DRAWICON(CROSS(k,j),k,13);
s1:=TOSTRING((H+L+C+O)/4,2);
DRAWTEXT_FIX(ISLASTBAR,0.8,0.1,0,s1),coloryellow;
s2:=TOSTRING(C-(H+L+C+O)/4,3);
DRAWTEXT_FIX(ISLASTBAR,0.83,0.15,0,s2),colorgreen;
s3:=TOSTRING((H[1]+L[1]+C[1]+O[1])/4,2);
DRAWTEXT_FIX(ISLASTBAR,0.8,0.2,0,s3),coloryellow;
s4:=TOSTRING(C-(H[1]+L[1]+C[1]+O[1])/4,3);
DRAWTEXT_FIX(ISLASTBAR,0.83,0.25,0,s4),colorgreen;
s5:=TOSTRING((H[2]+L[2]+C[2]+O[2])/4,2);
DRAWTEXT_FIX(ISLASTBAR,0.8,0.3,0,s5),coloryellow;
s6:=TOSTRING(C-(H[2]+L[2]+C[2]+O[2])/4,3);
DRAWTEXT_FIX(ISLASTBAR,0.83,0.35,0,s6),colorgreen;
s7:=TOSTRING((H[3]+L[3]+C[3]+O[3])/4,2);
DRAWTEXT_FIX(ISLASTBAR,0.8,0.4,0,s7),coloryellow;
s8:=TOSTRING(C-(H[3]+L[3]+C[3]+O[3])/4,3);
DRAWTEXT_FIX(ISLASTBAR,0.83,0.45,0,s8),colorgreen;
s9:=TOSTRING((H[4]+L[4]+C[4]+O[4])/4,2);
DRAWTEXT_FIX(ISLASTBAR,0.8,0.5,0,s9),coloryellow;
s10:=TOSTRING(C-(H[4]+L[4]+C[4]+O[4])/4,3);
DRAWTEXT_FIX(ISLASTBAR,0.83,0.55,0,s10),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-113445.html]MACD支撑压力[/url]