手机端
当前位置:爱约股 > 公式技巧 > 主力争锋原码

主力争锋原码

有个加密的主力争锋,能否给个原码

爱约股解答:

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};

TAG:
分享至:

相关推荐