Pine Editor tradingview

Viewed 55

Can someone tell me what I'm doing wrong?

alertcondition (ma_up, title = "Buy Condition", message = "Buy Condition Alert")

Add to Chart operation failed, reason: line 7: Undeclared identifier 'ma_up'

1 Answers

The compiler is saying that ma_up doesn't exist. If you show more of your code, we could look at where the problem is.

Related