DislikedMaybe instead of trying to model price directly as a function of time you could try to model price as a function of past prices, indicator values, indicator values of n bars in the past, prices of other pairs, etc.Ignored
Machine Learning with algoTraderJo 939 replies
Algorithmic Quant Trading (Machine Learning + Stat-Arb) 25 replies
Forex with Machine Learning Software Project 1 reply
Machine Learning + Retail Forex = Profitable? (Quant) 1 reply
My most recent advancements into machine learning 16 replies
DislikedMaybe instead of trying to model price directly as a function of time you could try to model price as a function of past prices, indicator values, indicator values of n bars in the past, prices of other pairs, etc.Ignored
int f; int init(){ f = FileOpen("foo.txt", FILE_WRITE); FileWrite(f, "%|y" + CharToStr(9) + "a" + CharToStr(9) + "b" + CharToStr(9) + "c" + CharToStr(9) + "d" + CharToStr(9) + "e" + CharToStr(9) + "f" + "|"); } int deinit(){ FileClose(f); } void onTick(){ } void onOpen(){ FileWrite(f, iAC(NULL,0,0) + CharToStr(9) + iAC(NULL,0,4) + CharToStr(9) + iAC(NULL,0,8) + CharToStr(9) + iAC(NULL,0,12) + CharToStr(9) + iAC(NULL,0,16) + CharToStr(9) + iAC(NULL,0,20) + CharToStr(9) + iAC(NULL,0,24) ); } int start(){ static int numbars; onTick(); if (Bars == numbars){ return(0); } numbars = Bars; onOpen(); return(0); }
DislikedPS: it is possible to connect MQL to R for the purpose of fitting and predicting all models R has to offer and do other funny things by using the mql4-python bindings and rpy, but it is difficult to set up, someone needs to write a simple and direct mql4 - R interface.Ignored
DislikedThe best thing I can think of is Metatrader => MySQL => R
http://cran.r-project.org/web/packages/RMySQL/Ignored
DislikedUse this EA as a starting point. The resulting text file can be directly imported into eureqa.
[code]
int f;
int init(){...Ignored
QuoteDisliked
- Distance between Zigzags
- Distance between fractals
- Number of bars until a reversal
- Moving average direction....