通达信主图公式源码 通达信五福送财精品主图公式源码
2015-2-11 11:03:25 股票入门 http://rumen.southmoney.com
南方财富网带来通达信主图公式源码 通达信五福送财精品主图公式源码:
{五福送财}
M1:=2;N1:=7;M3:=4;N2:=9;
天:(MA(CLOSE,5)+MA(CLOSE,9)+MA(CLOSE,13)+MA(CLOSE,17))/4,COLORMAGENTA;
地:(MA(CLOSE,25)+MA(CLOSE,27)+MA(CLOSE,29)+MA(CLOSE,31))/4,COLORBLUE;
良心:(MA(CLOSE,17)+MA(CLOSE,19)+MA(CLOSE,21)+MA(CLOSE,23))/4;
五福:(MA(CLOSE,1)+MA(CLOSE,4)+MA(CLOSE,7)+MA(CLOSE,11))/4,COLORYELLOW,LINETHICK4;
财:(MA(CLOSE,33)+MA(CLOSE,41)+MA(CLOSE,49)+MA(CLOSE,57))/4,COLORWHITE,LINETHICK3;
P1:=(EXPMA(CLOSE,M1)+MA(CLOSE,M1*3)+MA(CLOSE,M1*5)+MA(CLOSE,M1*7))/4,LINETHICK3,COLORGREEN;
{M1 2\8\2}
P3:=(EXPMA(CLOSE,M3)+MA(CLOSE,M3*3)+MA(CLOSE,M3*5)+MA(CLOSE,M3*7))/4,LINETHICK2,COLORYELLOW;
{M3 2\11\4}
IF(P3》=P1,五福,DRAWNULL),COLORGREEN,LINETHICK4;
IF(五福》=天,五福,DRAWNULL),COLORRED,LINETHICK4;
IF(五福《=天 AND 五福》=良心 AND P1》P3,五福,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(五福《良心 AND 五福》=财 AND P1》P3,五福,DRAWNULL),COLORFF00FF,LINETHICK4;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。