使用说明: 曲线可以作假,但趋势不可逆,相信趋势的力量,不只是金钱的回报!
效果图:
直接复制以下源代码,在公式管理器中新建指标公式,复制进去就可以用了(仅供参考):
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,LINETHICK1;
长期趋势:EMA(Q3, 3),COLORRED,LINETHICK1;
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
中期线:D+100,COLORMAGENTA,LINETHICK;
警戒线:22.5,DOTLINE,COLORGREEN;
分水岭:47.5,COLORYELLOW;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
DRAWTEXT(CROSS(长期趋势, 短期趋势) AND REF(短期趋势,1)>80, REF(短期趋势,3), '▼逢高派发'), COLOR00FF00,LINETHICK1;
▲逢低关注: DRAWTEXT(REF(CROSS(长期趋势,短期趋势),82) AND 长期趋势>1.3*短期趋势,短期趋势,'▲关注'), COLOR00FFFF, LINETHICK1;
▲抄底: DRAWTEXT(REF(CROSS(短期趋势,长期趋势),1) AND 短期趋势>1.3*长期趋势,长期趋势,'▲抄底'),COLORYELLOW,LINETHICK1;