以下是通达信飞龙在天源码附图(无源码的请下载附件导入)
飞龙在天源码
Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
Q3:=SMA(Q2,9,1);
Q4:=SMA(Q3,3,1);
短期趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
中期趋势:EMA(Q3,3),COLORRED,LINETHICK3;
逢高派发:IF(CROSS(中期趋势,短期趋势) AND REF(短期趋势,1)>80,REF(短期趋势,3),0),COLORGREEN,LINETHICK5;
逢低关注:IF(REF(CROSS(中期趋势,短期趋势),82) AND 中期趋势>1.3*短期趋势,短期趋势,0),COLORYELLOW,LINETHICK2;
抄底:IF(REF(CROSS(短期趋势,中期趋势),1) AND 短期趋势>1.3*中期趋势,中期趋势,0),COLORLIMAGENTA,LINETHICK2;
631244179.png
|