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
Notional Trade Value in Account Currency
- Vlada MultiCharts
- Posts: 293
- Joined: 22 Apr 2020
- Has thanked: 8 times
- Been thanked: 76 times
Re: Notional Trade Value in Account Currency
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.
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
Re: Notional Trade Value in Account Currency
Hi Vlada,
Great, thanks, and in code?
For example:
Are these functions returning values in the account currency?
A
Great, thanks, and in code?
For example:
Code: Select all
GetAccountInfo().AvailableToTrade
GetAccountInfo().Balance
A