通达信基础位移指标公式

{cyc5:CYC(5),COLORYELLOW;
CYC13:CYC(13),COLORFF00FF;
CYC34:CYC(34),COLORGREEN;}
CYC∞:=CYC.CYC∞,COLORFF9900;
{CYC∞:=MAXCYC;}
CYS∞:(CLOSE-CYC∞)/CYC∞*100,COLORRED,CIRCLEDOT;
成本谷:REF(CYC∞,BArslAST(cys∞<=0)-1){,PRECIS2},LINETHICK0,COLORRED;{赋值指标为最近一次刚上穿CYC∞时的CYC∞的数值}
负成本谷:=REF(CYC∞,BARSLAST(CYS∞>0)-1);
基础位移1:=100*(CLOSE-成本谷)/成本谷;
负基础位移1:=100*(CLOSE-负成本谷)/负成本谷;
基础位移:IF(CYS∞>=0,基础位移1,负基础位移1){,PRECIS2},COLORYELLOW;
牛天数:=BARSLAST(crOSS(CYS∞,0))+1;
熊天数:=(-1)*BARSLAST(CROSS(0,CYS∞))-1;
牛熊天数:IF(CYS∞>0,牛天数,熊天数){,PRECIS0},NODRAW,COLORMAGENTA;
STICKLINE(CROSS(CYS∞,0),10,0,2,0),COLORRED;
STICKLINE(CROSS(0,CYS∞),10,0,2,0),COLORBLUE;
【获利】:WINNER(CLOSE)*100,COLORYELLOW,NODRAW;
【活筹】:(WINNER(C*1.075)-WINNER(C*0.925))*100,COLORFFFFFF,NODRAW;
【获利纵横】:【获利】-【活筹】,NODRAW;
IF(【获利纵横】<=50,【获利纵横】,DRAWNULL),COLORGREEN,NODRAW;
IF(【获利纵横】>50,【获利纵横】,DRAWNULL),COLORRED,NODRAW;
【换手率】:vol/CAPITAL*100,COLORWHITE,NODRAW;
【涨跌】:CLOSE-REF(C,1),COLORWHITE,NODRAW;
【涨跌幅】:(C-REF(C,1))/REF(C,1)*100,COLORWHITE,NODRAW;
DRAWTEXT_FIX(C>0,0,0,0,'【成本谷单位】:元'),COLORWHITE;
DRAWTEXT_FIX(C>0,0,0.08,0,'【基础位移单位】:百分数“%”'),COLORWHITE;
{DRAWTEXT_FIX(C>0,0,0,0,'(【超大、大户、主力】:单位为万元。)'),COLORWHITE;
DRAWTEXT_FIX(C>0,0,0.08,0,'(【柱状图、线条】:黄柱,当日超大净买。)'),COLORWHITE;
DRAWTEXT_FIX(C>0,0,0.16,0,'(【仓位】:单位为%。)'),COLORWHITE;};




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

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

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