How do I find out if longs/shorts/both are enabled?

 
How can I find out, from an EA, whether the EA is configured to allow trading longs, shorts or both? isTradeAllowed() tells me if any trading is allowed, but I need a little more detail...
(My apologies for the semi-duplicate post.)
 
no way. sorry
 
have the user tell it to you via 'extern' variable
 
no way. sorry


Thanks for the clear response.