Gamestudio Links
Zorro Links
Newest Posts
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:48
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
1 registered members (SBGuy), 652 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Detrend = TRADES #481889
11/13/20 17:20
11/13/20 17:20
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Hi,
from the manual: "Detrend trade results. The trade return is corrected by the average price slope of the current WFO cycle. This removes trend bias from a WFO test while keeping the properties of the price curve.".

Is there anybody that can me make an example to clarify the above statement?

Thank You in advance.

Re: Detrend = TRADES [Re: MatPed] #482268
01/21/21 09:37
01/21/21 09:37
Joined: Nov 2020
Posts: 6
M
MMK Offline
Newbie
MMK  Offline
Newbie
M

Joined: Nov 2020
Posts: 6
Detrend "tilts" the price curve to eliminate a long-term trend so that long an short trades can achieve the same profit in average. If you use a price curve with a positive long-term trend for training, the long trades will achieve higher profits and might spoil the outcome of your training.
This is the explanation from the Black Book.

I have explained this to myself in way that testing on a long trend price curve will overweight long trades compared to short trades (and vice cersa). This is not realistic as currencys do to not have any long-term trend compared to stocks.
If the real price curve changes the trend your strategy has been trained for it might fail.

Maybe this helps...

Re: Detrend = TRADES [Re: MMK] #482363
01/29/21 16:21
01/29/21 16:21
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Thank you for your reply. Can you make an example with few trades as example? This is what I am missing

Last edited by MatPed; 01/29/21 16:21.

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