龙听期货论坛's Archiver

C
+
+


 微信: QQ:

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

【calcB】

[code][LegacyColorValue = TRUE];

Inputs: Length(Numeric);
Vars: X(0);

X = BarNumber;

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

calcB = Value1/Value2;

       


[/code]

页: [1]