飞狐大单分差DDZ指标公式股票软件源码如下: input:p1(170),p2(200); CC:=IF(CAPITAL<1,INDEXV*0.618,vol/3); H1:=VOL/CAPITAL*100; h2:=INDEXV/SUM(INDEXV,71)*100; hs:=IF(CAPITAL<1,h2,h1); JJ:=IF(CAPITAL<1,INDEXA/INDEXV/100,(OPEN+HIGH+LOW+CLOSE)/4); AA:=IF(BETWEEN(C,JJ,H) OR C=O,vol,0); BB:=IF(BETWEEN(C,JJ,L) OR C{www.gpxiazai.com 股票软件下载网_飞狐股票指标公式} DDZ:hs*(BB-(AA+CC))/(CC-(AA-BB))*P2/100,LINETHICK0; DDZ1:hs*(BB-(AA+CC))/(CC-(AA-BB))*P1/100,LINETHICK0; FILLRGN(DDZ>DDZ1,DDZ,DDZ1),Color0000FF; FILLRGN(DDZDRAWTEXTEX(c>0,1,10,50,'大单分差'),ColorFFFFFF; |