同花顺红三角买入公式
长期组从聚拢点向下扩散状态且平行移动聚拢,代表趋势的反转,短期组向上扩散并且慢速穿向上越长期组,可做多。
源码
BOLL:EMA(C,20),colorwhite,linethick2;
upper:BOLL+2*STD(CLOSE,20),colorred,linethick2;
lower:BOLL-2*STD(CLOSE,20),colorgreen,linethick2;
ma1:EMA(CLOSE,3),coloryellow;
ma2:EMA(CLOSE,5),coloryellow;
ma3:EMA(CLOSE,8),coloryellow;
ma4:EMA(CLOSE,10),colorred;
ma5:EMA(CLOSE,12),colorred;
ma6:EMA(CLOSE,15),colorred;
ma7:EMA(CLOSE,30),colorgreen;
ma8:EMA(CLOSE,35),colorgreen;
ma9:EMA(CLOSE,40),colorgreen;
ma10:EMA(CLOSE,45),colorblue;
ma11:EMA(CLOSE,50),colorblue;
ma12:EMA(CLOSE,60),colorblue;
aa:=CLOSE/REF(C,1)>=1.09;
STICKLINE(aa,O,C,3,0),coloryellow;
STICKLINE(aa,L,H,0,0),coloryellow;
短买: DRAWICON(CROSS(MA1,MA2),L-0.2,4),colorred;
短卖: DRAWICON(CROSS(MA2,MA1),H+0.1,5),colorgreen;
红三角买入: DRAWICON( CROSS(MA4,MA7),L-0.25,8),colorred;