StatArbPro EA

collapse

Author Topic: StatArbPro EA  (Read 99667 times)

Offline marcs

  • Jr. Member
  • **
  • Posts: 82
  • Reputation Power: 18
  • marcs newbiemarcs newbiemarcs newbie
    • Awards
Re: StatArb Pro
« Reply #825 on: July 10, 2012, 01:23:43 pm »
Who is Robert?  Beyond what I've told you, you'll need to contact McLean directly. 
He's working on the 2.0 release so hey may not respond right away as he's trying to keep is word on the release....

In any case hope it works out for you....
I meant Mc Lean of course, my brain was in another forum when my fingers typed this  :D

Online odysseus11

  • Hero Member
  • *****
  • Posts: 1834
  • Reputation Power: 303
  • odysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guru
  • Who Dares Wins
    • Awards
Re: StatArb Pro
« Reply #826 on: July 10, 2012, 01:28:13 pm »
Hey jcy, no offense man but so many of your assumptions about SAP were wrong, I dont know where to begin. And you took a "couple" last week, and they went into DD, so you say the system has no real edge? Again, I dont even know where to begin there was so much in your post that was plain ill-informed. For example, how do YOU  know that SAP doesnt use co-integration? SAP states explicitly that it uses co-integration as ONE of the qualifying characteristics for 2 pairs to be a valid potential arb. And we ALREADY KNOW that the bands are fairly run-of-the-mill volatility bands based on the spread values - the point of what I personally posted was simply that the bands themselves were too jumpy and could use a smoothing setting, pretty simple concept - also, the lot sizing is NOT stationary nor fixed, it very clearly is weighted based on the calculations of the indicator ....

Really, read the manual before posting all that nonsense, its all there.



Offline jcy

  • Jr. Member
  • **
  • Posts: 6
  • Reputation Power: 1
  • jcy green
    • Awards
Re: StatArb Pro
« Reply #827 on: July 10, 2012, 01:50:11 pm »
Hey jcy, no offense man but so many of your assumptions about SAP were wrong, I dont know where to begin. And you took a "couple" last week, and they went into DD, so you say the system has no real edge? Again, I dont even know where to begin there was so much in your post that was plain ill-informed. For example, how do YOU  know that SAP doesnt use co-integration? SAP states explicitly that it uses co-integration as ONE of the qualifying characteristics for 2 pairs to be a valid potential arb. And we ALREADY KNOW that the bands are fairly run-of-the-mill volatility bands based on the spread values - the point of what I personally posted was simply that the bands themselves were too jumpy and could use a smoothing setting, pretty simple concept - also, the lot sizing is NOT stationary nor fixed, it very clearly is weighted based on the calculations of the indicator ....

Really, read the manual before posting all that nonsense, its all there.




No offence taken, but have you done any cointegration tests/balancing in R or Matlab?
Do you know how the indicator is coded?
You complain about the indicator being too "jumpy", the indicator is taking a FIXED value for each closing bar, so of course its JUMPY, you can smooth it with statistical methods, but is that what you really want given more problems it'll create? such as lag or inaccurate value?
And do you know why your trades are going back into DD? look at your volatility band, it fluctuates more rapidly than the middle band itself, and it's been doing so for a good 3 WEEKS. Is that not suppose to cause a loss of stationarity given previously "balanced" weights?

Offline jcy

  • Jr. Member
  • **
  • Posts: 6
  • Reputation Power: 1
  • jcy green
    • Awards
Re: StatArb Pro
« Reply #828 on: July 10, 2012, 02:36:13 pm »
Advertisement

I'm open to criticisms, we're all looking to learn, but please refrain from using "OMG IT SAYS ON THE [blank]".
My question to you then Odysseus, you claim the the hedge ratios are "calculated", how do you justify the current ratios are prefered over alternative ratios, which will give a different looking "wave" on your indicator?
Again, I'm only posting in hope to answer those who seem lost as to why they're in DD, why the system worked for a week, and stopped working.
Plus I'm in the same boat as all of you, I bought the system too. I'm just the first to step out and doubt the system, guess I should've prepared to take flames.
« Last Edit: July 10, 2012, 02:39:00 pm by jcy »

Offline BrettUK

  • Full Member
  • ***
  • Posts: 184
  • Reputation Power: 32
  • BrettUK traderBrettUK traderBrettUK traderBrettUK traderBrettUK traderBrettUK trader
  • Trade Smarter!!....Not Harder
    • Awards
