《量价合一趋势》--(源码、 副图 、贴图)介绍
《量价合一趋势》--(源码、 副图 、贴图)
{《量价合一趋势》--会变色的趋势(源码、 副图 、贴图)}
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
MA(A,120),COLOR996633,POINTDOT;
MA(A,2),COLORYELLOW,POINTDOT;
游资:MA(A,3),COLOR3399FF,POINTDOT;
主力:MA(A,8),COLORGREEN,POINTDOT;
大户:MA(A,13),COLORRED,POINTDOT;
散户:MA(A,27),COLORF2E9E7,POINTDOT;
STICKLINE(MA(A,2)>0,0,MA(A,2),2,1),COLORYELLOW;
STICKLINE(游资>0,0,游资,2,1),COLOR3399FF;
STICKLINE(主力>0,0,主力,2,1),COLORGREEN;
STICKLINE(大户>0,0,大户,2,1),COLORRED;
STICKLINE(散户>0,0,散户,2,1),COLORF2E9E7;
RS1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))
*REFDATE(HHV(V,100),DATE)*1.3-REFDATE(HHV(V,100),DATE)/6;
STICKLINE(SMA(RS1,5,1)>SMA(SMA(RS1,5,1),10,1),SMA(RS1,5,1),
SMA(SMA(RS1,5,1),10,1),1,-1),COLORFF00FF;
STICKLINE(SMA(RS1,5,1)<=SMA(SMA(RS1,5,1),10,1),SMA(RS1,5,1),
SMA(SMA(RS1,5,1),10,1),1,-1),COLORGREEN;
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
EMA5:=EMA(C,5);
EMA13:=EMA(C,9);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),0),COLOR00FF00;
HRY33:=SQRT((HHV(HIGH,55)*LLV(LOW,55)));
TJ33:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
STICKLINE(TJ33,0,散户,5,0),COLOR008888;
STICKLINE(TJ33,0,散户,0.2,0),COLOR00FFFF;
DRAWTEXT(TJ33,散户,'牛'),COLOR00FFFF;
gd15674