title: set alerts in tradingview without having to rely on server side (only allowed 1 alert on free account)
body: <p>I have a free account on tradingview and they have a limit on the number of alerts you can set because apparently all alerts work off their server. it apparently gets set on the server and once the condition is met, it's the server that triggers the alert. </p>
  
  <p>But I can't stop thinking there has to be some kind of way to coax the pinescript and tradingview (or chrome) to trigger alerts locally. </p>
  
  <p>The following code will implement a wavetrend indicator</p>
  
  <pre><code>study(title="Wave Trend") // name of the indicator
  
  n1 = input(10, "Channel Length") 
  n2 = input(21, "Average Length") 
  obLevel1 = input(60, "Over Bought Level 1") 
  obLevel2 = input(53, "Over Bought Level 2") 
  osLevel1 = input(-60, "Over Sold Level 1") 
  osLevel2 = input(-53, "Over Sold Level 2") 
  
  ap = hlc3 
  esa = ema(ap, n1) 
  d = ema(abs(ap - esa), n1) 
  ci = (ap - esa) / (0.015 * d) 
  tci = ema(ci, n2) 
  
  wt1 = tci 
  wt2 = sma(wt1,4) 
  
  plot(0, title="Zero Line") 
  plot(obLevel1, title="Overbought Lv.1") 
  plot(obLevel2, title="Overbought Lv.2") 
  plot(osLevel1, title="Oversold Lv.1") 
  plot(osLevel2, title="Oversold Lv.2") 
  
  plot(wt1, title="WT Bull Line") 
  plot(wt2, title="WT Bear Line") 
  plot(wt1-wt2, style=area, transp=80, title="Histo") 
  plot(cross(wt1, wt2) ? wt2 : na, color = black , style = circles, linewidth = 3, title="WT Crossing Outline") 
  plot(cross(wt1, wt2) ? wt2 : na, color = (wt2 - wt1 &gt; 0 ? red : lime) , style = circles, linewidth = 2, title="WT Crossing Dots") 
  
  // Set Alerts for Bull/Bear Cross 
  wtCross = cross(wt1, wt2) 
  alertcondition(wtCross, title="Wave Trend Crossing", message="Wave Trend Crossing")
  </code></pre>
  
  <p>That last part is the alert that will require me to go to the alert settings on the right hand panel and manually set up the server side alert for the indicator. </p>
  
  <p>What I'm looking for is a way to trigger that alert in chrome on tradingview website, using pinescript or some other means. </p>
  
  <p>Any thoughts would be welcomed.</p>