Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to plot 2 series in the same NEW window #427608
08/10/13 16:03
08/10/13 16:03
Joined: Jul 2013
Posts: 522
D
dusktrader Offline OP
User
dusktrader  Offline OP
User
D

Joined: Jul 2013
Posts: 522
I'm sorry but I have another n00b question that I can't figure out here. I can't seem to find any examples of this either smirk

I have 2 series I'm plotting with plot() and I want to visualize when they cross each other.

If I use a command like this:
plot("EquityCurve",EquityCurve[0],1,GREEN);
plot("EquityLP",LowPass(EquityLP,66),1,BLUE);

...then it plots those series in separate windows. But I want to see them in the same window crossing over each other.

THANKS

Re: How to plot 2 series in the same NEW window [Re: dusktrader] #427609
08/10/13 16:10
08/10/13 16:10
Joined: Nov 2012
Posts: 126
B
blaub4r Offline
Member
blaub4r  Offline
Member
B

Joined: Nov 2012
Posts: 126
Try this one:

plot("EquityCurve",EquityCurve[0],1,GREEN);
plot("EquityLP",LowPass(EquityLP,66),0,BLUE);

1 means new window, 0 uses the last window

Re: How to plot 2 series in the same NEW window [Re: blaub4r] #427611
08/10/13 16:50
08/10/13 16:50
Joined: Jul 2013
Posts: 522
D
dusktrader Offline OP
User
dusktrader  Offline OP
User
D

Joined: Jul 2013
Posts: 522
Awesome, thank you! I may have mis-read the manual on this. It works now the way I wanted!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1