最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 改主力交锋指标

改主力交锋指标

来源:网络 点击: 时间:2022-12-29 08:20:42

编写要求:

解答:

?网友求助:

主力交锋指标在大智慧能显示各种颜色,在同花顺则不能显示,请老师修改
源码
Vur1:=VOL/CAPITAL;
Vur2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
Vur3:=2.5*MAX(Vur1,Vur2);
Vur4:=DMA(CLOSE,Vur3);
Vur5:=20*(Vur4/REF(Vur4,1)-1)*38;
Vur6:=EMA(Vur5,2);
{
Vur7:=EMA(Vur5,2);
Vur8:=EMA(Vur7,3);
VurS:=EMA(Vur7,8);
Vur9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1);
VurA:=2.5*MAX(Vur1,Vur9);
VurB:=DMA(INDEXC,VurA);
VurC:=EMA(20*(VurB/REF(VurB,1)-1),1)*38;
VurD:=EMA(VurC,2);
VurE:=EMA(VurC,2);
}
主力:vur6,LINETHICK0;
多头绝对:20,LINETHICK1,color00aaaa,POINTDOT;
空头绝对:-20,LINETHICK1,color00aa00,POINTDOT;

STICKLINE(vur6>0,0 ,vur6*1.2,8,0 ),COLOR00AADD;
STICKLINE(vur6>0,0 ,vur6*0.8,8,0 ),COLOR0099DD;
STICKLINE(vur6>0,0 ,vur6*0.6,8,0 ),COLOR0066DD;
STICKLINE(vur6>0,0 ,vur6*0.4,8,0 ),COLOR0033DD;
STICKLINE(vur6>0,0 ,vur6*0.2,8,0 ),COLOR0000DD;

STICKLINE(vur6<0,0 ,vur6*1.2,8,0 ),COLORAADD00;
STICKLINE(vur6<0,0 ,vur6*0.8,8,0 ),COLOR99DD00;
STICKLINE(vur6<0,0 ,vur6*0.6,8,0 ),COLOR66DD00;
STICKLINE(vur6<0,0 ,vur6*0.4,8,0 ),COLOR33DD00;
STICKLINE(vur6<0,0 ,vur6*0.2,8,0 ),COLOR00DD00;

{
较强■:STICKLINE(VurD>0,0,VurD,7,0),colorBB22EE;
超强■:STICKLINE(Vur5>0,0,Vur5,7,0),COLOR00CCCC;
极强■:STICKLINE(Vur6>0,0,Vur6,7,0),COLOR0000CC;


较弱■:STICKLINE(VurD<0,0,VurD,7,0),colorFFAAAA;
超弱■:STICKLINE(Vur5<0,0,Vur5,7,0),color00DD00;
极弱■:STICKLINE(Vur6<0,0,Vur6,7,0),colorAAAA10;
};

    上一篇:加操作符匹配 下一篇:十字星公式

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top