龙听期货论坛's Archiver

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

【RD_Chaikin】

[code][LegacyColorValue = TRUE];

inputs:Len1(Numeric),Len2(Numeric);
vars : x(0);

for x = 0 to len2 - 1 begin
value1 = value1 + (v[x] + 100);
end;

if (high + .1 - Low) > 0 and Summation (Volume + 100,len1) > 0 Then
RD_Chaikin =
summation(IFF((Summation(((((C-L)-(H-C))/(H+.1-L))*V),Len1) / value1) > 0,1,0),Len2)/Len2
Else RD_Chaikin = 0;

[/code]

页: [1]