龙听期货论坛's Archiver

龙听 发表于 2022-11-2 14:00

【TPO_TotalBlocks】

[code]

var:
        nextPrice(0), summBlocks(0);

summBlocks = TPO_Levels_Value(TPO_Levels_Low, 0);
nextPrice = TPO_Levels_Low + ticksize;

while nextprice <= TPO_Levels_High begin
        summBlocks += TPO_Levels_Value(nextprice, 0);
        nextPrice = nextprice + ticksize;
end;

TPO_TotalBlocks = summBlocks;
[/code]

页: [1]