title: Get an Indicator's signal in an Expert
body: <p>I am writing an Expert that is going to open trade on Buy/Sell signals (arrows) from <a href="https://www.forexracer.com/hull-moving-average-arrows-mt4/" rel="nofollow noreferrer">Hull MA indicator</a></p>
  <p>This is an example of my code:</p>
  <pre><code>double val = iCustom(_Symbol,PERIOD_CURRENT,&quot;hull-moving-average-arrows&quot;,34,0,2,1,5,0,0,0,0,0,1,2,233,234,1,1,1);
  </code></pre>
  <p>But it always returns the market price.</p>
  <p>How may I know if it's a sell or a buy signal?</p>
  <p>Example of the indicator signals:</p>
  <p><a href="https://i.stack.imgur.com/8sCE6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8sCE6.png" alt="enter image description here" /></a></p>