Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/20/24 06:09
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
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:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (henrybane, flink, Edgar_Herrera), 748 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Test - watch noncomplete data #480285
05/30/20 05:38
05/30/20 05:38
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

I have this script:
Code
function run()
{
	NumCores = -1;
	StartDate 	= 20200406; 
	BarPeriod = 15;	// 15 min
	LookBack = 200;
	MaxLong = MaxShort = 15;
        LifeTime    = 16;
	assetList("Assets4");
	if (is(INITRUN))
		assetHistory(Asset,0+1);
	if (is(FIRSTINITRUN)){
		assetHistory(Asset,1);
		printf("\n%s after init------------------\n",Asset);
	}
	
	TakeProfit = 16*ATRS(90);
	Stop = 12*ATRS(60);
	ticket();
	
}


I trying the function assetHistory.
1. delete symbol_2020.t1 in history folder
2. FCE ticket - open orders - not important
3. start the TEST ( is a connected to MT4 )

in the MT4 / output in Strategy TAB:
Quote

2020.05.30 05:26:20.549 Zorro EURUSD,M15: Send 300 AUDNZD bars at 2020.01.03 12:00 (96373 - 96673)
2020.05.30 05:26:20.503 Zorro EURUSD,M15: Send 300 AUDNZD bars at 2020.01.03 16:59 (96074 - 96374)
2020.05.30 05:26:20.471 Zorro EURUSD,M15: Send 300 AUDNZD bars at 2020.01.03 21:59 (95775 - 96075) <--
2020.05.30 05:26:20.440 Zorro EURUSD,M15: Send 300 AUDNZD bars at 2020.01.06 03:08 (95476 - 95776) <--
2020.05.30 05:26:20.409 Zorro EURUSD,M15: Send 300 AUDNZD bars at 2020.01.06 08:07 (95177 - 95477)
2020.05.30 05:26:20.378 Zorro EURUSD,M15: Send 300 AUDNZD bars at 2020.01.06 13:06 (94878 - 95178)



Zorro skip from 2020/06/01 to 2020/03/01!! - without any notice

I trying many times, but every the same. MT4 broker is Global PRime

Re: Test - watch noncomplete data [Re: Grat] #480309
05/31/20 09:46
05/31/20 09:46
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
You know that normally there is no trading at the weekend?


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1