Equity Curve plotting and feedback

Questions about MultiCharts .NET and user contributed studies.
orionsturtle
Posts: 7
Joined: 17 Feb 2014
Has thanked: 2 times

Equity Curve plotting and feedback

Postby orionsturtle » 11 Mar 2014

1) Does anyone have any C# code showing how to plot the intraday equity curve for a day trading system trading live?

2) Does anyone have any C# code showing how to stop auto trading if the equity curve intraday crosses above $500 and then crosses back below $400?

Thank you for any help or direction.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Equity Curve plotting and feedback

Postby Henry MultiСharts » 13 Mar 2014

Hello orionsturtle,

You can access the actual equity in backtesting at any given time this way: IStrategy.InitialCapital Property + ClosedEquity + OpenEquity.
In realtime you can access the Account.Equity Property

orionsturtle
Posts: 7
Joined: 17 Feb 2014
Has thanked: 2 times

Re: Equity Curve plotting and feedback

Postby orionsturtle » 13 Mar 2014

Okay,I'll see if I can figure it out using these snippets. Thanks for the help.


Return to “MultiCharts .NET”