龙听期货论坛's Archiver

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

【MorningStar】

[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);
MorningStar = False;

condition1 = var3[2] AND Maxlist(Close[1], Open[1]) < Close[2] AND var2 AND var0[2] AND Close > Close[2] ;
If condition1 Then
        MorningStar = True;
[/code]

页: [1]