首页 > > 详细

文华财经均线预测主图公式源码分享


N1:=5;
N2:=10;
N3:=20;
N4:=30;
N5:=60;
N6:=120;

MA1:MA(CLOSE,N1);
MA2:MA(CLOSE,N2);
MA3:MA(CLOSE,N3);
MA4:MA(CLOSE,N4);
MA5:MA(CLOSE,N5);
MA6:MA(CLOSE,N6);
YUMA5:=(MA(CLOSE,N1-1)*(N1-1)+C)/5;
YUMA10:=(MA(CLOSE,N2-1)*(N2-1)+C)/N2;
YUMA20:=(MA(CLOSE,N3-1)*(N3-1)+C)/N3;
YUMA60:=( MA(CLOSE,N4-1)*(N4-1)+C)/N4;
YUMA30:=( MA(CLOSE,N5-1)*(N5-1)+C)/N5;
YUMA112:=( MA(CLOSE,N6-1)*(N6-1)+C)/N6;



DRAWTEXT(ISLASTBAR=1 ,MA1,'O') ,COLORWHITE,FONTSIZE15;
DRAWTEXT(ISLASTBAR=1 ,MA2,'O') ,COLORYELLOW,FONTSIZE15;
DRAWTEXT(ISLASTBAR=1 ,MA3,'O') ,COLORMAGENTA,FONTSIZE15;
DRAWTEXT(ISLASTBAR=1 ,MA4,'O') ,COLORLIGHTGREEN,FONTSIZE15;
DRAWTEXT(ISLASTBAR=1 ,MA5,'O') ,COLORLIGHTGREY,FONTSIZE15;
DRAWTEXT(ISLASTBAR=1 ,MA6,'O') ,COLORRED,FONTSIZE15;
DRAWTEXT(ISLASTBAR=1 ,MA1,'O') ,COLORWHITE,FONTSIZE15;





联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。