在线检测未来函数

通达信智能金龙指标公式

来源:Internet,编辑:股旁网,2024-03-27

VAR1:=Abs((CLOSE-REF(CLOSE,1)));
VAR2:=CLOSE-REF(CLOSE,1);
VAR3:=REF(CLOSE,1);
强:80,COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,强,' 强'),COLORRED;
趋势线:((SMA(MAX((VAR2),0),6,1)/SMA(VAR1,6,1))*100),COLORFFFF00;
紫线:MAX(趋势线,5),COLORFF00FF;
白线:MAX(紫线,10),COLORFFFFFF;
灰线:MAX(白线,20),COLORC0C0C0;
蓝线:MAX(灰线,30),COLORFF0000;
绿线:MAX(蓝线,60),COLORGREEN;
黄线:MAX(绿线,90),COLOR00FFFF;
VAR4:=趋势线-REF(趋势线,1);
VAR5:=crOSS(趋势线,90);
VAR6:=蓝线< 90 AND 黄线< REF(黄线,1);
VAR7:=紫线< 白线 AND 趋势线< 5;
VAR8:=白线< 灰线 AND 趋势线< 20;
VAR9:=灰线< 蓝线 AND 趋势线< 30 ;
姑苏:=CROSS(趋势线,60) AND VAR4>15;
VARGS:=CROSS(趋势线,80) AND VAR4>17;
DRAWTEXT(ISLASTBAR,黄线,' 顶'),COLORYELLOW;
大底:VAR7,STICK,COLORRED,LINETHICK2;
DRAWTEXT(大底,10,'大'),COLORRED;
DRAWTEXT(大底,5,'底'),COLORRED;
中底:VAR8,STICK,COLORYELLOW,LINETHICK2;
DRAWTEXT(中底,20,'中'),COLORYELLOW;
DRAWTEXT(中底,10,'底'),COLORYELLOW;
短底:VAR9,STICK,COLORYELLOW,LINETHICK2;
DRAWTEXT(短底,30,'短'),COLORYELLOW;
DRAWTEXT(短底,20,'底'),COLORYELLOW;
NOTEXT1:IF((趋势线=紫线),紫线,DRAWNULL),COLORGREEN,LINETHICK2;
NOTEXT2:IF((趋势线=白线),白线,DRAWNULL),COLORWHITE,LINETHICK2;
NOTEXT3:IF((趋势线=灰线),灰线,DRAWNULL),COLORYELLOW,LINETHICK2;
NOTEXT4:IF((趋势线=蓝线),灰线,DRAWNULL),COLORCYAN ,LINETHICK2;
NOTEXT5:IF((趋势线=绿线),绿线,DRAWNULL),COLORMAGENTA,LINETHICK2;
NOTEXT6:IF((趋势线=黄线),黄线,DRAWNULL),COLORBLUE,LINETHICK2;
粘合加速2:(姑苏 AND 绿线>60)*30,LINETHICK2,COLORCYAN;
加速:(VARGS)*20,COLORMAGENTA,LINETHICK2;
STICKLINE(VAR5,VAR5,20,3,0),COLORFF5500;
STICKLINE(VAR5,VAR5,30,2,0),COLORFF8800;
STICKLINE(VAR5,VAR5,30,1,0),COLORFFAA00;
STICKLINE(VAR5,VAR5,30,0.5,0),COLORFFCC00;
DRAWTEXT(VAR5,35,'风险'),COLORYELLOW;
DRAWICON(VAR6,95,2);
STICKLINE(VAR6,VAR6,20,3,0),COLORFF5500;
STICKLINE(VAR6,VAR6,30,2,0),COLORFF8800;
STICKLINE(VAR6,VAR6,30,1,0),COLORFFAA00;
STICKLINE(VAR6,VAR6,30,0.5,0),COLORFFCC00;
DRAWICON(VAR6,95,2);
DRAWICON(VAR6,10,2);
DRAWTEXT(VAR6,35,'清仓'),COLORYELLOW;

通达信智能金龙指标公式

相关文章