龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-3 13:50

【条件计数K线(Count Criteria PB)】

[code]
inputs: Criteria( Close > High[1] ), Length( 14 ), Occur( 7 ) ;

condition1 = CountIf( Criteria, Length ) >= Occur  ;
if condition1 then
        begin
        PlotPaintBar( High, Low, "CntCrtPB" ) ;
        Alert ;
        end
else
        NoPlot( 1 ) ;

[/code]

页: [1]