title: Is it possible to draw a pattern (XABCD) with Tradingview api?
body: <p>I am trying to build a harmonic pattern detection system. I would like to use Tradingview UI for frontend but I am wondering if it is possible to draw these patterns programmatically via their API.</p>
  
  <p>On the chart, we can draw it manually, choosing tool from pattern toolbox. For example:
  <a href="https://i.stack.imgur.com/1wI51.png" rel="nofollow noreferrer">bat pattern</a> </p>
  
  <p>Can we manage to draw it with code ?</p>