Hi,
I could not be able to figure out how to color the background price panel when the condition = 0.
I got a SyntaxError: "invalid assignment left-hand side" when I ran the statement below in an efs:
if(vMACD.getValue(MACDStudy.MACD) = 0 )
setBarBgColor(Color.yellow,0);
With the inequalities "< " or ">", I got the efs colors the background price panel ok but I would like to color it when the condition = 0.
Could someone pls give me some explaination why I got that SyntaxError and may be some guidance on how I would do it.
Any help is greatly appreciated.
I could not be able to figure out how to color the background price panel when the condition = 0.
I got a SyntaxError: "invalid assignment left-hand side" when I ran the statement below in an efs:
if(vMACD.getValue(MACDStudy.MACD) = 0 )
setBarBgColor(Color.yellow,0);
With the inequalities "< " or ">", I got the efs colors the background price panel ok but I would like to color it when the condition = 0.
Could someone pls give me some explaination why I got that SyntaxError and may be some guidance on how I would do it.
Any help is greatly appreciated.
Comment