自用资金指标,进行了一些修改,比以往资金进出,看的明显.红色代为买进资金,资金长线为趋势指标. 资金:(V-LLV(V,10))/REF(V,10)*100;//隐藏; 资金快:MA(资金,5),Color0000FF,linethick2; 资金中:MA(资金,10),Color00FF00,linethick1; 资金长:MA(资金,20)/1.5,Color00FFFF,linethick1,DOTLINE; FILLRGN(资金快,资金中,RGB(255,0,0),colorred); FILLRGN(资金中,0,RGB(255,0,0),Color00FF00); W:=CROSS(资金中,资金长,)*10; VAR8:=VOL>2*MA(VOL,30); VAR9:="DMI.ADX"(12,6); VARA:="DMI.ADXR"(12,6); VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04; VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1); VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))); VARF:=TROUGHBARS(3,15,1)<4; VARF1:=PEAKBARS(3,15,1)<4; VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2); VAR11:=IF(VARF=1,50,0); 多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORFF00FF; STICKLINE(FILTER(VARF=1,5) AND 多空<-10,300,0,8,0),colorE800E8; STICKLINE(FILTER(VARF=1,5),300,0,8,0),coloryellow; STICKLINE(FILTER(VARF1=1,5) AND 多空>10,300,0,8,0),colorFF44FF; STICKLINE(FILTER(VARF1=1,5),300,0,8,0),colorFFFF00; DRAWTEXT(FILTER(VARF=1,8),305,'牛'),colorE800E8; DRAWTEXT(FILTER(VARF1=1,8),305,'熊'),colorFF9428; |
