could multicharts plot indicator on strategy equity curve?
-
- Posts: 23
- Joined: 07 Apr 2007
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
-
- Posts: 60
- Joined: 21 Dec 2007
- Has thanked: 3 times
- Been thanked: 9 times
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:
3. Design a new indicator “Plot Equity Curve” like this
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&ove ... xample.htm
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);
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);
- 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&ove ... xample.htm
- Attachments
-
- BNEqt02.gif
- (25.92 KiB) Downloaded 1400 times
-
- BNEqt01.png
- (86.81 KiB) Downloaded 1459 times
Re: could multicharts plot indicator on strategy equity curv
Hello
The poshpup dll link is dead.
Please could somebody upload it or send it to me?
Thanks
The poshpup dll link is dead.
Please could somebody upload it or send it to me?
Thanks
-
- Posts: 742
- Joined: 09 Apr 2010
- Location: Texas
- Has thanked: 483 times
- Been thanked: 274 times
- Contact:
Re: could multicharts plot indicator on strategy equity curv
I imported the TS "strategy Equity" indicator, works great. No dll needed.