以下是通达信四色图谱分析副图指标 贴图(无源码的请下载附件导入)
四色图谱分析副图指标 通达信 贴图
{图谱}
VAR1:=1;
VAR2:=EMA(CLOSE,3);
VAR3:=EMA(CLOSE,20);
VAR4:=EMA(CLOSE,60);
VAR5:=ATAN((VAR4-REF(VAR4,1))/VAR4*10)/3.142*180;
VAR6:=EMA(CLOSE,120);
VAR7:=EMA(CLOSE,250);
VAR8:=REF(LOW,1);
VAR9:=SMA(ABS(LOW-VAR8),3,1)/SMA(MAX(LOW-VAR8,0),3,1)*100;
VAR10:=EMA(VAR9*10,3);
VAR11:=LLV(LOW,13);
VAR12:=HHV(VAR10,13);
VAR13:=EMA(IF(LOW<=VAR11,(VAR10+VAR12*2)/2,0),3)/618;
VAR14:=IF(VAR13>500,500,VAR13);
VAR15:=VAR1 AND CLOSE>VAR4 AND VAR4>VAR6 AND VAR6>VAR7;
VAR16:=VAR1 AND VAR15 AND KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,1)<REF(KDJ.J,2) AND ABS(LOW-VAR4)/VAR4<0.08 AND CLOSE>REF(CLOSE,1);
2,DOTLINE,COLORBLACK;
(-1),DOTLINE,COLORBLACK;
STICKLINE(CLOSE>MA(CLOSE,60),0,0.2,2,0),COLORRED;
STICKLINE(CLOSE>MA(CLOSE,20),0.2,0.4,2,0),COLORGREEN;
STICKLINE(VAR5>0,0.4,0.6,2,0),COLORMAGENTA;
STICKLINE(VAR16,0.6,0.8,2,0),COLORBLUE;
STICKLINE(VAR14>1,0.8,1,2,0),COLORYELLOW;
DRAWICON(VAR1 AND VAR15 AND CLOSE>MA(CLOSE,20) AND VAR14>1 AND KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,1)<REF(KDJ.J,2) AND ABS(LOW-VAR4)/VAR4<0.08 AND VAR5>0 AND CLOSE>REF(CLOSE,1),(-0.5),5);
133788409.png
|