龙听期货论坛's Archiver

C
+
+


 微信: QQ:

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

【DarkCloud】

[code]Input: Len(Numeric);
Variables: var0(False), var1(0);

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

condition1 = Close[1] > Open[1] AND Close[1] - Open[1] > MaxList(High[1] - Close[1], Open[1] - Low[1]) ;
If condition1 Then Begin
        condition1 = var0[1] AND Open > High[1] AND Close <= MedianPrice[1];
        If condition1 Then
                DarkCloud = True;
End;
[/code]

页: [1]