could multicharts plot indicator on strategy equity curve?

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 01 Apr 2008

Hi,

The current MC version can't do that. We are going to work on this feature in the nearest 3 months.

Best regards.

wullenweber helmut
Posts: 51
Joined: 21 Dec 2007
Has thanked: 1 time
Been thanked: 9 times

Postby wullenweber helmut » 22 Apr 2008

Take this four steps to plot the equity curve of your trading system with Multichart:

1. Download and copy Robert J. Linders PushPop.dll in the Multichart program directory

http://traders2traders.com/code&overviews/pushpop.htm

2. Add this to the end of your signal code:

Code: Select all

{Push Profit Results to indicator**********************************}

Inputs:      ReferenceNr(01);

DefineDLLFunc: "PUSHPOP.DLL", VOID, "PUSH", LONG, LONG, LONG, DOUBLE;
DefineDLLFunc: "PUSHPOP.DLL", VOID, "PUSHCLEAN", LONG;

If currentbar=1 then PushClean(ReferenceNr);

PUSH(ReferenceNr, DATE, TIME, NetProfit);

3. Design a new indicator “Plot Equity Curve” like this


Code: Select all

{POP Equity Curve Results to indicator*****************************}

Inputs:   System1(01);
{Numbers and names at your discretion here, just make sure to match the RefNumbers you've chosen for the "PUSH" values in your systems}


DefineDLLFunc: "PUSHPOP.DLL", DOUBLE, "POPLAST", LONG, LONG, LONG;
DefineDLLFunc: "PUSHPOP.DLL", DOUBLE, "POP", LONG, LONG, LONG;

Vars: InitCapital(100000), EQT(0);

EQT=POPLAST(System1,DATE,TIME)+InitCapital;

Plot1(EQT,"Net Equity",Yellow,Default,1);


4. Create a new chart as follows
- Data1: Market you want to trade, in this case Bund Future.
- Data2: Again Bund Future, hide display.
- insert Indikator “Plot Equity Curve” Subchart 2

Result is shown in BNEqt01 to compare with BNEqt02 from the strategy performance report.

Cheers

Helmut


Further explanation, how to plot equity curve of multiple systems, here:
http://www.traders2traders.com/code&overviews/PushPOPExample.htm
Attachments
BNEqt02.gif
BNEqt02.gif (25.92 KiB) Viewed 587 times
BNEqt01.png
BNEqt01.png (86.81 KiB) Viewed 646 times

skan
Posts: 34
Joined: 15 Jul 2010

Re: could multicharts plot indicator on strategy equity curv

Postby skan » 01 Dec 2010

Hello
The poshpup dll link is dead.
Please could somebody upload it or send it to me?

Thanks

sptrader
Posts: 619
Joined: 09 Apr 2010
Location: Colorado
Has thanked: 388 times
Been thanked: 226 times
Contact:

Re: could multicharts plot indicator on strategy equity curv

Postby sptrader » 01 Dec 2010

I imported the TS "strategy Equity" indicator, works great. No dll needed.

ofthomas
Posts: 5
Joined: 24 Jan 2011
Has thanked: 2 times

Re: could multicharts plot indicator on strategy equity curv

Postby ofthomas » 02 Feb 2011

any chance to get the indicator?


Return to “User Contributed Studies and Indicator Library”