请高手帮我把通达信DKCOL多空量柱(适用分时主图)公式,改为同花顺的分时主图公式,非常感谢!
发布网友
发布时间:2022-04-26 00:44
我来回答
共3个回答
热心网友
时间:2023-10-26 01:22
N:=10;//N--你自己定义即可
FF:=(C-REF(C,N))/REF(C,N);
STICKLINE(FF>0,DYNAINFO(3),DYNAINFO(3)*(1+FF),0.5,0),colorred;
STICKLINE(FF<0,DYNAINFO(3),DYNAINFO(3)*(1+FF),0.5,0),colorgreen;
热心网友
时间:2023-10-26 01:23
不用改,可以直接用在博易大师上。
热心网友
时间:2023-10-26 01:23
最新:IF(ISNULL(NEW),PRE,NEW);
IF (MARKETTYPE==64 OR MARKETTYPE==128 OR MARKETTYPE==232 OR MARKETTYPE==56 OR VOL<100)
{
b=SUBSAMEDAY(&VOL) ;
m=SUM(b*最新,0);
均价:IF(m>0,m/VOL,PRE);
}
ELSE IF(CODETYPE!=0 AND MONEY>0)
{
IF(ISNULL(MONEY) OR ISNULL(VOL) OR VOL==0 OR MONEY==0)
均价:PRE;
ELSE IF(VOL==VOL[1] OR MONEY==MONEY[1])
均价:均价[1];
ELSE
均价:MONEY/VOL;
}
DRAWGBK(MARKETTYPE==32 AND FORMATTIME(1)<10 AND TRADETIME>242),RGB(0,0,128);
N:=10;
FF:=(NEW-REF(NEW,N))/REF(NEW,N);
STICKLINE(FF>0,PRE,PRE*(1+FF),0.5,0),colorred;
STICKLINE(FF<0,PRE,PRE*(1+FF),0.5,0),colorgreen;
RETURN;
hx_star;
热心网友
时间:2023-10-26 01:22
N:=10;//N--你自己定义即可
FF:=(C-REF(C,N))/REF(C,N);
STICKLINE(FF>0,DYNAINFO(3),DYNAINFO(3)*(1+FF),0.5,0),colorred;
STICKLINE(FF<0,DYNAINFO(3),DYNAINFO(3)*(1+FF),0.5,0),colorgreen;
热心网友
时间:2023-10-26 01:23
不用改,可以直接用在博易大师上。
热心网友
时间:2023-10-26 01:23
最新:IF(ISNULL(NEW),PRE,NEW);
IF (MARKETTYPE==64 OR MARKETTYPE==128 OR MARKETTYPE==232 OR MARKETTYPE==56 OR VOL<100)
{
b=SUBSAMEDAY(&VOL) ;
m=SUM(b*最新,0);
均价:IF(m>0,m/VOL,PRE);
}
ELSE IF(CODETYPE!=0 AND MONEY>0)
{
IF(ISNULL(MONEY) OR ISNULL(VOL) OR VOL==0 OR MONEY==0)
均价:PRE;
ELSE IF(VOL==VOL[1] OR MONEY==MONEY[1])
均价:均价[1];
ELSE
均价:MONEY/VOL;
}
DRAWGBK(MARKETTYPE==32 AND FORMATTIME(1)<10 AND TRADETIME>242),RGB(0,0,128);
N:=10;
FF:=(NEW-REF(NEW,N))/REF(NEW,N);
STICKLINE(FF>0,PRE,PRE*(1+FF),0.5,0),colorred;
STICKLINE(FF<0,PRE,PRE*(1+FF),0.5,0),colorgreen;
RETURN;
hx_star;