Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Nymphodora, AndrewAMD, TipmyPip, Quad, Imhotep), 847 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Equity Curve not Showing in Chart Viewer (v1.96) #475213
11/27/18 18:47
11/27/18 18:47
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
This might be a newbie question, but I wonder how I get the equity curve to show up in the Chart Viewer behind the price chart?

It seems that ever since upgrading to version 1.96 it is only displayed for BarPeriods of 240 or higher, not on smaller timeframes, which is weird.

ColorEquity or other variables also seem to have no effect.

Has anybody experienced something similar and/or knows a solution?

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: gamadeus] #475223
11/28/18 12:16
11/28/18 12:16
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
The "Equity" button shows the equity.

https://manual.zorro-project.com/chart.htm

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: jcl] #475230
11/28/18 18:34
11/28/18 18:34
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
I dont have Zorro S, so my chart viewer outputs just an image file with no buttons to interact with.
Or did I mistunderstand something there?

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: gamadeus] #475241
11/29/18 09:56
11/29/18 09:56
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
The equity curve is displayed on any timeframe. So if it's not the button, then it's something else in your script that prevents displaying it.

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: jcl] #475257
11/29/18 16:47
11/29/18 16:47
Joined: Nov 2018
Posts: 2
M
MutilatedDuck Offline
Guest
MutilatedDuck  Offline
Guest
M

Joined: Nov 2018
Posts: 2
It's displaying for some scripts and not others. No idea what makes the difference.

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: jcl] #475260
11/29/18 16:51
11/29/18 16:51
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
It has nothing to do with my script.

For example, I can take the Workshop 5 script and simply change BarPeriod to 60 or below to make it disappear.

Also I noticed that the euqity curve (when it is displayed) looks different in 1.96. It has the shape of a histogram rather than a curve. Maybe that is related?

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: gamadeus] #475263
11/29/18 17:23
11/29/18 17:23
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, it looks different, but no, I cannot confirm any problem with the equity curve of workshop 4. For making it look as in the old version, set the PL_FINE flag in PlotMode.

Can you post here the chart that you get with an _unchanged_ workshop 4 with BarPeriod at 60 and EUR/USD?

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: jcl] #475264
11/29/18 17:29
11/29/18 17:29
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Question: Did you remember to Train your script?

For reference, I disabled Zorro S, and this is what my Workshop 5 plot looks like with BarPeriod at 30.


Attached Files Workshop5_EURUSD.png
Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: AndrewAMD] #475268
11/29/18 17:46
11/29/18 17:46
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
Interestingly it seems to have to do with the PLOTNOW flag. if that is enabled, then I see the equity curve, if not then it looks like this:

Attached Files ws5.png
Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: gamadeus] #475271
11/29/18 18:19
11/29/18 18:19
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Originally Posted By: gamadeus
Interestingly it seems to have to do with the PLOTNOW flag. if that is enabled, then I see the equity curve, if not then it looks like this:
I get the equity curve in both cases (with the click of [Result] when PLOTNOW is disabled).

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: AndrewAMD] #475278
11/29/18 20:11
11/29/18 20:11
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
Ok also playing around with PlotMode does not help. Equity is simply not displayed when I click [Result] for BarPeriods below 240, which is really strange.
Anyway, as long as PLOTNOW works I am good.

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: gamadeus] #475299
12/01/18 08:29
12/01/18 08:29
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
I see that the equity curve is normally not displayed when it was negative at the end of the simulation. Maybe that was the problem? The workshops all display equity curves regardless of PLOTNOW, unless you've modified the system so that the equity is negative. Anyway we'll change this so that also negative equity curves are displayed.

Re: Equity Curve not Showing in Chart Viewer (v1.96) [Re: jcl] #475337
12/02/18 18:31
12/02/18 18:31
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
Yes exactly thats the problem. It only occurs when I decrease the timeframe, which renders the strategy unprofitable.
Thanks for taking care of this, in the interim I know how to work with it.

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1