操盘线主图和市场人气副图通达信公式 主图 副图 测试图 公式无未来不加密

MA5:=EMA(EMA(C,5),3);
VAR1:=CLOSE-LLV(L,9);
VAR2:=HHV(H,9)-LLV(L,9);
VAR3:=(VAR1+0.00001)/VAR2*100;
VAR4:=EMA(EMA(VAR3,5),5);
VAR5:=EMA((0.668*REF(MA5,1)+0.333*MA5),1);
VAR6:=EMA((0.668*REF(VAR4,1)+0.333*VAR4),1);
VAR7:=IF(VAR4>VAR6,1,-1);
VAR8:=IF(C>MA5 AND MA5>VAR5 AND VAR4>50 AND VAR4>VAR6,1,-1);
STICKLINE(C>O,C,O,-1,0),COLORLIGRAY;
STICKLINE(C>O,L,H,0,0),COLORLIGRAY;
STICKLINE(C<O,C,O,-1,0),COLORWHITE;
STICKLINE(C<O,L,H,0,0),COLORWHITE;
STICKLINE(C=O AND C>REF(C,1),C,O,-1,0),COLORLIGRAY;
STICKLINE(C=O AND C>REF(C,1),L,H,0,0),COLORLIGRAY;
STICKLINE(C=O AND C<REF(C,1),C,O,-1,0),COLORWHITE;
STICKLINE(C=O AND C<REF(C,1),L,H,0,0),COLORWHITE;
STICKLINE(VAR7=1 AND C>O,C,O,-1,0),COLORRED;
STICKLINE(VAR7=1 AND C>O,L,H,0,0),COLORRED;
STICKLINE(VAR7=1 AND C<O,C,O,-1,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C<O,L,H,0,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C=O AND C>REF(C,1),C,O,-1,0),COLORRED;
STICKLINE(VAR7=1 AND C=O AND C>REF(C,1),L,H,0,0),COLORRED;
STICKLINE(VAR7=1 AND C=O AND C<REF(C,1),C,O,-1,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C=O AND C<REF(C,1),L,H,0,0),COLORLIBLUE;
 
STICKLINE(C>MA5 AND MA5>VAR5,C,O,-1,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5,L,H,0,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5,C,O,-1,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5,L,H,0,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5 AND C>REF(C,1),C,O,-1,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5 AND C>REF(C,1),L,H,0,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5 AND C<REF(C,1),C,O,-1,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5 AND C<REF(C,1),L,H,0,0),COLORC08080;
STICKLINE(VAR8=1 AND C>O,C,O,-1,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C>O,L,H,0,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C<O,C,O,-1,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C<O,L,H,0,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C=O AND C>REF(C,1),C,O,-1,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C=O AND C>REF(C,1),L,H,0,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C=O AND C<REF(C,1),C,O,-1,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C=O AND C<REF(C,1),L,H,0,0),COLORLIGREEN;
DRAWBAND(VAR5,RGB(0,205,0),MA5,RGB(205,0,0));
{股票指标网 整理}
{市场人气}
VARB:=CLOSE-LLV(L,9);
VARBB:=HHV(H,9)-LLV(L,9);
VARBBB:=(VARB+0.00001)/VARBB*100;
市场人气:EMA(EMA(VARBBB,5),5);
B1:=EMA((0.668*REF(市场人气,1)+0.333*市场人气),1);
DRAWBAND(B1,RGB(0,205,0),市场人气,RGB(205,0,0));  



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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