龙听期货论坛's Archiver

龙听 发表于 2022-11-2 11:17

【NRTime】

[code]Inputs: Rtime(NumericSimple);
  
Variables: intrabarpersist STime(0),intrabarpersist Res(false);
  
  Res = false;
  if STime <> Rtime then begin
     Res = true;
     STime = Rtime;
  end;
  
  NRTime = Res;
[/code]

页: [1]