How to plot two different portfolio Equities?
Author: abegy
Creation Date: 5/26/2017 3:29 PM
profile picture

abegy

#1
Hi Eugene,

I would like to display two different portfolio equities in the same chart. To do this, I try to adapt the script taken from the "Trading the equity curve" example. Unfortunately, I haven't succeeded. With the following script, I see that the two equities displayed are the same. Do you have an idea why ?

CODE:
Please log in to see this code.


Thanks for your help.
profile picture

Eugene

#2
Hi Alexandre,

Take a careful look at these identifiers, please:
CODE:
Please log in to see this code.

They're meant to be unique strings (different from one another) if you wish to plot multiple equities.
profile picture

abegy

#3
Oups... Thanks a lot Eugene !
profile picture

Eugene

#4
You're welcome.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).