通达信MACD斐波那契周期指标(源码)
DRAWTEXT(SJ5 AND DIFF<0,DIFF*0.8,"5"),COLORFFFFFF;
SJ8:=IF(8,LSJ=8,ZTJ) AND IF(8,DIFF>DEA,0);
DRAWTEXT(SJ8 AND DIFF>0,DIFF*1.2,"8"),COLORFFFFFF;
DRAWTEXT(SJ8 AND DIFF<0,DIFF*0.8,"8"),COLORFFFFFF;
SJ13:=IF(13,LSJ=13,ZTJ) AND IF(8,DIFF>DEA,0);
DRAWTEXT(SJ13 AND DIFF>0,DIFF*1.2,"13"),COLORFFFFFF;
DRAWTEXT(SJ13 AND DIFF<0,DIFF*0.8,"13"),COLORFFFFFF;
SJ18:=IF(18,LSJ=18,ZTJ) AND IF(8,DIFF>DEA,0);
DRAWTEXT(SJ18 AND DIFF>0,DIFF*1.2,"18"),COLORFFFFFF;
DRAWTEXT(SJ18 AND DIFF<0,DIFF*0.8,"18"),COLORFFFFFF;
SJ21:=IF(21,LSJ=21,ZTJ) AND IF(21,DIFF>DEA,0);
DRAWTEXT(SJ21 AND DIFF>0,DIFF*1.2,"21"),COLORFFFFFF;
DRAWTEXT(SJ21 AND DIFF<0,DIFF*0.8,"21"),COLORFFFFFF;
SJ26:=IF(26,LSJ=26,ZTJ) AND IF(26,DIFF>DEA,0);
DRAWTEXT(SJ26 AND DIFF>0,DIFF*1.2,"26"),COLORFFFFFF;
DRAWTEXT(SJ26 AND DIFF<0,DIFF*0.8,"26"),COLORFFFFFF;
SJ29:=IF(29,LSJ=29,ZTJ) AND IF(29,DIFF>DEA,0);
DRAWTEXT(SJ29 AND DIFF>0,DIFF*1.2,"29"),COLORFFFFFF;
DRAWTEXT(SJ29 AND DIFF<0,DIFF*0.8,"29"),COLORFFFFFF;
SJ34:=IF(34,LSJ=34,ZTJ) AND IF(34,DIFF>DEA,0);
DRAWTEXT(SJ34 AND DIFF>0,DIFF*1.2,"34"),COLORFFFFFF;
DRAWTEXT(SJ34 AND DIFF<0,DIFF*0.8,"34"),COLORFFFFFF;
SJ47:=IF(47,LSJ=47,ZTJ) AND IF(47,DIFF>DEA,0);
DRAWTEXT(SJ47 AND DIFF>0,DIFF*1.2,"47"),COLORFFFFFF;
DRAWTEXT(SJ47 AND DIFF<0,DIFF*0.8,"47"),COLORFFFFFF;
SJ55:=IF(55,LSJ=55,ZTJ) AND IF(55,DIFF>DEA,0);
DRAWTEXT(SJ55 AND DIFF>0,DIFF*1.2,"55"),COLORFFFFFF;
DRAWTEXT(SJ55 AND DIFF<0,DIFF*0.8,"55"),COLORFFFFFF;
SJ60:=IF(60,LSJ=60,ZTJ) AND IF(60,DIFF>DEA,0);
DRAWTEXT(SJ60 AND DIFF>0,DIFF*1.2,"63"),COLORFFFFFF;
DRAWTEXT(SJ60 AND DIFF<0,DIFF*0.8,"63"),COLORFFFFFF;
SJ68:=IF(68,LSJ=68,ZTJ) AND IF(68,DIFF>DEA,0);
DRAWTEXT(SJ68 AND DIFF>0,DIFF*1.2,"68"),COLORFFFFFF;
DRAWTEXT(SJ68 AND DIFF<0,DIFF*0.8,"68"),COLORFFFFFF;
- 上一篇公式:通达信天量洗缩量突主图及选股指标(源码)
- 下一篇公式:通达信MACD二次金叉选股指标(源码)