Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Chart Viewer Timeframe #487799
09/26/23 01:01
09/26/23 01:01
Joined: Sep 2023
Posts: 4
M
mcl Offline OP
Guest
mcl  Offline OP
Guest
M

Joined: Sep 2023
Posts: 4
Hello. I'm not sure if this question is totally beginner-level, but I'm having some difficulty visualizing the candlestick charts at timeframes shorter than 60 minutes. I am creating a strategy that uses timeframes shorter than 60 minutes (for example, 15 and 30 minutes) and I'd like to debug the strategy through the chart viewer. However, the closest zoom I can get is up to 1 hour on the candles.

I have checked the manual (also, in this forum) and found no reference to this, except that the indicators might have a displaced position in the chart viewer, but nothing explicit to know whether it is a mistake of mine or a feature not implemented in Zorro.

Thank you very much!

Re: Chart Viewer Timeframe [Re: mcl] #487801
09/26/23 09:38
09/26/23 09:38
Joined: Aug 2023
Posts: 19
I
izorro Offline
Newbie
izorro  Offline
Newbie
I

Joined: Aug 2023
Posts: 19
Are you setting the BarPeriod?

[Linked Image]

Re: Chart Viewer Timeframe [Re: izorro] #487806
09/26/23 18:31
09/26/23 18:31
Joined: Sep 2023
Posts: 4
M
mcl Offline OP
Guest
mcl  Offline OP
Guest
M

Joined: Sep 2023
Posts: 4
Yep. Let me show using BarPeriod = 1 (extreme example).

It still one candle per hour.

Attached Files Untitled.png
Re: Chart Viewer Timeframe [Re: mcl] #487809
09/27/23 00:48
09/27/23 00:48
Joined: Feb 2017
Posts: 1,809
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,809
Chicago
Probably because your history data has insufficient granularity. Always inspect your data.

Post your code in its entirety and a sample history file.

Re: Chart Viewer Timeframe [Re: AndrewAMD] #487810
09/27/23 01:43
09/27/23 01:43
Joined: Sep 2023
Posts: 4
M
mcl Offline OP
Guest
mcl  Offline OP
Guest
M

Joined: Sep 2023
Posts: 4
Thank you very much!

I checked the file and indeed, there was an error. This occurred due to the conversion from CSV to .t6, as I hadn't placed the separator ("+%Y/%m/%d,%H:%M%:S,f3,f1,f2,f4,f6") in %H%M%S.

Therefore, all the candles (within one hour) had the same hour and minute. Thank you very much!

Re: Chart Viewer Timeframe [Re: mcl] #487811
09/27/23 01:44
09/27/23 01:44
Joined: Sep 2023
Posts: 4
M
mcl Offline OP
Guest
mcl  Offline OP
Guest
M

Joined: Sep 2023
Posts: 4
I hope this explains why all my strategies were losing ones. laugh


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1