以下是【金牛亿百万】135战法-主图
公式中“关注”指标线可用于选出出现所列技术形态之一的股票。
C/C++ Code复制内容到剪贴板{135战法-主图} EMA13:EMA(CLOSE,13),PRECIS2,colorred; EMA34:EMA(CLOSE,34),PRECIS2,coloryellow; EMA55:EMA(CLOSE,55),PRECIS2,colorblue; C/C++ Code复制内容到剪贴板{135线全部选股源码} {红杏出墙选股} AR1:=EMA55>EMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; 红杏出墙:=AR5 AND FILTER(AR5,10); DRAWTEXT(红杏出墙,L*0.96,’红杏出墙’),align1,CulorFF00ff; DRAWTEXT(红杏出墙,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{蚂蚁上树选股} BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2; BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF (C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5)); 蚂蚁上树:=BR1 AND BR2 AND BR3; DRAWTEXT(蚂蚁上树,L*0.96,’蚂蚁上树’),align1,CulorFF00ff; DRAWTEXT(蚂蚁上树,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{红衣侠女选股} EMA120:=EMA(C,120); CR1:=(C-REF(C,1))/REF(C,1)*100>0.5; CR2:=V>MA(V,5)*0.6; CR3:=COUNT(CROSS(EMA13,EMA55),3)=1; CR4:=ABS(EMA34-EMA55)/EMA55<0.03; CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1); 红衣侠女:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2); DRAWTEXT(红衣侠女,L*0.96,’红衣侠女’),align1,CulorFF00ff; DRAWTEXT(红衣侠女,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{黑客点击选股} DR1:=EMA13>EMA34 AND EMA34<EMA55; DR2:=BARSLAST(CROSS(C,EMA55) ); DR3:=H=HHV(H,DR2); DR4:=BARSLAST(DR3); DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1; DR6:=C>REF(C,1) ; DR7:=DR1 AND DR5 AND DR6 ; 黑客点击:=FILTER(DR7,10) AND DR7; DRAWTEXT(黑客点击,L*0.96,’黑客点击’),align1,CulorFF00ff; DRAWTEXT(黑客点击,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{均线互换选股} 均线互换:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(均线互换,L*0.96,’均线互换’),align1,CulorFF00ff; DRAWTEXT(均线互换,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{梅开二度选股} 梅开二度:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(梅开二度,L*0.96,’梅开二度’),align1,CulorFF00ff; DRAWTEXT(梅开二度,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{三线推进选股} HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55); 三线推进:=(HR2 AND FILTER(HR2,10)); DRAWTEXT(三线推进,L*0.96,’三线推进’),align1,CulorFF00ff; DRAWTEXT(三线推进,L*0.99,’▲’),align1,CulorFF00ff; C/C++ Code复制内容到剪贴板{在光标所在分时线处显示价格及涨幅} DRAWFLAGTEXT(1,c,’【最高】’+NUMTOSTRN(H,2)),COLORGREEN,LINETHICK4; M:1.02*HHVALL(H),colorblack;
评论(0)