Re: StatArb Pro
« Reply #829 on: July 10, 2012, 02:50:31 pm »
JCY,

Just to add to his post I have been studying cointegration for a while now and during this time I found the three main methods for testing are:

The Engle-Granger two-step method (which is actually 4 steps but hay who am I to make judgment) :)

The Johansen test (this being the most common)

Phillips-Ouliaris cointegration test

All the above are formulas that can be assigned to calculate any pair in whatever financial model, stocks, forex etc.

I am unable to comment on this product but if they are truly using any one of the above three I can only assume this would be used as the shell to select the best pairs along with other methods or steps of best selection, entry, exit etc.

The thing to remember about cointegration is once the formula produces the possible selection in any financial model it will then be a case of working your own steps to find the best way to trade them. Just working with cointegration is not enough you need further analysis to find the best way forward. People need to realise that cointegration is not a black box trading system.

I like JCY’s post but his point about “this system does not implement the use of cointegration” is a judgement that unless you have seen the workings in the background I don’t believe we can assume that by any means.

Cointegration  is a very workable solution within the financial sector that’s why big banks use this model and employ physicists and math mutations because it’s all about the formula which when broken down is numbers.

Hope this helps

Brett
« Last Edit: July 10, 2012, 02:59:25 pm by BrettUK »
www.AssuredForex.com
Together...We Trade Smarter!




Quote: If in doubt....Stay Out!!

Online odysseus11

  • Hero Member
  • *****
  • Posts: 1834
  • Reputation Power: 303
  • odysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guru
  • Who Dares Wins
    • Awards
Re: StatArb Pro
« Reply #830 on: July 10, 2012, 03:41:20 pm »
well first off to answer JCY, yes, I HAVE studied cointegration extensively.
My personal feeling is that the tests Brett mentions arent in fact the best, though they are extensively used.
Dickey-Fuller is the most comprehensive test IMO.

But that is not really relevant to this thread.

All we know about SAP is that it uses a "proprietary" blend of tests that *includes* cointegration testing. We dont know any more than that, so how can you pick it apart? You really cant. You want to use your own method of selecting the arbs, go right ahead.

Secondly, all I said was that in your post you made a lot of invalid and inaccurate assumptions and statements.
Mclean himself has said that the volatility bands are nothing extra special, the "special sauce" is the arb selections. You were talking about timeframes and their differences, and while thats true its also 100% irrelevant, SAP uses daily TF only. Period.

My own observation was that the volatility bands that are used would be better as triggers if they were SMOOTHER ( I realize why they are jumpy, but again that isnt relevant), and yes, as anyone who knows how smoothing of indicators works knows, that will of course introduce lag. My postulation was that I would rather have that entry lag than have the unsmoothed indicator bounce back out of the bands (which means I had an early entry that is now in DD sucking up margin unnecessarily). Any good double-smoothing snippet could be added to the indicator itself, and make the smoothing value user settable, so that XOden or whoever else feels that it is "fine" now can just set it to zero and get what we have now. This is a very common concept in indicators (smoothing), it isnt anything radical, and doesnt even address the other parts of the system. I remain a happy customer and so far the arb selection seems pretty good, but as its a daily system it will of course be a few months before we know what is what. I agree with XOden that risk management and proper sizing are important here, and I meant no offense to you at all JCY.

Offline jcy

  • Jr. Member
  • **
  • Posts: 6
  • Reputation Power: 1
  • jcy green
    • Awards
Re: StatArb Pro
« Reply #831 on: July 10, 2012, 04:12:05 pm »
Hi Brett,

Hope you are making good progress there. Studying this subject sure makes you think the Quants' 300k+ salaries are well deserved huh  ;D

I'm not sure how much I should discuss with you regarding this system, because it might violate their some sort of policy or something.

I won't comment on the different cointegration tests, because I don't consider myself too experienced with them either, and plus I don't believe it's the heart of the problem here.
I will take back any sort of assumptions I made and perhaps wait for a clarification.

Agreeing with most of what you said there, except everything's much harder done than said, haha.

I had been waiting and was sure someone was going to jump out before me, but I guess most people here just takes everything for granted.

Offline jcy

  • Jr. Member
  • **
  • Posts: 6
  • Reputation Power: 1
  • jcy green
    • Awards
Re: StatArb Pro
« Reply #832 on: July 10, 2012, 04:48:18 pm »
well first off to answer JCY, yes, I HAVE studied cointegration extensively.
My personal feeling is that the tests Brett mentions arent in fact the best, though they are extensively used.
Dickey-Fuller is the most comprehensive test IMO.

