龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-1 11:27

【BarAnnualization】

[code]variables:
        var0( BarType ),
        var1( SquareRoot( 12 ) ),
        var2( SquareRoot( 52 ) ),
        var3( SquareRoot( 365 ) ) ;

if var0 = 4 then
        BarAnnualization = var1
else if var0 = 3 then
        BarAnnualization = var2
else if var0 = 2 then
        BarAnnualization = var3 ;
[/code]

页: [1]