通达信新简单均线主图指标公式

M5:MA(C,5),COLORWHITE;
M10:MA(C,10),COLORYELLOW;
M20:MA(C,20),COLORBLUE;
M60:MA(C,60),COLORFFCC66;
套牢盘%:=100*(1-WINNER(C));
获利盘%:=100*WINNER(C);
成本90%:=COST(90);
成本70%:=COST(70);
市场成本:=COST(50);
主力成本:=COST(4);
短期压力:=HHV(H,20);
短期支撑:=LLV(L,20);
CH:=REF(H,1);
CL:=REF(L,1);
CC:=REF(C,1);
中价:=(CH+CL+CC)/3;
近高:=2*中价-CL;
近低:=2*中价-CH;
最高:=中价+(CH-CL);
最低:=中价-(CH-CL);
DRAWTEXT_FIX(C>0,0 ,0.07,0,'【获利盘%】'),COLORRED;
DRAWTEXT_FIX(C>0,0 ,0.13,0,'【套牢盘%】'),COLOR00FF00;
DRAWTEXT_FIX(C>0,0 ,0.19,0,'【市场成本】'),COLORYELLOW;
DRAWTEXT_FIX(C>0,0 ,0.25,0,'【主力成本】'),COLOR008FFF;
DRAWTEXT_FIX(C>0,0 ,0.31,0,'【90%成本】'),COLORFFFFBF;
DRAWTEXT_FIX(C>0,0 ,0.37,0,'【70%成本】'),COLORF0F000;
DRAWTEXT_FIX(C>0,0 ,0.43,0,'【短期压力】'),COLORWHITE;
DRAWTEXT_FIX(C>0,0 ,0.49,0,'【短期支撑】'),COLORYELLOW;
{ _通达信股票指标公式}
DRAWTEXT_FIX(C>0,0 ,0.55,0,'【最高】'),COLORFF00FF;
DRAWTEXT_FIX(C>0,0 ,0.61,0,'【近高】'),COLORFF99FF;
DRAWTEXT_FIX(C>0,0 ,0.67,0,'【中价】'),COLORYELLOW;
DRAWTEXT_FIX(C>0,0 ,0.73,0,'【近低】'),COLORFFFFBF;
DRAWTEXT_FIX(C>0,0 ,0.79,0,'【最低】'),COLORF0F000;
DRAWNUMBER_FIX(C>0,0.06,0.07,0,CONST(获利盘%)),COLORRED;
DRAWNUMBER_FIX(C>0,0.06,0.13,0,CONST(套牢盘%)),COLOR00FF00;
DRAWNUMBER_FIX(C>0,0.06,0.19,0,CONST(市场成本)),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.06,0.25,0,CONST(主力成本)),COLOR008FFF;
DRAWNUMBER_FIX(C>0,0.06,0.31,0,CONST(成本90%)),COLORFFFFBF;
DRAWNUMBER_FIX(C>0,0.06,0.37,0,CONST(成本70%)),COLORF0F000;
DRAWNUMBER_FIX(C>0,0.06,0.43,0,CONST(短期压力)),COLORWHITE;
DRAWNUMBER_FIX(C>0,0.06,0.49,0,CONST(短期支撑)),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.06,0.55,0,CONST(最高)),COLORFF00FF;
DRAWNUMBER_FIX(C>0,0.06,0.61,0,CONST(近高)),COLORFF99FF;
DRAWNUMBER_FIX(C>0,0.06,0.67,0,CONST(中价)),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.06,0.73,0,CONST(近低)),COLORFFFFBF;
DRAWNUMBER_FIX(C>0,0.06,0.79,0,CONST(最低)),COLORF0F000;
所属地区:DRAWTEXT_FIX(1,0.00,0,0,DYBLOCK)COLOR00FFFF;
主题投资:DRAWTEXT_FIX(1,0.04,0.00,0,EXTERNSTR(0,10))COLOR0000FF;




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图