主力争锋原码
2020/1/13 19:04:35
公式编写说明:
有个加密的主力争锋,能否给个原码
公式源码回答:
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,1.8,0 ),COLOR00AADD;
STICKLINE(VUR6>0,0 ,VUR6*0.8,1.8,0 ),COLOR0099DD;
STICKLINE(VUR6>0,0 ,VUR6*0.6,1.8,0 ),COLOR0066DD;
STICKLINE(VUR6>0,0 ,VUR6*0.4,1.8,0 ),COLOR0033DD;
STICKLINE(VUR6>0,0 ,VUR6*0.2,1.8,0 ),COLOR0000DD;
STICKLINE(VUR6<0,0 ,VUR6*1.2,1.8,0 ),COLORAADD00;
STICKLINE(VUR6<0,0 ,VUR6*0.8,1.8,0 ),COLOR99DD00;
STICKLINE(VUR6<0,0 ,VUR6*0.6,1.8,0 ),COLOR66DD00;
STICKLINE(VUR6<0,0 ,VUR6*0.4,1.8,0 ),COLOR33DD00;
STICKLINE(VUR6<0,0 ,VUR6*0.2,1.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};
{zyc102428};
投 股票网 www .tou18.cn
股市公式下载推荐