Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (alibaba, mayarik), 13,600 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bar missing bug? #489097
01/18/26 14:27
01/18/26 14:27
Joined: Jan 2023
Posts: 53
Q
qin Offline OP
Junior Member
qin  Offline OP
Junior Member
Q

Joined: Jan 2023
Posts: 53
The bar in the t6 file is 1-hour frequency bar.
I used the following code to print the bar information and found that no bars were output for 2025-12-27.
On 2025-12-28, only one bar's information was output. This is very strange. Could it be a bug?
The attachments include the t6 file and the test code test.c.


test.c:
Code
function run() 
{
	set(LOGFILE);
	assetList("AssetsBinancePerptest"); 
	History = "D:\\Zorro\\History\\binance_perp\\*.t6"; 
	
	StartDate = 20251225;
	EndDate = 20251229;	
	LookBack = 1;	
	BarPeriod = 60;
	asset("btc");
	
	watch("date",year(), month(),day(),"hour",hour(),"min",minute());
	watch("date","O",priceO(0),"H",priceH(0),"L",priceL(0),"C",priceC(0));
	printf("\n");
	
}


outputs:


Attached Files
binance_perp.zip (63 downloads)
test.c (105 downloads)
output.pngt6data.png
Last edited by qin; 01/18/26 23:41.
Re: Bar missing bug? [Re: qin] #489099
01/19/26 10:47
01/19/26 10:47
Joined: Jul 2000
Posts: 28,145
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,145
Frankfurt
BTC is traded 24-7, so you should allow bars on weekends and holidays. See "BarMode" in the manual.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1