源码如下:
BOLL大趋势---五线布林看趋势很好!
{BOLL大趋势}{主图}
MID:EMA(CLOSE,20),LINETHICK1,colorFFFFFF;
UP1:MID+2*STD(CLOSE,20),LINETHICK1,color0000FF;
LOW1:MID-2*STD(CLOSE,20),LINETHICK1,color00ff00;
UP2:MID+3*STD(CLOSE,20),LINETHICK1,colorFF00FF;
LOW2:MID-3*STD(CLOSE,20),LINETHICK1,color00AA00;
aa:MID;
if(aa>=ref(aa,1),aa,0),LINETHICK2,COLORyellow,circledot;
if(aa<ref(aa,1),aa,0),LINETHICK2,COLORff9900,circledot;
STICKLINE(C>aa,L,H,0.1,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C<aa,C,O,4,1),COLORFFFF00;
STICKLINE(C<aa,C,O,4,1),COLOR00FF00;
STICKLINE(C<aa,L,H,0.1,1),COLOR00FF00;
方向线:ma(c,60),color00ff00,linethick3;
{顶尖财经网www.58188.com整理}
|
|
|
|
|