同花顺趋势正确买入副图指标 源码介绍
同花顺趋势正确买入副图指标 源码
趋势性抓大浪指标。趋势1.2.3线为短买卖参考指标,趋势3线穿支“撑参与位”来判断买卖。
趋势1:EMA(SLOPE(1,1)+C,3),colorred,LINETHICK2;
趋势2:EMA(SLOPE(1,1)+趋势1,6),coloryellow,LINETHICK2;
趋势3:EMA(SLOPE(1,1)+趋势2,12),colorliblue,LINETHICK2;
X:=EMA(趋势2,10);
X1:=(X-REF(趋势1,1))/REF(趋势3,1)*100;
X2:=IF(X1<0,REF(EMA(C,10),BARSLAST(CROSS(0,X1))+1),DRAWNULL),colorgreen,LINETHICK1;
X3:=(趋势1+趋势2+趋势3)/3;
支撑参与位:LLV(X2,40),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(X3,支撑参与位),支撑参与位,'▲.趋势正确及买入'),colorlired;
gd47693