Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
plotting equity curve
Collapse
X
-
plotting equity curve
Is there a way to view the equity curve on an account or on historical backtests?Tags: None
-
Hello gordongekko,
Thanks for your inquiry.
Strategies can use OnAccountItemUpdate() to get updates on AccountItems which would include the account's CashValue.
An indicator will have to subscribe to AccountItemUpdate events for this information to be available. Then the data can be written to a variable and a plot can be updated in OnBarUpdate().
Backtesting in the Strategy Analyzer will not use an account and OnAccountItemUpdate will not update historically.
Publicly available documentation on accessing this information can be found below.
OnAccountItemUpdate - https://ninjatrader.com/support/help...itemupdate.htm
AccountItemUpdate - https://ninjatrader.com/support/help...itemupdate.htm
AccountItems - https://ninjatrader.com/support/help...ccountitem.htm
Please let us know if you have any additional questions.JimNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by TheWhiteDragon, 01-21-2019, 12:44 PM
|
4 responses
541 views
0 likes
|
Last Post
by PaulMohn
Today, 04:09 AM
|
||
Started by GLFX005, Today, 03:23 AM
|
0 responses
2 views
0 likes
|
Last Post
by GLFX005
Today, 03:23 AM
|
||
Started by XXtrader, Yesterday, 11:30 PM
|
2 responses
11 views
0 likes
|
Last Post
by XXtrader
Today, 03:07 AM
|
||
Started by Waxavi, Today, 02:10 AM
|
0 responses
7 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
14 views
0 likes
|
Last Post
by TradeForge
Today, 02:09 AM
|
Comment