收集:中国股票市场经济分析网
指标源码如下:
stickline(c>0,0,100,100,0),color224400;
m1:wma((3*wma(c,28)-2*wma(c,42)),5),colorred,linethick4;
m2:=wma(c,1);
m3:if(m1>m2,m1,m2),colorff3300,linethick4;
m2,color224400,linethick4;
tr:= MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
a:=wma(tr,15)*2;
b:=hhv(c-a,20);
if((c>b or c=b),c,b),color00ff00,linethick2;
if(c<b,c,b),color00ffff,linethick2;
c,color224400,linethick2;
STICKLINE(C>=O,C,O,7,0),COLORRED;
STICKLINE(C>=O,C,O,4,0),COLOR0000ff;
STICKLINE(C>=O,C,O,2,0),COLORYELLOW;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C<=O,C,O,7,0),COLORFF2020;
STICKLINE(C<=O,C,O,4,0),COLORFF6600;
STICKLINE(C<=O,C,O,2,0),COLORWHITE;
STICKLINE(C<=O,H,L,0,0),COLORWHITE;