狐改通达信俩指标合一。
{量价指标}
{18日均量}
VV:=IF(V=500,AMOUNT/100000000,V);
MA18量:=MA(VV,18);
量差:MA18量-REF(MA18量,1)LINETHICK;
STICKLINE( 量差>0,量差,50,3,0)COLORRED;
STICKLINE(量差<0,量差,50,3,0)COLORBLUE;
{18日均价}
N:=5;
MA18价:=MA(CLOSE,N);
量价差:MA18价-REF(MA18价,1)LINETHICK;
STICKLINE( 量价差>0,量价差,50,3,0 )COLORYELLOW;
STICKLINE( 量价差<0,量价差,50,3,0 )COLORLIBLUE;