title: Why am I getting error: could not find function or function reference 'study'?
body: <pre><code>//DeMark_9_Indicator_Wealth_Insider
  study(&quot;DeMark9 Indicator&quot;,overlay=true)
  TD = close &gt; close[4] ?nz(TD[1])+1:0
  TS = close &lt; close[4] ?nz(TS[1])+1:0
  TDUp = TD - valuewhen(TD &lt; TD[1], TD , 1 )
  TDDn = TS - valuewhen(TS &lt; TS[1], TS , 1 )
  plotshape(TDUp==7?true:na,style=shape.triangledown,text=&quot;7&quot;,color=green,location=location.abovebar)
  plotshape(TDUp==8?true:na,style=shape.triangledown,text=&quot;8&quot;,color=green,location=location.abovebar)
  plotshape(TDUp==9?true:na,style=shape.triangledown,text=&quot;⚠️&quot;,color=green,location=location.abovebar)
  plotshape(TDDn==7?true:na,style=shape.triangleup,text=&quot;7&quot;,color=red,location=location.belowbar)
  plotshape(TDDn==8?true:na,style=shape.triangleup,text=&quot;8&quot;,color=red,location=location.belowbar)
  plotshape(TDDn==9?true:na,style=shape.triangleup,text=&quot;✅&quot;,color=red,location=location.belowbar)
  </code></pre>
  <p>On line 2, I receive a could not find function or function reference 'study' I don't know why. This is for TradingView, and its Pine Script.</p>