I would like to color the chart area above a simple moving avg (sma) one color and below it a different color.
Within the an efs Study, the setBarBgColor() seems to color one color only from startY to endY and when a second setBarColor() is placed in the next code line only the second one functions.
I only got it to work when I ran the same efs script twice with different colors and start-end values. Neither the efsInternal not the efsExternal() have worked.
Is there a way to achieve the above in one efs script even if it calls two other scripts via the efsExtrernal() route??
Thank you.
Within the an efs Study, the setBarBgColor() seems to color one color only from startY to endY and when a second setBarColor() is placed in the next code line only the second one functions.
I only got it to work when I ran the same efs script twice with different colors and start-end values. Neither the efsInternal not the efsExternal() have worked.
Is there a way to achieve the above in one efs script even if it calls two other scripts via the efsExtrernal() route??
Thank you.
Comment