梦想控盘主力生命线 通达信副图指标 源码 贴图
2018-12-26 09:39:00来源:本站整理浏览:648
梦想控盘主力生命线 通达信副图指标 源码 贴图
N:=5;
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
主力:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;
生命线:(EMA(((0.667*REF(主力,1))+(0.333*主力)),2)*VAR1),COLORFFFFFF;
条件:=CROSS(主力,生命线) AND 主力<40;
条件0:=CROSS(生命线,主力) AND 主力>90;
TJ1:=CROSS(主力,生命线);
TJ2:=CROSS(生命线,主力);
TJ3:=CROSS(主力,生命线) AND REF(主力,1)<20;
TJ4:=CROSS(生命线,主力) AND REF(主力,1)>80;
DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR (REF(条件,2) AND
(REF(LOW,2)>LLV(LOW,3) OR TJ2))
OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),45,'S');
DRAWTEXT(条件,20,'买'),LINETHICK4;
DRAWTEXT(条件0,85,'S');
DRAWTEXT(TJ4,85,'S'),COLORYELLOW;
DRAWICON(CROSS(主力,生命线),生命线,4);