jgV:=(BIGORDER(1,3)-BIGORDER(2,3))+(BIGORDER(1,2)-BIGORDER(2,2)); shV:=(BIGORDER(1,1)-BIGORDER(2,1))+((1-BIGORDER(1,1))-(1-BIGORDER(2,1))); A1:=MIN((COUNT(ORDER(2),0)),60); 大资金:EMA(jgV,A1)*A1,COLORMAGENTA; 小资金:EMA(shV,A1)*A1,colorgreen; 0,color333333; 我想的思路是吧资金就分作两条线 一、大单线(特大买-特大卖)+(大买-大卖); 二、小单线(中买-中卖)+(小买-小卖); 可是小单线就是、、、、不对 老师看看 辛苦辛苦 原公式是‘资金博弈'想把它改的简洁
爱约股解答:
BIGORDER(1)-BIGORDER(2)这个已包括大单和特大单
{}
jgV:=(BIGORDER(1)-BIGORDER(2))*VOL/CAPITAL*100;
shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol/capital*100;
A1:=MIN((COUNT(ORDER(2),0)),60);
大资金:EMA(jgV,A1)*A1,COLORMAGENTA;
小资金:EMA(shV,A1)*A1,colorgreen;