龙听期货论坛's Archiver

龙听 发表于 2022-11-2 10:29

【Leader】

[code]variables: var0( 0 ) ;

var0 = ( H + L ) * .5 ;

condition1 = var0 > H[1] or var0 < L[1] ;
if condition1 then
        Leader = 1
else
        Leader = 0 ;
[/code]

页: [1]