龙听期货论坛's Archiver

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

【RangeLeader】

[code]variables: var0( 0 ) ;

var0 = ( H + L ) * .5 ;

condition1 = ( var0 > H[1] or var0 < L[1] ) and Range > Range[1] ;
if condition1 then
        RangeLeader = 1
else
        RangeLeader = 0 ;
[/code]

页: [1]