大智慧四方力道二副图指标
-
相关简介:大智慧四方力道二副图指标 源码 N:=6; VAR1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*1000-700; VAR2:=SMA(VAR1,N,1)+100; VAR3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10000; VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1)+100; VAR6:=VAR5-VAR2; DDDD:IF(VAR6100,VAR6-1
-
文章来源:股海网作者:股海网发布时间:2016-05-18浏览次数:
大智慧四方力道二副图指标
源码
N:=6;
VAR1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*1000-700;
VAR2:=SMA(VAR1,N,1)+100;
VAR3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10000;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
DDDD:IF(VAR6>100,VAR6-100,0);
STICKLINE(REF(DDDD,1)<DDDD,DDDD,REF(DDDD,1),8,0),COLORRED;
STICKLINE(REF(DDDD,1)>DDDD,DDDD,REF(DDDD,1),8,0),COLORGREEN;
partline(DDDD,DDDD>=ref(DDDD,1),rgb(255,0,0),DDDD<ref(DDDD,1),rgb(0,255,255)),linethick2;