1 Answer
<p id="isPasted">You could possibly make a global “struct” variable. Then inside of that, you can put commonly shared items like this.</p><p>Example: Structures and Classes - Data Types - Language Basics - MQL4 Reference</p><p>struct trade_settings{double take; // values of the profit fixing pricedouble stop; // value of the protective stop priceuchar slippage; // value of the acceptable slippage};</p><p>And you can probably place a struct inside of a struct like this pseudocode (but not 100% sure):</p><p>struct global_settings</p><p>{</p><p>struct trade_settings</p><p>struct draw_settings</p><p>struct alert_settings</p><p>ETC.</p><p>}</p><p>You just need to be careful/sure that you are actually updating the struct itself …</p>