title: How to take input values and assign them to several objects of the same class?(MQL4/5)
body: <p>I didn't find a better title for the question; however, I know that it was not clear enough.</p>
  <p>Sometimes a specific strategy should be applied for several sets of trades simultaneously, all managed by the same instance of the EA.</p>
  <p>In such cases, I make a class that does everything I want and is placed in an MQH file.</p>
  <p>There are a set of input variables that are repeated for several sets.</p>
  <p><a href="https://i.stack.imgur.com/IzOf3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IzOf3.png" alt="enter image description here" /></a></p>
  <p>In the example (above) you can see 3 sets of the exact same input parameters. However, in this EA there are 10 sets.</p>
  <p>Then I globally make 10 objects of the class and send these input values to each related object in OnInit().</p>
  <p><a href="https://i.stack.imgur.com/Cbao2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cbao2.png" alt="enter image description here" /></a></p>
  <p>And this is where my question comes from.
  Is there any better way to send these values to the objects of the class? maybe a smarter way?</p>
  <p>Thanks for reading.</p>
  <pre><code>enter code here
  </code></pre>