通达信主散热度对照副图指标 源码 贴图 A1:=((MA(C,60)-L)/MA(C,20)),COLOR00FFFF; B1:=((MA(C,60)-L)/MA(C,60)),COLOR00FF00; C1:=((MA(C,30)-L)/MA(C,30)),COLORFF00FF; 主力:(A1+B1+C1)/3,COLOR0000FF; 散户:-1*(A1+B1+C1)/3,COLOR00FF00; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA54:=MA(CLOSE,54); MA60:=MA(CLOSE,60); MA120:=MA(CLOSE,120); 热度:1/((MA5+MA10+MA20+MA30+MA60+MA120)/6/C)/10,COLORWHITE,DOTLINE; BBT:热度-主力,NODRAW; BBT1:=BBT-REF(BBT,1)>0; BBT2:=BBT-REF(BBT,1)< 0; STICKLINE(BBT1*BBT,热度,主力,0,0),COLORFF00FF; STICKLINE(BBT2*BBT,热度,主力,0,0),COLORFF8000; DRAWICON(BBT<=0.02,主力,11); STICKLINE(REF(BBT<=0.02,1) AND BBT>0.02,散户*2,热度*2,0.5,0),COLOR8000FF;
|