龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-2 12:45

【Ring】

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

condition1 = Low > Low[1] and Low[1] < Low[2] ;
If condition1 then
        var0 = 1
Else
        var0 = 0;

var1 = MRO(var0 = 1, 6, 1);

condition1 = var1 > 1 AND Low < Low[1] ;
If condition1 Then
        Ring = var1
Else
        Ring = -1;
[/code]

页: [1]