Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 482 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Split the plotdate for better resolution #456518
11/26/15 23:37
11/26/15 23:37
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Hi

I am using plotdate and plotbars to go through the trades in the backtest so that I can improve the enter/exit conditions.
So I choose a period of time, I click test, I look at the picture and I do it again and again.
I wondered then if it is posible to split the backtest in differet periods of time so that the picture only correspond to that period of time. In that way each period would have the right resolution and all the candels could be observed.
Something like:
Quote:
function SplitBacktestResult(var Ar);
{
//here it is defined how to split the picture of the backtest
}
function run()
{
..
Array_Time[12] = {January, February, ... };
StartDate=2015;
SplitBacktestResult(Array_Time);
..
}

Re: Split the plotdate for better resolution [Re: nanotir] #456529
11/27/15 10:09
11/27/15 10:09
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
The first idea that comes to mind is starting zorro in loop in a batch file and passing the month number as a -d command line parameter.

You can alternatively set the resolution to a large size with the PlotWidth parameter. The image viewer is limited to about 4000 pixels, but the png image can have any size.

Re: Split the plotdate for better resolution [Re: jcl] #456531
11/27/15 10:37
11/27/15 10:37
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
I did not know that the png file can have any size. I will go for this solution so far.

Thanks


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