股票软件通达信精品指标公式-【精灵乐】指标源码通达信公式

2017-11-07    来源:原创    编辑:翔博软件
公式源码: {【精灵乐】} DRAWGBK(OC,RGB(158,41,124),RGB(0,0,0),0,1,0); VAR3AA:=IF((CLOSEREF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))1.05) AND ((HIGH)/(CLO


公式源码:

{【精灵乐】}

DRAWGBK(O>C,RGB(158,41,124),RGB(0,0,0),0,'1',0);

VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);

VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);

XG:=(FILTER((VAR4AA>90),45)),COLORYELLOW;

STICKLINE(XG,180,0,4.8,0),COLOR0000FF;

STICKLINE(XG,180,0,4,0),COLOR000099;

STICKLINE(XG,160,0,2,0),COLOR0000BB;

STICKLINE(XG,140,0,1,0),COLOR0000DD;

STICKLINE(XG,120,0,0.9,0),COLOR0000FF;

{ WWW.88GS.COM}

VP:=IF(CAPITAL=0,AMOUNT/100000000,VOL);

VA:=IF(CLOSE>REF(CLOSE,1),VP,-VP);

A1:=REF(OBV,5)=HHV(OBV,2*5+1);

B1P:=FILTER(A1,5);

C1:=BACKSET(B1P,5+1);

D1:=FILTER(C1,5);{高点}

A2:=REF(OBV,5)=LLV(OBV,2*5+1);

B2:=FILTER(A2,5);

C2:=BACKSET(B2,5+1);

D2:=FILTER(C2,5);{低点}

上:=REF(OBV,BARSLAST(D1)),COLORFF00FF{,NODRAW};

下:=REF(OBV,BARSLAST(D2)),COLOR00FF00{,NODRAW};

向上:(CROSS(OBV,上*1.001))*60{,NODRAW};

相对能量:MA((OBV-下)/(上-下),2)*30,COLORYELLOW{,NODRAW};

相对能量1:MA((OBV-下)/(上-下),1)*30,COLORYELLOW{,NODRAW};

B1:IF(CROSS(相对能量1,36),相对能量1,DRAWNULL),CROSSDOT,LINETHICK5,COLOR0000FF; 

B1X:IF((相对能量1>=36),相对能量,DRAWNULL){,CROSSDOT},LINETHICK3,COLOR0000FF; 

牛市:DRAWTEXT(B1 AND H/C<1.021 ,33*1.00,'个股牛市 '),COLOR00FFFF;

精灵乐1:DRAWTEXT(CROSS(相对能量,12) AND H/C<1.021 ,16*1.00,' ==上升== '),COLORFFFF00;

牛:DRAWICON(CROSS(相对能量,12),16*0.97,23);

 

特别提示:

选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280

1
3
点击进入翔博软件旗下官方微店--指标超市