Currency
<< Click to Display Table of Contents >> Currency |
Indicates the currency configured for the Master Instrument properties.
A type of Currency which is configured for the current master instrument.
Bars.Instrument.MasterInstrument.Currency
if (Bars.Instrument.MasterInstrument.Currency != Currency.UsDollar) { //Prints if the currency is not UsDollar and indicates what currency it is Print ("Warning: Instruments base currency is not UsDollar, it is " + Bars.Instrument.MasterInstrument.Currency); } |