Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (howardR, AndrewAMD, EternallyCurious, Petra, 1 invisible), 791 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
FR: Allow to fix the scale of DDs on a chart #483566
06/16/21 12:33
06/16/21 12:33
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
It is often difficult to compare the drawdowns from iteration to iteration during development because the DD scale is dynamically changing (as a % of chart? or...).

A special setting could allow to fix the scale to X$ with N steps.

Thank you.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483569
06/16/21 13:23
06/16/21 13:23
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Plot 2 flat lines at max and min when you want the chart not to scale.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483573
06/16/21 14:16
06/16/21 14:16
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
plot ("DDmin", -200,MAIN+AXIS2,BLACK+TRANSP); does not seem to do the job.

Actually, makes it worse: a line at -200 guarantees that the DD is at least that and Zorro adds even more room beneath the -200 line. (when the max DD is -100)

Is there a different way to make it work like you suggested?

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483574
06/16/21 14:25
06/16/21 14:25
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
It seems that Zorro sets max DD scale at appr 20-25% of the profit.
Can this be made adjustable?

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483575
06/16/21 17:02
06/16/21 17:02
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I don't even know what a DD scale is. I only know that if I could affect drawdown just by setting some scale, I'd be rich long since.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483576
06/16/21 17:54
06/16/21 17:54
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
By "DD scale" I meant the proportion of the main chart dedicated to displaying DD.

If profit is 20K, than the scale for displaying DD will be from 0 to -4-5K...or appr. 20-25%.

Can this please be made adjustable?

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483581
06/17/21 07:10
06/17/21 07:10
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
We can only adjust what exists, but drawdown has no "scale". It's simply the money you lost since the last peak.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483584
06/17/21 12:32
06/17/21 12:32
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
:-))

Thread Subj: Allow to fix the scale of DDs on a CHART.

By "DD scale" I meant the proportion of the main CHART dedicated to DISPLAYING drawdown.

Can the CHART drawdown AXIS scale be made adjustable, please?

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483585
06/17/21 13:23
06/17/21 13:23
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I believe we are still talking past each other. When you look at a chart, you see numbers on the right and numbers on the left. Left is the asset price and right is the money on your account. The axis runs from min to max. You can scale it all the way you want with your mouse. But that won't affect the proportions on the chart. Only way to reduce the DD proportion is writing a better strategy.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483586
06/17/21 14:02
06/17/21 14:02
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
...And the whole purpose of this simple Feature Request - a 9-message thread by now - was to make chart proportions - between profit and dd - adjustable.

Specifically, be able to fix the maximum displayed DD in absolute - in $$ - rather than it being determined as a "proportion" of the chart/ relative to profit (so it seems).

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483587
06/17/21 15:27
06/17/21 15:27
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Ok, I give up.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483588
06/17/21 15:42
06/17/21 15:42
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
jcl, c'mon...

On the attached pic, the DD AXIS SCALE is from 0 to -2000....making the drawdowns hardly visible..

I want to be able to set it to be from 0 to -1000...or to -500

Either with existing tools, or with a new feature.





Attached Files DD_axis scale.GIF
Last edited by Zheka; 06/17/21 15:53.
Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483589
06/17/21 16:08
06/17/21 16:08
Joined: Apr 2008
Posts: 586
Austria
Petra Online
Support
Petra  Online
Support

Joined: Apr 2008
Posts: 586
Austria
If your drawdown is hardly visible because of the large equity range, just don't plot the equity.

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

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483591
06/17/21 22:44
06/17/21 22:44
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Thanks, Petra.

This works, but just a drawdown chart is somewhat unusual to comprehend.

Why not have both looking properly?

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483596
06/18/21 06:39
06/18/21 06:39
Joined: Apr 2008
Posts: 586
Austria
Petra Online
Support
Petra  Online
Support

Joined: Apr 2008
Posts: 586
Austria
You heard it, DD is in account money units and has no own "scale".

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483597
06/18/21 11:54
06/18/21 11:54
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
I never asked for "DD's own scale" (or axis)..

Based on a profit number, Zorro somehow sets the right "account money unit scale" from -X to + Y.

And I am asking for a way to set that X myself.

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483600
06/19/21 07:58
06/19/21 07:58
Joined: Apr 2008
Posts: 586
Austria
Petra Online
Support
Petra  Online
Support

Joined: Apr 2008
Posts: 586
Austria
X is automatically set so that the chart shows the full range. For what purpose do you want not to see the full range, compared to just not plotting the equity?

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483602
06/19/21 12:41
06/19/21 12:41
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
I do want to see the full range, but current Zorro's definition of the "full range"/automatic scaling is kinda "imperfect"....If Equity range is -450 to +10000 ,why would Zorro have it from -2000?

IMHO, a more practically useful approach would be to add some 20% of each "side" separately, i.e. 20% to the maxDD below and 20% to the equity high above.

Then the right axis range will be from -540 to 12000, all information is clearly visible at a glance and there is no need to waste time commenting/un-commenting ColorEquity=0.


But my original feature request was about the ability to set a hard limit on the displayed DD range, in absolute.

With automatic scaling, gridlines change as well..and gridlines are quite useful to QUICKLY judge e.g. average drawdown or equity development for a certain market period...

Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483607
06/21/21 08:16
06/21/21 08:16
Joined: Apr 2008
Posts: 586
Austria
Petra Online
Support
Petra  Online
Support

Joined: Apr 2008
Posts: 586
Austria
Hmm if you set the begin to -540 instead of -2000 then the DD would look almost the same. So I do not really understand what you want to achieve.

Maybe you can paint an image to explain what you want and how it should look.



Re: FR: Allow to fix the scale of DDs on a chart [Re: Zheka] #483609
06/21/21 09:49
06/21/21 09:49
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
I hope it does not look almost the same. When set at -540, it will be discernible better (unlike in the pic above) and gridlines step will be smaller - so it we be possible to judge the average/max level of a dd in a certain period better.

On a second thought, I realize that if maxDD is very small relative to the total eq range, then indeed - as you say - such slight magnification will hardly make a significant difference and ColorEquity=0 is the way to go.

However, in most situations during development the relation is smaller and such suggested automatic scaling will be enough out of the box.

Ideally, the profit and dd should be scaled separately: fixed split of the chart space - 80(profit)/20(dd) , profit axis is from 0 to +(Y+15-20%) , dd axis scale is from 0 to - (X+15-20%)...both will be clearly visible, guaranteed
That's how other trading sw does it.

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1