龙听期货论坛's Archiver

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

【QualityBar】

[code]condition1 = (High < High[1] AND Low > Low[1]) OR
         (High > High[1] AND Low < Low[1]) OR
                 High - Low > Close * .1 OR
                Low > High[1] OR
                High < Low[1] OR
                Low = Low[1] OR
                High = High[1] OR
                High = Low OR
                Volume = 0 ;
If condition1 Then
                        QualityBar = False
                Else
                        QualityBar = True;
[/code]

页: [1]