操作地图 通达信副图指标 源码 贴图

2020-04-22 09:21:00来源:本站整理浏览:326

操作地图 通达信副图指标 源码 贴图

操作地图 通达信副图指标 源码 贴图


{公式名称: 操作地图

副图}

VAR1:=21;
VAR2:=(HIGH+LOW+CLOSE)/3;
上轨:100*(0.015*AVEDEV(VAR2,VAR1))+MA(VAR2,VAR1),LINETHICK0;
中轨:0*(0.015*AVEDEV(VAR2,VAR1))+MA(VAR2,VAR1),LINETHICK0;
下轨:(-100)*(0.015*AVEDEV(VAR2,VAR1))+MA(VAR2,VAR1),LINETHICK0;
DRAWBAND(上轨,RGB(120,0,0),中轨,RGB(120,0,0));
DRAWBAND(下轨,RGB(0,0,250),中轨,RGB(0,0,250));
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),COLORFFFF66;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0),COLORRED;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
STICKLINE(CLOSE<=OPEN,OPEN,HIGH,0,0),COLORFFFF66;
STICKLINE(CLOSE<=OPEN,CLOSE,LOW,0,0),COLORFFFF66;
VAR3:=REF(CLOSE,1);
VAR4:=50;
VAR5:=50;
VAR6:=50;
VAR7:=3;
VAR8:=6;
VAR9:=9;
VAR10:=12;
VAR11:=18;
VAR12:=24;{WWW.GPXIAZAI.COM}
VAR13:=SMA(MAX(CLOSE-VAR3,0),VAR7,1);
VAR14:=SMA(ABS(CLOSE-VAR3),VAR7,1);
VAR15:=SMA(MAX(CLOSE-VAR3,0),VAR8,1);
VAR16:=SMA(ABS(CLOSE-VAR3),VAR8,1);
VAR17:=SMA(MAX(CLOSE-VAR3,0),VAR10,1);
VAR18:=SMA(ABS(CLOSE-VAR3),VAR10,1);
VAR19:=SMA(MAX(CLOSE-VAR3,0),VAR12,1);
VAR20:=SMA(ABS(CLOSE-VAR3),VAR12,1);
VAR21:=SMA(MAX(CLOSE-VAR3,0),VAR9,1);
VAR22:=SMA(ABS(CLOSE-VAR3),VAR9,1);
VAR23:=SMA(MAX(CLOSE-VAR3,0),VAR11,1);
VAR24:=SMA(ABS(CLOSE-VAR3),VAR11,1);
线1:(REF(VAR13,1)*(VAR7-1)-REF(VAR14,1)*(VAR7-1)*VAR4/100)/(VAR4/100-1)+VAR3;
线2:(REF(VAR15,1)*(VAR8-1)-REF(VAR16,1)*(VAR8-1)*VAR5/100)/(VAR5/100-1)+VAR3;
线3:(REF(VAR21,1)*(VAR9-1)-REF(VAR22,1)*(VAR9-1)*VAR5/100)/(VAR5/100-1)+VAR3,COLORCYAN;
线4:(REF(VAR17,1)*(VAR10-1)-REF(VAR18,1)*(VAR10-1)*VAR4/100)/(VAR4/100-1)+VAR3,COLORRED;
线5:(REF(VAR19,1)*(VAR12-1)-REF(VAR20,1)*(VAR12-1)*VAR5/100)/(VAR5/100-1)+VAR3,COLORYELLOW;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式