title: Risk Management: If already long then do not place new order
body: <p>If the flag is already indicating long, there should not be a new flag indicating long. If flag does not indicate long evaluate the expression </p>
  
  <pre><code>longCondition = if (strategy.long) ? false: (rsi&lt;30) and (close&gt;moving_avg)
  
  shortCondition = if (strategy.short) ? false: (rsi&gt;70) and (close&lt;moving_avg)
  </code></pre>
  
  <p>Processing script...</p>
  
  <blockquote>
    <p>line 30: mismatched input 'shortCondition' expecting 'end of line
    without line continuation'</p>
  </blockquote>