Split the plotdate for better resolution

Posted By: nanotir

Split the plotdate for better resolution - 11/26/15 23:37

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);
..
}
Posted By: jcl

Re: Split the plotdate for better resolution - 11/27/15 10:09

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.
Posted By: nanotir

Re: Split the plotdate for better resolution - 11/27/15 10:37

I did not know that the png file can have any size. I will go for this solution so far.

Thanks
© 2024 lite-C Forums