Hi,
Hope somebody can help me.
I'm trying to incorporate an if command in my formula which goes:
if the colour of the current bar is, say green, then perform an action (eg. an alert). But I can't seem to get the code right.
I was trying getBarState (color.green) but it didn't seem to like color.
Can anybody help please?
Thx
Mephisto
Hope somebody can help me.
I'm trying to incorporate an if command in my formula which goes:
if the colour of the current bar is, say green, then perform an action (eg. an alert). But I can't seem to get the code right.
I was trying getBarState (color.green) but it didn't seem to like color.
Can anybody help please?
Thx
Mephisto
Comment