isbuyorder的逻辑应该是下面的逻辑吧?可发现有些情况下myisbuyorder和isbuyorder的值不一样,不知逻辑到底是怎么样的?
myisbuyorder:=0;
if close=ref(askprice,1) then
myisbuyorder:=1;
if close=ref(bidprice,1) then
myisbuyorder:=0;
主动性买盘的成交分笔不一定都是价格往上涨的。
你还需要再好好补充盘口知识
主动性买盘的成交分笔不一定都是价格往上涨的。
你还需要再好好补充盘口知识
还是对不上,源代码如下:
myisbuyorder:=0;
if ref(close,1)=ref(askprice,1) then
myisbuyorder:=1;
if ref(close,1)=ref(bidprice,1) then
myisbuyorder:=0;
主买卖:isbuyorder,linethick0;
主买卖2:myisbuyorder,linethick0,coloryellow;
请帮忙解答,谢谢。
就是说我写的myisbuyorder和实际的isbuyorder逻辑是一致的,对么?
是