Accessing properties set by user

 

Hi all

When you attach an expert adviser to the chart, or when you right click on the chart and use "expert adviser, properties", you get the properties dialog with the "common" and "input" tab. In the common tab under "common" you can set the drop down combo box to Long & Short positions, Only Long positions, or Only Short positions.

Does anyone know how to access this setting from within the expert adviser source code? I have looked all through the help file and various tutorials in vain. I want to be able to access the user input to this combo box so that I can control the operation of my expert advisor.