Need some help please, can someone help me revise this code from add cloud to add vertical line? Thank you in advance.
AddCloud(
if use_backgroundcolor and
(cloudcount == 1 or cloudcount == 2) and
Ema21 > sma50
then Double.POSITIVE_INFINITY
else Double.NaN,
Double.NEGATIVE_INFINITY,
Color.GREEN, Color.GREEN);
AddCloud(
if use_backgroundcolor and
(cloudcount == 1 or cloudcount == 2) and
Ema21 > sma50
then Double.POSITIVE_INFINITY
else Double.NaN,
Double.NEGATIVE_INFINITY,
Color.GREEN, Color.GREEN);