通达信异动追踪副图指标
通达信异动追踪副图指标
有股友让发下异动追踪,我有求必应,希望对大家有所帮助
这个公式我感觉还是不错的,如果谁能优化的更好,欢迎分享
DRAWGBK(CURRBARSCOUNT=1, RGB(102,205,170),RGB(25,25,112),0,'',0);
DRAWGBK(CURRBARSCOUNT=1, RGB(102,205,170),RGB(25,25,112),0,'',0);
{异动追踪}
VAR3:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
操盘线: EMA((CLOSE-VAR3)/(VAR2-VAR3)*4,4);
绝底:0.3,LINETHICK2,COLOR0000FF;
DRAWTEXT_FIX(C>0,0.5,0.3,0,'在红线上方与绿线下方徘徊时间越长 突然下穿和上穿更有效')COLORRED;
短底:1,LINETHICK2,COLORBLUE;
短顶:3,COLORGREEN;
绝顶:3.5,LINETHICK2,COLORFF00FF;
分界:2,COLOR00FFFF;
DRAWTEXT_FIX(C>0,0.5,0.12,0,'一定要注意白线上穿蓝线')COLORRED;
{抄底}
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORLIRED,LINETHICK0;
DEA:EMA(DIF,9),COLORRED,LINETHICK0;
DRAWTEXT(CROSS(DIF,DEA),DIF-0,'建仓'),COLORYELLOW;
DRAWTEXT(CROSS(DEA,DIF),DIF+0,'空仓'),COLORGREEN;
MACD彩柱:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MACD彩柱<REF(MACD彩柱,1)) AND (MACD彩柱>0)),0,MACD彩柱,1,0),COLORLIBLUE,LINETHICK2;
STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱<0)),0,MACD彩柱,1,0),COLORFF00FF,LINETHICK2;
_抄底:ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;
_DIF:"MACD.DIF",COLORGREEN;
_DEA:"MACD.DEA";
__强度:IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK1;
_强度:IF(_DEA<_DIF,_DEA,DRAWNULL);
DRAWTEXT(ABS(_抄底)>0,_抄底*1.20,' 抄底'),COLORYELLOW;
DRAWICON(ABS(_抄底)>0,_抄底*1.10,4);
DRAWICON(CROSS(_DIF,_DEA),_DEA,1);
DRAWICON(CROSS(_DEA,_DIF),_DEA,2);
- 上一篇公式:通达信暴涨主升浪(指标幅图加密不限时)
- 下一篇公式:通达信春种秋收主图指标贴图