东财通MACD优化自编副图源码
<p>以下是东财通MACD优化自编副图源码(无源码的请下载附件导入)</p><div class="con" id="rjsmad1"></div>
<p>东财通MACD优化自编副图源码</p>
<p>{MACD优化自编}<br>
DIFF:MA(CLOSE,12)-MA(CLOSE,26),COLORFFFFFF,LINETHICK2,COLORFF7F00;<br>
DEA:MA(DIFF,9),COLOR00FFFF,LINETHICK2,COLORFF7F00;<br>
DRAWBAND(DIFF,RGB(155,50,50),DEA,RGB(0,100,50));<br>
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK1;<br>
抄底:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),0.15,(-0)),COLOR00FF00,LINETHICK1;<br>
中区:0,COLORYELLOW,LINETHICK1;<br>
动力:MA(MACD,5),COLORYELLOW,LINETHICK2;<br>
主动:IF(MACD>=动力 AND 动力<=中区,动力,DRAWNULL),COLORYELLOW,LINETHICK2;<br>
主拉:IF(动力>=中区,动力,DRAWNULL),COLORRED,LINETHICK2;<br>
翻空:IF(动力<中区 AND 动力>MACD,动力,DRAWNULL),COLORGREEN,LINETHICK2;<br>
中区10:0,COLORFFFF00,LINETHICK1;<br>
动力10:MA(MACD,10),COLORFFFF00,LINETHICK2;<br>
主动10:IF(MACD>=动力10 AND 动力10<=中区10,动力10,DRAWNULL),COLORFFFF00,LINETHICK2;<br>
主拉10:IF(动力10>=中区10,动力10,DRAWNULL),COLORFF43B9,LINETHICK2;<br>
翻空10:IF(动力10<中区10 AND 动力10>MACD,动力10,<br>
DRAWNULL),COLOR00FF00,LINETHICK2;<br>
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED;<br>
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORRED;<br>
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORGREEN;<br>
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORGREEN;<br>
沉:IF(DIFF>=DEA,DIFF,DRAWNULL),COLORRED;<br>
着:IF(DEA>=DIFF,DEA,DRAWNULL),COLORFF9900;<br>
冷:IF(DIFF>=DEA,DEA,DRAWNULL),COLOR00FFFF;<br>
静:IF(DEA>=DIFF,DIFF,DRAWNULL),COLOR00FF00;<br>
AA:=BARSLAST(REF(CROSS(DIFF,DEA),1));<br>
BB:=REF(CLOSE,AA+1)>CLOSE AND DIFF>REF(DIFF,AA+1) AND CROSS(DIFF,DEA);<br>
乐:DRAWLINE(AA=0,DEA,BB,DEA,0),COLOR0000FF;<br>
STICKLINE(BB,-0.2,0.2,0,1),COLORFFFFFF;<br>
主升: DIFF>0 AND DIFF>DEA,COLOR0000FF,POINTDOT,NODRAW;<br>
STICKLINE(主升,DIFF,DEA,5,0),COLORFF00FF;<br>
DRAWICON(CROSS(DIFF,DEA),DIFF,1);<br>
DRAWICON(CROSS(DEA,DIFF),DEA,2);</p>
<p></p>
页:
[1]