龙听期货论坛's Archiver

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

【ProbBetween】

[code]inputs:
        LowTarget( numericsimple ),
        HighTarget( numericsimple ),
        CurrentPriceValue( numericsimple ),
        VoltyVal( numericsimple ),
        BarsToGo( numericsimple ) ;

variables:
        var0( 0 ),
        var1( 0 ) ;

var0 = MaxList( LowTarget, HighTarget ) ;
var1 = MinList( LowTarget, HighTarget ) ;

ProbBetween = ProbBelow( var0, CurrentPriceValue, VoltyVal, BarsToGo )  - ProbBelow( var1, CurrentPriceValue, VoltyVal, BarsToGo ) ;
[/code]

页: [1]