Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 946 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
Re: Please, help with Fractal indicator. [Re: Maruska] #414812
01/08/13 12:29
01/08/13 12:29
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
I also found the correct way to get the last breakout fractal:

var FracalUP = FractalHigh(series(priceHigh()),5);
var FractalDW = FractalLow(series(priceLow()),5);

To access fractals back history:

vars FractalUP = series(FractalHigh(series(priceHigh()),5));
vars FractalDW = series(FractalLow(series(priceLow()),5));

and then FractalUP[n] and FractalDW[n]

Re: Please, help with Fractal indicator. [Re: jcl] #414851
01/09/13 08:59
01/09/13 08:59
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
Ok, I am trying to test my strategy with zorro but it is not too easy.
Thare are a lot of settings to be considered: TICKS, PARAMETERS, FACTORS, NumWFOCycles, NumBarCycles, NumOptCycles, LookBack and so on; even slightly changing these values ​​the results are completely different.

Have you a template from which to run a reliable back test?

Re: Please, help with Fractal indicator. [Re: Maruska] #414852
01/09/13 09:25
01/09/13 09:25
Joined: Sep 2012
Posts: 99
T
TankWolf Offline
Junior Member
TankWolf  Offline
Junior Member
T

Joined: Sep 2012
Posts: 99
TICKS only needs to be used if you are entering with trade management functions. PARAMETERS is required if you have optimised variables in your script. FACTORS is used when calculating optimal margin. Most backtests should use NumWFOCycles anywhere from 6-12 and NumBarCycles can help generate more trades if not many signals are generated with your strategy for more reliable results. LookBack is needed in most cases especially when using indicators, and should be set at double your longest timeperiod used to generate your indicators. I dont believe there really can be a template cause which Modes to set depends on the script and strategy you are using.

Re: Please, help with Fractal indicator. [Re: TankWolf] #414856
01/09/13 11:28
01/09/13 11:28
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The best way to learn trade system development is learning by doing. Knowing many indicators is not very important, but knowing how to test a system is important. System development is empirical, so testing is everything.

First try to understand what the parameters are doing, from their description in the manual. Some of them are for special cases only, but most - especially those that are also used in the tutorials - are essential for properly testing a system. You'll find them, under different names, in any serious automated trade software.

If you are not sure what a certain parameters does and how it affects the system, experiment with it and check the performance sheet. If then there are still open questions, ask them here.

Re: Please, help with Fractal indicator. [Re: jcl] #414889
01/09/13 20:31
01/09/13 20:31
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
Just a question for now.

If I utilize a stop in my script, I must use the TICKS for testing? Otherwise zorro check the stoploss only on every bar close, right?

Re: Please, help with Fractal indicator. [Re: Maruska] #414911
01/10/13 10:41
01/10/13 10:41
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Not necessarily. Even without TICKS the stops are realistic, they use an intra-bar price curve approximation.

TICKS is more precise however, and is recommended when the trades are very short, f.i when many trades open and close within the same bar. TICKS should also be used when you use a tick based function for trade exit.

Re: Please, help with Fractal indicator. [Re: jcl] #414912
01/10/13 11:14
01/10/13 11:14
Joined: Nov 2012
Posts: 209
S
SFF Offline
Member
SFF  Offline
Member
S

Joined: Nov 2012
Posts: 209
I made a ever-increasing profit curve with no-tick based test but when I test it with a tick mode the strategy quick-changed to a loss strategy.

What is a character of those strategy?
in both test modes, The strategy needs to be profitable to ensure robustness?

Re: Please, help with Fractal indicator. [Re: SFF] #414914
01/10/13 11:23
01/10/13 11:23
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
No, the TICKS result always overrides the result without TICKS. So that strategy was indeed losing and the profit was possibly an artifact of inaccurate entry/stop approximations.

A robust strategy must show profits under all normal circumstances and test modes. It happens frequently that a test generates profit, but loses when you change some parameter a little. Such a system is not profitable.

Re: Please, help with Fractal indicator. [Re: jcl] #415315
01/17/13 10:26
01/17/13 10:26
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
Can I read the current market price (Ask & Bid) with zorro?

Re: Please, help with Fractal indicator. [Re: Maruska] #415322
01/17/13 11:41
01/17/13 11:41
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
var Ask = priceClose();
var Bid = Ask-Spread;

http://manual.zorro-trader.com/price.htm

Page 3 of 4 1 2 3 4

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