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
2 registered members (EternallyCurious, howardR), 646 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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