Symbol


Summary

Represents the current symbol provides access to its properties and certain methods

Syntax

public Symbol Symbol{ get; }

Example 1

var ask = Symbol.Ask;
var bid = Symbol.Bid;
var digits = Symbol.Digits;
var pip = Symbol.PipSize;
var maxVolume = Symbol.VolumeMax;
var minVolume = Symbol.VolumeMin;

Example 2

ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "myLabel", 10, 10);  

Example 3

volume = Symbol.NormalizeVolume(volume, RoundingMode.Down);