以下是通达信仿智策波段淘金主图源码
通达信仿智策波段淘金主图源码
这是朋友提出要的带有加速上涨信号的{智策波段淘金}源码,全是仿智策软件同指标编写的,有一定的差距,望朋友优化。这是今天晚上智策大讲堂讲课内容所涉及的利用“智策波段淘金”选股方法而改写的。有听课的朋友可能知道它们的用法。(加速上涨信号为深绿色K线)。
{智策波段淘金}
黄线1:EMA((O+C)/2,10),COLORGREEN,LINETHICK2;
黄线2:EMA((O+C)/2,8.5),POINTDOT,COLORGREEN,LINETHICK3;
黄线3:EMA((O+C)/2,6),POINTDOT,COLORGREEN,LINETHICK3;
黄线4:EMA((O+C)/2,4.5),POINTDOT,COLORGREEN,LINETHICK3;
黄线5:EMA((L+H)/2,3),COLORGREEN;
更多指标公式:www.shenqizhibiao.com
IF(黄线1>=REF(黄线1,1),黄线1,DRAWNULL),COLORRED,LINETHICK2;
IF(黄线1<=REF(黄线1,1),黄线1,DRAWNULL),COLORGREEN,LINETHICK2;
IF(黄线2>=REF(黄线2,1),黄线2,DRAWNULL),POINTDOT,COLORRED,LINETHICK1;
IF(黄线2<=REF(黄线2,1),黄线2,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK1;
IF(黄线3>=REF(黄线3,1),黄线3,DRAWNULL),POINTDOT,COLORRED,LINETHICK1;
IF(黄线3<=REF(黄线3,1),黄线3,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK1;
IF(黄线4>=REF(黄线4,1),黄线4,DRAWNULL),POINTDOT,COLORRED,LINETHICK1;
IF(黄线4<=REF(黄线4,1),黄线4,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK1;
IF(黄线5>=REF(黄线5,1),黄线5,DRAWNULL),COLORRED,LINETHICK1;
IF(黄线5<=REF(黄线5,1),黄线5,DRAWNULL),COLORGREEN,LINETHICK1;
强势区:=IF((EVERY(黄线1>=REF(黄线1,1),1)),5,0)COLOR0000FF,LINETHICK3;
加速上涨信号1:STICKLINE(C>=REF(C,3)AND C>O AND 黄线5>黄线1,H,L,0,0),COLOR076A00;
加速上涨信号:STICKLINE(C>=REF(C,3)AND C>O AND 黄线5>黄线1,C,O,2.8,0),COLOR076A00;
XG1:DRAWICON(O>=黄线1 AND O<=黄线5 AND 强势区=5 AND C>O AND C>=REF(C,3) AND 黄线5>黄线1,L*0.97,1);
XG2:DRAWICON(O<=黄线1 AND C>=黄线5 AND 强势区=5 AND C>O AND C>=REF(C,3) AND 黄线5>黄线1,L*0.97,1);
选股:=IF(XG1 OR XG2,10,0);
评论(0)