But that is not really relevant to this thread.

All we know about SAP is that it uses a "proprietary" blend of tests that *includes* cointegration testing. We dont know any more than that, so how can you pick it apart? You really cant. You want to use your own method of selecting the arbs, go right ahead.

Secondly, all I said was that in your post you made a lot of invalid and inaccurate assumptions and statements.
Mclean himself has said that the volatility bands are nothing extra special, the "special sauce" is the arb selections. You were talking about timeframes and their differences, and while thats true its also 100% irrelevant, SAP uses daily TF only. Period.

My own observation was that the volatility bands that are used would be better as triggers if they were SMOOTHER ( I realize why they are jumpy, but again that isnt relevant), and yes, as anyone who knows how smoothing of indicators works knows, that will of course introduce lag. My postulation was that I would rather have that entry lag than have the unsmoothed indicator bounce back out of the bands (which means I had an early entry that is now in DD sucking up margin unnecessarily). Any good double-smoothing snippet could be added to the indicator itself, and make the smoothing value user settable, so that XOden or whoever else feels that it is "fine" now can just set it to zero and get what we have now. This is a very common concept in indicators (smoothing), it isnt anything radical, and doesnt even address the other parts of the system. I remain a happy customer and so far the arb selection seems pretty good, but as its a daily system it will of course be a few months before we know what is what. I agree with XOden that risk management and proper sizing are important here, and I meant no offense to you at all JCY.

Again, no offence taken man.

So tell me then, if you were to model a basket on different time frames, given the distribution is stationary, let it be 10 years, 1 year, 1 month, or 1 day. That the basket would have no difference in weighting? Really? You don't have to care, but it's not irrelavent.

Regarding the arb selection, again, I'm tempted to make more assumptions, but I won't.

Do you mind answering my question from last post? regarding the hedge ratio being "optimal" compared to alternative ratios.

I think what fascinates me the most is how much you take everything for granted. You admitted knowing almost nothing about how the arbs are picked. While everything else is either "Mclean said" or "in the manual". The brightest Quant still has to tweak his own system.

No offence meant anywhere here, Cheers.

Offline BrettUK

  • Full Member
  • ***
  • Posts: 184
  • Reputation Power: 32
  • BrettUK traderBrettUK traderBrettUK traderBrettUK traderBrettUK traderBrettUK trader
  • Trade Smarter!!....Not Harder
    • Awards
Re: StatArb Pro
« Reply #833 on: July 10, 2012, 05:16:22 pm »
JCY,

Please do not apologise or take back anything on your post, your comments and assumptions are what this forum is all about. With what you are seeing in regards to the stat arb strategy maybe correct as you are using the system, my opinion is based only on my limited knowledge of cointegration., right or wrong, either way it’s clear to see you have analysed the current strategy and formulated your opinion based on that and what you know about cointegration. In my opinion it’s a good post. . Rep to you for your findings

Reading and studying is a lot easier than the doing, you are right there. We have been looking at R & MATLAB as a possible solution to our cointegration trading. That said we think we have come up with an alternative solution to both, but again it will require investigation and research. I have found myself drawn to this kind of trading as it’s something totally different to what I have done, work or not I will give it and go and see what me and the guys can come up with :)

odysseus11, I’m interested in your thoughts on this style of trading, if you have had experience with it I would love to have a chat with you sometime. If you are interested let me know and I will PM you my Skype ID and maybe we can arrange a chat to discuss further.

Regards

Brett
www.AssuredForex.com
Together...We Trade Smarter!




Quote: If in doubt....Stay Out!!

Offline XOden

  • Hero Member
  • *****
  • Posts: 532
  • Reputation Power: 91
  • XOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guruXOden grandmaster guru
    • Awards
Re: StatArb Pro
« Reply #834 on: July 10, 2012, 06:24:10 pm »
I think your observations on this product are not at all accurate based on your own personal experience and observations of one piece of a larger product you have no familiarity with nor understand that occurs outside the indicator itself.

You may understand your school project and its objectives, but I think you're a ways off on your opinions about SAP. 

In any regard, I will let McLean respond since it is his product/brainchild.

Thanks for your input however.



Hi guys,

First of all, I would kindly ask you guys to google up statistical arbitrage to get the slightest idea on how it's suppose to work. You should at least get to know why your trades fail when they do, and not do something over and over until you get a substantial amount of your account blown.

