Board logo

标题: 【calcB】 [打印本页]

作者: 龙听    时间: 2022-11-2 14:33     标题: 【calcB】

  1. [LegacyColorValue = TRUE];

  2. Inputs: Length(Numeric);
  3. Vars: X(0);

  4. X = BarNumber;

  5. Value1 = Summation(X * Close, Length) - (Length * Average(X, Length) * Average(Close, Length));
  6. Value2 = Summation(Square(X), Length) - (Length * Square(Average(X, Length)));

  7. calcB = Value1/Value2;

  8.        
复制代码





欢迎光临 龙听期货论坛 (http://qhlt.club/) Powered by Discuz! 7.2