I'm trading in Demo mode.
I'm developing an indicator for position sizing. I need to use TickSize, PointValue and Commission from the instrument.
I'm get the ticksize and pointvalue from Instrument.Masterinstrument class.
Althought in the help guide only are documented three properties (Name, InstrumentType and PointValue) and two methods (Compare() and Round2TickSize())) I'm try to get the commission with Instrument.Masterinstrument.GetCommission(Provider provider) and the provider list show some brokers like MB Trading, InteractiveBrokers and others, but do not list Zen-Fire, also there are Provider1, Provider2,..., Provider20.
The list also show Simulator as a provider, How is utilize this?
How can I get the commission that I wrote in the Zen-Fire in the miscelanoeus tab of Instrument Manager Dialog Box?
For the other hand, where can get documentation for a list of all options, to set in the Initialize() section, like ChartOnly; I saw this in other indicator. For example, ChartOnly is not included in the help guide.
Thank you very much.
Comment