通达信自用另类布林副图源码 个人觉得比布林要好
使用说明:参考布林的使用方法,结合主图,当出现"追击"的时候,结合其他指标趋势,考虑入场,走到上轨,小波段考虑减仓平仓!见仁见智吧!
上A: 2.1*STD(C,20)/MA(C,20)*1000;
下A:-2.1*STD(C,20)/MA(C,20)*1000;
上B: 1.3*STD(C,20)/MA(C,20)*1000;
下B:-1.3*STD(C,20)/MA(C,20)*1000;
开:=(O/MA(C,20)-1)*1000;
高:=(H/MA(C,20)-1)*1000;
低:=(L/MA(C,20)-1)*1000;
收:=(C/MA(C,20)-1)*1000;
STICKLINE(C,0,0,6,0),COLORYELLOW;
STICKLINE(收>=开,高,低,0,0) ,COLORRED;
STICKLINE(收>=开,收,开,2,0) ,COLORRED;
STICKLINE(收<开,高,低,0,0) ,COLORGREEN;
STICKLINE(收<开,收,开,2,0) ,COLORGREEN;
MID:= MA(CLOSE,26);{牛牛指标网提供:www.tdx001.com}
AB:= EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,8)+EMA(CLOSE,13))/4,2)LINETHICK2;
UPPER:= IF(DATE<1090501,MID+2*STD(CLOSE,26),0);
AUPPER:= IF(DATE<1090501,MID+1.7*2*STD(CLOSE,26),0);
LOWER:= IF(DATE<1090501,MID-2*STD(CLOSE,26),0);
ALOWER:= IF(DATE<1090501,MID-1.7*2*STD(CLOSE,26),0);
DRAWTEXT(CROSS(AB,MID),0,'追击');
050477688.jpg
|