当前位置:首页 > 免费资源 > 正文

「翔博精选指标」操盘线主图和市场人气副图(通达信公式 主图 副

2022-04-14原创 编 辑:翔博软件

先发源码吧:

{操盘线主图源码}
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
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));

 

 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标