I'm looking to develop a strategy to trade with a MBTrading account. I was wondering if it is possible to size my positions based on my total account size. Say risk 2% of my account for every trade. I can't seem to find a function for NinjaScript that will give me a double indicating the money I have in my account.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Account Size
Collapse
X
-
Account Size
Hi,
I'm looking to develop a strategy to trade with a MBTrading account. I was wondering if it is possible to size my positions based on my total account size. Say risk 2% of my account for every trade. I can't seem to find a function for NinjaScript that will give me a double indicating the money I have in my account.Tags: None
-
Thanks Josh,
I have another question. If I want to have a variable "Unit" which is equal to (1% of account)/(ATR * Dollars per point). How would I do that since in Forex, a point recommends different currencies in different pairings.
Comment
-
You can access the point value of your instrument through this: http://www.ninjatrader-support.com/H...ointValue.htmlJosh P.NinjaTrader Customer Service
Comment
-
I'm not sure PointVal. is what I want though since EURUSD seems to have a PointVal of 100000 and so do most other non JPY pairs. What I meant was 1 pip for EURUSD is 10 Euros which is roughly equal to 14.144. Since the USD vallue is different for each pair and some require conversion and others don't, 14.144 is the number I want to be given automatically.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment