龙听期货论坛's Archiver

龙听 发表于 2022-11-3 11:40

【Momentum Increasing】

[code]
inputs: Price( Close ), MomLength( 14 ), MomAvgLength( 14 ) ;
variables: var0( 0 ) ;

var0 = Average( Momentum( Close, MomLength ), MomAvgLength ) ;

If var0 > var0[1] then
        begin
        PlotPaintBar( High, Low, "MomIncr" ) ;
        Alert ;
        end
else
        NoPlot( 1 ) ;
[/code]

页: [1]