龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-1 13:36

【EveningStar】

[code]Inputs: Len(Numeric);
Variables: var0(False), var1(0), var2(False), var3(False);

var2 = Close > Open;
var3 = Close < Open;

var1 = AbsValue(Open-Close);
var0 = var1 > Average(var1,Len);
EveningStar = False;

If CurrentBar >= Len Then Begin
condition1 = var2[2] AND Minlist(Close[1],Open[1]) > Close[2] AND var3 AND var0[2] AND Close < Close[2] ;
        If condition1 Then
                EveningStar = True;
End;
[/code]

页: [1]