I was actually hoping for someone with a fair bit of knowledge in this area of statistics to comment on this system, but I guess they are all busy making their own algorithms or working in hedge funds/ on wall street. I do not claim to be an expert, as I'm merely a college student working on my own stat arb system, got stuck, and ran across this system hoping it would shed some light. There's alot of information I want to share, but I'll make it really concise.

First, despite what the website says, this system does not implement the use of cointegration, which is the meat of stat arb trading. The indicator on your chart is merely the spread ratio of the two pairs you entered, plotted as a time series along with some standard devation bands (I actually did not look into the code, it is not something of my interest). So when you trade the indicator, you are essentially trading another non-stationary time series. Any trades you take off those volatility bands are as effective as taking trades off the bollinger band on a daily/weekly chart. Granted I would not be surprised if you make some killing trades, but I think we can all agree that the band itself does not give you any real edge. (a lot of information here that I didn't go into detail, for example, you should notice the position size is fixed, a cointegrated pair on a certain time frame does not guarentee cointegration on a different time frame, the weight of the basket should definitely not be the same from the 1M to the weekly chart. Sorry I cannot explain this better, you're welcome to do some research, it's no magic.)

The point of this post is not trying to bash this system, I just cannot stand to see so many people paying money for a system only to lose money, and not know what's wrong. There are lots of posts here discussing watching price action, drawing trendlines, and the EUR problems etc etc. which IMO is not the heart of the problem, hence my post here. I took a couple of arbs last week with a crossing of the extreme volatility band, and still suffering a DD of -4%. In the meantime, I've close 2 arbs from my own system with +2.02% with another +2% floating, all with similar position sizes. Just some food for thought, I honestly believe it's still far from being a CONSISTENT system, but I think (and hope) I'm on the right track.

In conclusion, I believe this system, like many other systems out there, can be profitable with good MM, but it does not provide any real edge. Best of luck to you guys.
« Last Edit: July 10, 2012, 06:34:59 pm by XOden »

Offline statarbpro

  • StatArb Pro
  • Jr. Member
  • **
  • Posts: 72
  • Reputation Power: 17
  • statarbpro newbiestatarbpro newbiestatarbpro newbie
    • Awards
Re: StatArb Pro
« Reply #835 on: July 10, 2012, 06:50:36 pm »
Quick Note: I am diligently trying to roll out v2.0 so I don't have a lot of time to visit external forums. That said I was pointed to this message which is very misleading and really only constitutes a misinterpretation of what's going on here, so I felt the need to address it.

Quick note 2: No offense meant to you JCY, but your assumptions aren't quite right, so I'll use your post to reference them.

Hi guys,

First of all, I would kindly ask you guys to google up statistical arbitrage to get the slightest idea on how it's suppose to work. You should at least get to know why your trades fail when they do, and not do something over and over until you get a substantial amount of your account blown.

This is why we risk only a small portion on each trade. Betting the farm or over-leveraging any position or account will result in the same result. This system is no different. It's not a magic bullet that can overcome bad money management.

Quote
I was actually hoping for someone with a fair bit of knowledge in this area of statistics to comment on this system, but I guess they are all busy making their own algorithms or working in hedge funds/ on wall street. I do not claim to be an expert, as I'm merely a college student working on my own stat arb system, got stuck, and ran across this system hoping it would shed some light. There's alot of information I want to share, but I'll make it really concise.

First, despite what the website says, this system does not implement the use of cointegration,

Aaaaaand this is where you start to be misinformed about the system. It uses a multitude of ranking factors to include cointergration, correlation and covariance and a host of other historical factors in the picking algorithm.

Quote
which is the meat of stat arb trading.

True. No argument there.

Quote
The indicator on your chart is merely the spread ratio of the two pairs you entered, plotted as a time series along with some standard devation bands (I actually did not look into the code, it is not something of my interest).

Again, true. This is the entty / exit portion of the system. You'll see I reference this over and over in the beginning. The indicator is nothing without the picks.

But where is it that you think that the 2 pairs (or picks) come from? The picking algorithm. That picking algo contains all of the code for the cointergration model and all of the other ranking factors.

MT4 simply doesn't have this capability. Try programming an Augmented Dickey-Fuller in MQL4. Alternately try performing 500 simultaneous backtests on each tick for 3 years after performing the cointergration checks. Result 1, impossible. Result 2, a reboot of your box when your platform freezes up.

In short, neither is possible without external calls. Sure we could integrate something like R with the package and make it bulky, but that would only provide half of the solution that's not included in the indicator. This would not only make it bulky and require more local resources, but would do so without completing the solution. So we host that entire portion of the solution that you do not see in the indicator, which is the picks.

I can't express how much the indicator is NOT the solution. It's simply a means of entry and exit ONCE THE ALGO (NOT ABLE TO BE PART OF THE INDICATOR FOR THE REASONS ABOVE) HAS MADE THE PICKS.

That said, there has to be an entry exit system. This is the one we've chosen. It's tried and true, but without the picks, it's worthless. You can't just say, "Oh hey, these two pairs are cointergrated. I should trade them." There has to be an entry and exit trigger. This is the ONLY function that the indicator performs.

Quote
So when you trade the indicator, you are essentially trading another non-stationary time series. Any trades you take off those volatility bands are as effective as taking trades off the bollinger band on a daily/weekly chart.

The only scenario this would be true in would be if we were trading 1 pair. We are trading 2 pairs that are picked by the picking algo.

So lets use your example: where would you get these 2 pairs to trade off the bands? Darts at a dartboard? Possibly one of those chickens that plays tic-tac-toe? I'm not trying to be rude here, I'm just trying to illustrate the point, that that's what the algorithm does, and it's much better than a chicken or darts.

Quote
Granted I would not be surprised if you make some killing trades,

Hopefully there are no 'killing trades'. This is one of those get rich in a couple of years systems if you manage your risk correctly. Not one that claims to get you rich next month.

We are looking for small consistent gains in the neighborhood of 7-15% a month. We are currently in a state of drawdown. This I sill not deny, but trade according to the money management rules and it's all very manageable and all part of trading.

Quote
but I think we can all agree that the band itself does not give you any real edge.

Again I agree.

But again I must state that the indicator is an entry exit system for the picks generated by the algo. The algo gives you the edge. This entire post of yours is predicated on the ideas that:

a) The entire algo is coded in to the indicator
b) The two pairs to arb magically appear somewhere.

