How to set custom symbol property "Allow Negative Prices"

 

Hi Guys,

I created an EA that do Long&Short operations based on ratio and also based on spread between two symbols.

In order to view what is happening on the graph I create custom symbols to represent the Long&Short. However, creating the custom symbol by my program I didn't found how to set the property "Allow negative prices" to yes.

Do you know guys what is the SymbolInfo that change this property.

Thank you in advance.

Reason: