Handle null output case for vlm chart mxmn

pre_flow
Tyler Goodlet 2022-04-23 15:33:40 -04:00
parent 1fbfbf4e4c
commit 4cd8668059
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ def chart_maxmin(
mx_vlm_in_view = 0
if vlm_chart:
_, mx_vlm_in_view = vlm_chart.maxmin()
out = vlm_chart.maxmin()
if out:
_, mx_vlm_in_view = out
return (
last_bars_range,