1、天机无线主图源码:EMA250:MA(C,250),COLORRED;EMA6:MA(C,6),COLORRED LINETHICK2;EMA18:MA(C,18),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;EMA144:MA(C,144),COLORGREEN;EMA288:MA(C,288),COLORBLUE;中线【买入】:=COUNT(CLOSE1.004 AND CROSS(CLOSE,EMA18) AND EMA18=REF(EMA18,1),LINETHICK,COLORRED;DRAWTEXT(中线 【买入】,LOW*0.95, 中线【买入】
2、),COLORRED;VL:=REF(LOW,1);VAR12:=(SMA(ABS(LOW-VL),13,1)/(SMA(MAX(LOW-VL,0),13,1)*100;VAR14:=MA(VAR12,13);VAR15:=LLV(LOW,34);VAR18:=EMA(IF(LOWREF(VAR18,1),VAR18*8,0),20);DRAWTEXT(T,LOW-0.4,洗盘结束),COLORFF00FF;DRAWTEXT(T,LOW-0.2,|),COLORFF00FF;VAR21:=(CLOSE-LLV(LOW,36)/(HHV(HIGH,36)-LLV(LOW,36)*100;VAR2
3、2:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);VAR24:=SMA(VAR23,3,1);VAR25:=CROSS(VAR23,VAR24) AND VAR2380;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,逃顶),COLORBLUE;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,|),COLORBLUE;趋势跟踪- 创幻论坛一品茶缘编写,通达信版本副图指标【趋势跟踪】指标使用说明:趋势为王守铁律,顺势而为主升期;临界出现防风险,挖坑不涨早休息!MA5:=MA(CLOSE,5);MA10:=MA(CLOS
4、E,10);MA20:=MA(CLOSE,20);A1:=IF(C=MA5,1,-1);A2:=IF(C=MA10,1,-1);A3:=IF(C=MA20,1,-1);A4:=IF(MA5=REF(MA5,1),1,-1);A5:=IF(MA10=REF(MA10,1),1,-1);A6:=IF(MA20=REF(MA20,1),1,-1);趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;主升浪: 趋势=50,COLOR0000FF,POINTDOT,NODRAW;:趋势 0,50,50,1,0),COLOR000000;:趋势 ,COLOR00FF00;以下设置文字提示部分DRAWTEXT(CURRBARSCOUNT=60,20,=趋势为王 .顺势而为!=),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=58,-30,只做主升, 挖坑低吸!),COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=58,-60,临界不涨, 逢高离场!),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=60,-90,=【一品茶缘 】=),COLOR00FF00;