Notional Trade Value in Account Currency

Questions about MultiCharts .NET and user contributed studies.
ascales
Posts: 36
Joined: 06 Jan 2017
Has thanked: 4 times
Been thanked: 2 times

Notional Trade Value in Account Currency

Postby ascales » 22 May 2020

Hi there,

The calculation for the trade notional amount is a simple one: contract size * price

Is there a simple way of calculating this in the account currency based on the current active symbol on the chart? For example a EUR/USD forex trade and an account denominated in CHF?

I need this in order to implement a pre-trade check based on the available to trade amount and margin requirements.

Thanks in advance.
A

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: Notional Trade Value in Account Currency

Postby Vlada MultiCharts » 10 Jun 2020

Hello ascales,

For setting up the currency you can go File -> Preferences -> Trading Tab -> Preferred Currency.
Please refer to the attached screenshot for seeing the examples. The first chart has USD currency settings, and the second one has CHF.
Attachments
Account Currency_MultiCharts.png
(187.22 KiB) Not downloaded yet

ascales
Posts: 36
Joined: 06 Jan 2017
Has thanked: 4 times
Been thanked: 2 times

Re: Notional Trade Value in Account Currency

Postby ascales » 12 Jun 2020

Hi Vlada,

Great, thanks, and in code?

For example:

Code: Select all

GetAccountInfo().AvailableToTrade GetAccountInfo().Balance
Are these functions returning values in the account currency?

A


Return to “MultiCharts .NET”