Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, Edgar_Herrera), 804 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Separate entry and exit parameters optimization #472159
04/12/18 15:42
04/12/18 15:42
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline OP
Member
kujo  Offline OP
Member
K

Joined: Dec 2017
Posts: 129
Halifax, NS
Hello,

According to the strategy development process outlined at the Financial Hacker blog it's recommended to optimize entry parameters first, test the strategy, perform reality check and only then proceed with the exit parameters optimization.
So, in my case I want to optimize entry parameters with reversal exits first. Then apply a StopLoss and optimize the second time.

Blog says about the exit parameters optimization:
Quote:
Do not touch anymore the entry algorithm and its parameters. You’re now optimizing the exit.



Questions:
1. I wonder how to optimize only exit parameters in my case and don't touch entry parameters? Does Zorro provide a mechanism to train several groups of parameters separately (i.e. optimize parameters of the 2nd group using optimal parameters of the 1st group; similar to separate training of RULES and PARAMETERS)?

2. Or should I train only entry parameters first and then entry & exit parameters together? But in my case, entry parameters in the 2nd optimization run will depend on default exit parameters. So entry parameters will be different compared to the 1st optimization run. Therefore, "don't touch entry parameters" requirement won't be fulfiled. What is recommended?

Thank you!

Last edited by kujo; 04/12/18 15:44.
Re: Separate entry and exit parameters optimization [Re: kujo] #472295
04/18/18 22:20
04/18/18 22:20
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline OP
Member
kujo  Offline OP
Member
K

Joined: Dec 2017
Posts: 129
Halifax, NS
up

Re: Separate entry and exit parameters optimization [Re: kujo] #472301
04/19/18 10:12
04/19/18 10:12
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
I don't know what type of algo you're trying to code, but in general the procedure is like you have stated.

First code your entry logic (with simple static exit), optimize entries (with WF and Montecarlo), add some exit logic, perform optimization (WF and Montecarlo always), compare, change exit if necessary, repeat, etc...

You must just add optimize instructions in your exit logic, keeping the optimizes in entries as well. First only entries and then the two of them.

The goal is to compare and see if your exit logic improves the ratios.

Maybe someone else can tell you something i don't know.

Last edited by brax; 04/19/18 10:15.
Re: Separate entry and exit parameters optimization [Re: Brax] #472306
04/19/18 11:27
04/19/18 11:27
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline OP
Member
kujo  Offline OP
Member
K

Joined: Dec 2017
Posts: 129
Halifax, NS
Thank you, brax! It makes sense.

What do you mean by static exit?

Please see 2 examples:
1st example: First optimize entry parameters + static stop=4*atr(100). Then optimize entry parameters with stop=optimize(4,2,10)*atr(100). No problem here, optimized entry parameters will be the same in both optimization cycles.

2nd example: first optimize entry parameters + reversal exit (I don't know whether we can name this exit static but it's definitely simple). Then optimize entry parameters with stop limit. There was no stop limit on the first step. So when we optimize the second time with stop, the entry parameters will be different.

Do you understand my concerns?

Re: Separate entry and exit parameters optimization [Re: kujo] #472388
04/24/18 15:18
04/24/18 15:18
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
Hi kujo.

The thing is simple. It's not a question of entry parameters not changing, it's just a question of not altering the entry logic and focusing on the exit.

If you execute the code provided in steps 5 and 8 of the article, the entry parameters do change, despite having changed only the exit logic and not the entry one.

Every time you alter the logic (in any sense), parameters will surely change. The point is just setting an initial logic, see performance and after that, test several exit criteria and compare results.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1