This entire post is missing one key element. Where do the picks come from? Answer this and you've answered your entire line of questioning about the 'edge' of the system.

Quote
In conclusion, I believe this system, like many other systems out there, can be profitable with good MM, but it does not provide any real edge.

OK... one last time. The indicator doesn't. The algo does. I hope at this point we're clear.

And even though I didn't quote your part about your own system, I encourage you to do 2 things:

1) Stick with it. You might be the next Jim Simmons.
2) Give up coding anything more than the entry / exit logic in to MQL4. It's limiting and a fruitless effort. Stick with the industry tools. You'll be much happier and in the end, if there is success to be had, you'll get there a lot faster.
« Last Edit: July 10, 2012, 07:02:11 pm by statarbpro »


Offline statarbpro

  • StatArb Pro
  • Jr. Member
  • **
  • Posts: 72
  • Reputation Power: 17
  • statarbpro newbiestatarbpro newbiestatarbpro newbie
    • Awards
Re: StatArb Pro
« Reply #836 on: July 10, 2012, 06:51:39 pm »
Hey jcy, no offense man but so many of your assumptions about SAP were wrong, I dont know where to begin. And you took a "couple" last week, and they went into DD, so you say the system has no real edge? Again, I dont even know where to begin there was so much in your post that was plain ill-informed. For example, how do YOU  know that SAP doesnt use co-integration? SAP states explicitly that it uses co-integration as ONE of the qualifying characteristics for 2 pairs to be a valid potential arb. And we ALREADY KNOW that the bands are fairly run-of-the-mill volatility bands based on the spread values - the point of what I personally posted was simply that the bands themselves were too jumpy and could use a smoothing setting, pretty simple concept - also, the lot sizing is NOT stationary nor fixed, it very clearly is weighted based on the calculations of the indicator ....

Really, read the manual before posting all that nonsense, its all there.




No offence taken, but have you done any cointegration tests/balancing in R or Matlab?
Do you know how the indicator is coded?
You complain about the indicator being too "jumpy", the indicator is taking a FIXED value for each closing bar, so of course its JUMPY, you can smooth it with statistical methods, but is that what you really want given more problems it'll create? such as lag or inaccurate value?
And do you know why your trades are going back into DD? look at your volatility band, it fluctuates more rapidly than the middle band itself, and it's been doing so for a good 3 WEEKS. Is that not suppose to cause a loss of stationarity given previously "balanced" weights?

FYI the ability to add lag is introduced in 2.0.

