Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
208 B
2
Indexable
Never
switch overnight_state
0 =>
    overnight_high := math.max(overnight_high,high)
    overnight_low := math.min(overnight_low,low)
    if today != daily_index
        overnight_state := 1
1 => na
2 => na