Handle null output case for vlm chart mxmn
parent
aee44fed46
commit
69282a9924
|
@ -106,7 +106,9 @@ def chart_maxmin(
|
||||||
|
|
||||||
mx_vlm_in_view = 0
|
mx_vlm_in_view = 0
|
||||||
if vlm_chart:
|
if vlm_chart:
|
||||||
_, mx_vlm_in_view = vlm_chart.maxmin()
|
out = vlm_chart.maxmin()
|
||||||
|
if out:
|
||||||
|
_, mx_vlm_in_view = out
|
||||||
|
|
||||||
return (
|
return (
|
||||||
last_bars_range,
|
last_bars_range,
|
||||||
|
|
Loading…
Reference in New Issue