同花顺趋流变副图指标
源码
A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,5);
资金:=(B-B1)*100/B,colorblue;
PARTLINE(资金,资金>REF(资金,1),RGB(250,10,250),资金<=REF(资金,1),RGB(250,250,250)),LINETHICK3;
STICKLINE(资金<REF(资金,1),0,资金,8,0),COLORFF6600;
STICKLINE(资金<REF(资金,1),0,资金,6,0),COLORFF9900;
STICKLINE(资金<REF(资金,1),0,资金,4,0),COLORFFCC00;
STICKLINE(资金<REF(资金,1),0,资金,2,0),colorcyan;
STICKLINE(资金>REF(资金,1),0,资金,8,0),Color0000BF;
STICKLINE(资金>REF(资金,1),0,资金,6,0),Color0000DD;
STICKLINE(资金>REF(资金,1),0,资金,4,0),Color0909FF;
STICKLINE(资金>REF(资金,1),0,资金,2,0),Color3535FF;
VAR1:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
VAR2:=SMA(VAR1,6,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=10-VAR2+2*VAR3;
VAR5:=(3*VAR2+2*VAR3)/4;
VAR6:=ABS(ABS(VAR5)-ABS(VAR4));
VAR7:=ABS(ABS(VAR5)-ABS(VAR6));
阴跌区域: (VAR4-VAR7)/10,LINETHICK2,colorgreen;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,9);
VAR4:=LLV(LOW,4);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),4);
VAR6:=VAR5>REF(VAR5,1);
短线买:IF(COUNT(VAR6,4)=3 AND VAR6=0,10,0),ColorFF2FFF,LINETHICK1;
A1:=C/REF(C,1)>1.045;
A2:=C/HHV(H,34)<0.7;
A3:=MAX(FORCAST(COST(21)/L,3),SMA(COST(21)/L,3,1))>1.526 ;
大胆搏:(A1 AND A2 AND A3)*9.5,Color2FFFFF;