Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 636 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
GER30 - Spread = *PIP; ? #422888
05/19/13 17:37
05/19/13 17:37
Joined: Apr 2013
Posts: 107
UK
G
Geek Offline OP
Member
Geek  Offline OP
Member
G

Joined: Apr 2013
Posts: 107
UK
Hi,

I am wondering what the correct spread value to input into Zorro for backtesting the GER30 via FXCM?

Is it?

0.5*PIP; 1*PIP; 5*PIP;?

The reason being is that it can have a difference for overall profits particularly user smaller time frames when back-testing.

Thanks.

Re: GER30 - Spread = *PIP; ? [Re: Geek] #422905
05/20/13 04:31
05/20/13 04:31
Joined: Nov 2012
Posts: 209
S
SFF Offline
Member
SFF  Offline
Member
S

Joined: Nov 2012
Posts: 209
Bigger number is good for MT4, but I don't know for Zorro.

Anyway Did you backtest with tick mode?

Re: GER30 - Spread = *PIP; ? [Re: SFF] #422906
05/20/13 08:47
05/20/13 08:47
Joined: Apr 2013
Posts: 107
UK
G
Geek Offline OP
Member
Geek  Offline OP
Member
G

Joined: Apr 2013
Posts: 107
UK
Ok, thanks..

Yes, i have backtested using TICKS and my strategy is still profitable, but not as much as before, in particular it is not as robust over long back testing periods. frown

Do you always have run the backtest's in TICKS mode? Is this really necessary?

I don't mind working for another month over the evenings to overcome this problem to try and get the similar result as before..

What is wrong with the conditions being met and then waiting to enter or exit at the start or end of the bar period? If your running in live demo mode and TICKS are not set but the strategy seems profitable as it was in the backtest what is wrong with this?.

From the manual:

"If this flag is not set, an intra-bar price curve approximation is used for simulating entry and exit. In this approximation, a stop loss is always triggered before a profit or trail target, and trades closed by trade functions are sold at the open price of the next bar. This causes a less accurate, normally slightly pessimistic test"

Without TICKS my system performs better, so why change it?

I wonder if you could separate the entry and exits, and stop etc so one some can run on ticks mode and the other runs on bar period?

Cheers.








Last edited by Geek; 05/20/13 09:11.
Re: GER30 - Spread = *PIP; ? [Re: Geek] #422912
05/20/13 10:48
05/20/13 10:48
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Rule of thumb: When your system performs different with and without TICKS, always test with TICKS. Z1 and Z2 use TICKS for the backtest.

TICKS can make a difference when your system often uses pending trades, or when it often exits a trade with a stop or takeprofit limit. TICKS won't make much difference with systems that mostly exit trades by script.

For the backtest, you need not set the Spread - the system does this automatically. You only need to set it when you want a particular spread for some reason.

Re: GER30 - Spread = *PIP; ? [Re: jcl] #422915
05/20/13 11:03
05/20/13 11:03
Joined: Nov 2012
Posts: 209
S
SFF Offline
Member
SFF  Offline
Member
S

Joined: Nov 2012
Posts: 209
Which is robust back testing with 99.9% tick data for MT4 and tick mode for Zorro?

Re: GER30 - Spread = *PIP; ? [Re: SFF] #422917
05/20/13 11:12
05/20/13 11:12
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The 99.9% testing in MT4 is mandatory because the last MT4 candle is tick based and thus normally incomplete. So without tick based testing, the MT4 backtest can be way off.

In Zorro the last candle is always complete, so tick based testing is not as necessary as in MT4. Still, it's better. You should use the TICKS flag under the conditions mentioned above.

Re: GER30 - Spread = *PIP; ? [Re: jcl] #422922
05/20/13 12:41
05/20/13 12:41
Joined: Apr 2013
Posts: 107
UK
G
Geek Offline OP
Member
Geek  Offline OP
Member
G

Joined: Apr 2013
Posts: 107
UK
Thanks for clearing up, now I understand.


Last edited by Geek; 05/20/13 12:42.

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