Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[HELP] Price Action Improvement #464604
03/01/17 06:43
03/01/17 06:43
Joined: Nov 2016
Posts: 55
Taipei
ytc Offline OP
Junior Member
ytc  Offline OP
Junior Member

Joined: Nov 2016
Posts: 55
Taipei
Hi, I'm practicing the advise(PATTERN+FAST) function based on F.H.'s Oversampling.
I had tried several tests but didn't get any sound result(usually loss around 400p) for going further.
Those tests aimed for patterns with better predictive power. Things I had tried include(in combination)
1. modifying WFO training period from 0.5-5 years
2. oversampling from 2-6
3. adjusting PatternCount from 4-40
4. limiting trading period between UTC8-12 and other periods.

Could you give me any hint or advise to improve the fundamental performance of the system (without adding other filters or complicated things)?

Code:
function run()
{
  var Limit = 80;
  StartDate = 2007;
  EndDate = 2016;
  BarPeriod = 60;
  WFOPeriod = 252*24; //I had tried 252*24 - 5*252*24
  NumSampleCycles = 4; //I had tried 2-6
  set(RULES+ALLCYCLES+RECALCULATE+OPENEND);

  if(Train) Hedge = 2;
  else Hedge = 1;
	
  PatternCount = 20; // I had tried 4-40
  LifeTime = 3;
  
  if(between(hour(),8,12)) // I had tried different time periods
  {
    if(adviseLong(PATTERN+FAST+2,0,
      priceHigh(2),priceLow(2),priceClose(2),
      priceHigh(1),priceLow(1),priceClose(1),
      priceHigh(1),priceLow(1),priceClose(1),
      priceHigh(0),priceLow(0),priceClose(0)) > Limit)
        reverseLong(1);	
			
    if(adviseShort() > Limit)
      reverseShort(1);
  }
}


Re: [HELP] Price Action Improvement [Re: ytc] #464675
03/05/17 01:22
03/05/17 01:22
Joined: Mar 2017
Posts: 2
Atlanta, Georgia
B
BenjaminTurner Offline
Guest
BenjaminTurner  Offline
Guest
B

Joined: Mar 2017
Posts: 2
Atlanta, Georgia
jtc,

I've also played with this. I can't help you too much, but have you tried using 'NumWFOCycles' instead of WFOPeriod? This breaks it into equal cycles. For instance, NumWFOCycles=10; will split the time period into ten equal cycles.

If you do find some improvement, I would love to see it. I've been fiddling with this myself.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1