And with that I must get back to the 2.0 rollout which is 48 hours behind schedule at this point.
« Last Edit: July 10, 2012, 06:59:46 pm by statarbpro »


Offline statarbpro

  • StatArb Pro
  • Jr. Member
  • **
  • Posts: 72
  • Reputation Power: 17
  • statarbpro newbiestatarbpro newbiestatarbpro newbie
    • Awards
Re: StatArb Pro
« Reply #837 on: July 10, 2012, 08:30:12 pm »
Again, no offence taken man.

So tell me then, if you were to model a basket on different time frames, given the distribution is stationary, let it be 10 years, 1 year, 1 month, or 1 day. That the basket would have no difference in weighting?

One last thing. This tells me that you've been on the MT4 to R project website. Good for you. It's a great starting point.

The fault in this assumption is that we're trading basket of pairs. 2 pairs is all the arb is. Positions are normalized for the currency pairs and deposit currency and calculated for a 10% fluctuation in price. No additional weights are necessary.


Offline jcy

  • Jr. Member
  • **
  • Posts: 6
  • Reputation Power: 1
  • jcy green
    • Awards
Re: StatArb Pro
« Reply #838 on: July 10, 2012, 08:45:58 pm »
Again, no offence taken man.

So tell me then, if you were to model a basket on different time frames, given the distribution is stationary, let it be 10 years, 1 year, 1 month, or 1 day. That the basket would have no difference in weighting?

One last thing. This tells me that you've been on the MT4 to R project website. Good for you. It's a great starting point.

The fault in this assumption is that we're trading basket of pairs. 2 pairs is all the arb is. Positions are normalized for the currency pairs and deposit currency and calculated for a 10% fluctuation in price. No additional weights are necessary.

Augmented Dickey-Fuller Test
Dickey-Fuller = -2.8961, Lag order = 0, p-value = 0.1986
Dickey-Fuller = -1.528, Lag order = 0, p-value = 0.7664
Dickey-Fuller = -2.1896, Lag order = 0, p-value = 0.5002

1 year, 3 months, 1 month ADF test results on one of your algo picks

Online odysseus11

  • Hero Member
  • *****
  • Posts: 1834
  • Reputation Power: 303
  • odysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guruodysseus11 grandmaster guru
  • Who Dares Wins
    • Awards
Re: StatArb Pro
« Reply #839 on: July 11, 2012, 12:09:14 am »
bravo.
BTW some great double-smoothing code is done in MT4 by Mladen on most of his indicators at forex-tsd.com
I am looking for a snippet now - smoothing is easy, but code that smooths the most with the least lag is obviously what we are looking for, and not all smoothing code is equal, Im sure you know. Mladen has a great ability to code it a certain that I have always found optimal.....anyway, here is a link to the commonly used double-smoothed stochastic just as a reference for how to apply double smoothing to a "normal" indicator. I'm sure your coder is already well aware of these techniques.
http://codebase.mql4.com/4075

Hey jcy, no offense man but so many of your assumptions about SAP were wrong, I dont know where to begin. And you took a "couple" last week, and they went into DD, so you say the system has no real edge? Again, I dont even know where to begin there was so much in your post that was plain ill-informed. For example, how do YOU  know that SAP doesnt use co-integration? SAP states explicitly that it uses co-integration as ONE of the qualifying characteristics for 2 pairs to be a valid potential arb. And we ALREADY KNOW that the bands are fairly run-of-the-mill volatility bands based on the spread values - the point of what I personally posted was simply that the bands themselves were too jumpy and could use a smoothing setting, pretty simple concept - also, the lot sizing is NOT stationary nor fixed, it very clearly is weighted based on the calculations of the indicator ....

Really, read the manual before posting all that nonsense, its all there.





No offence taken, but have you done any cointegration tests/balancing in R or Matlab?
Do you know how the indicator is coded?
You complain about the indicator being too "jumpy", the indicator is taking a FIXED value for each closing bar, so of course its JUMPY, you can smooth it with statistical methods, but is that what you really want given more problems it'll create? such as lag or inaccurate value?
And do you know why your trades are going back into DD? look at your volatility band, it fluctuates more rapidly than the middle band itself, and it's been doing so for a good 3 WEEKS. Is that not suppose to cause a loss of stationarity given previously "balanced" weights?


FYI the ability to add lag is introduced in 2.0.

And with that I must get back to the 2.0 rollout which is 48 hours behind schedule at this point.

 

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Subscribe to our weekly newsletter... (we do not send out those spammy email ads, I promise!)