龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-2 13:02

【ShootingStar】

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

var0 = Minlist(Close, Open);
var1 = Maxlist(Close, Open);

ShootingStar = False;
If Currentbar > 1 Then Begin
condition1 = var1 < MedianPrice AND Open <> Close ;
        If condition1 Then Begin
                condition1 = High - var1 > (var1 - var0) * Tail AND var0 - Low < var1 - var0 ;
                If condition1 Then
                        ShootingStar = True;
        End;
End;
[/code]

页: [1]