压力与支撑主图指标 (源码)

2012-03-16 08:20:00来源:本站整理浏览:321

通达信压力与支撑主图指标公式股票软件源码如下:

N:=10;
VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,N),3);
VAR2:=CROSS(VAR1,0.9);
VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,N),3);
VAR4:=CROSS(VAR3,0.9);
压力:IF(BARSLAST(VAR2)>=1,REF(HIGH,BARSLAST(VAR2)),DRAWNULL),COLORYELLOW;
DRAWICON(VAR2,HIGH*1.002,12);
DRAWICON(VAR4,LOW*0.998,11);
支撑:IF(BARSLAST(VAR4)>=1,REF(LOW,BARSLAST(VAR4)),DRAWNULL),COLOREA91B5;
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
STICKLINE(C>REF(C,1),H,L,0,1),COLOR0000FF;
STICKLINE(C>REF(C,1),O,C,3,0),COLOR000066;
STICKLINE(C>REF(C,1),O,C,2,0),COLOR000099;
STICKLINE(C>REF(C,1),O,C,1.1,0),COLOR0000CC;
STICKLINE(C>REF(C,1),O,C,0.4,0),COLOR0000FF;
STICKLINE(C<REF(C,1),H,L,0,1),COLORFFFF00;
STICKLINE(C<REF(C,1),O,C,3,0),COLORCC0000;
STICKLINE(C<REF(C,1),O,C,2,0),COLORFF4400;
STICKLINE(C<REF(C,1),O,C,1.1,0),COLORFF8800;
STICKLINE(C<REF(C,1),O,C,0.4,0),COLORFFCC00;

通达信压力与支撑主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式