Upside Down QQQQCrash
Author: rmccall
Creation Date: 2/6/2009 4:27 PM
profile picture

rmccall

#1
Currently the QQQQCrash strategy Buys when the market makes a statistically significant move DOWN and then Sells on the first profitable day or after 20 days of holding an unprofitable position based on the parameter settings.

Can someone modify the code to reverse the strategy so it operates in a bull market whereas now it signals in a bear market. I think it would Buy when the market makes a statistically significant move UP(reverse of above) and then Sells on the first profitable day or after 20 days of holding an unprofitable position based on the parameter settings.

The current code is...
CODE:
Please log in to see this code.

profile picture

Cone

#2
This may work very well for bear-market rallies, but those 20 days of holding positions in a prolonged bear market will be very painful. Good luck!

CODE:
Please log in to see this code.
profile picture

rmccall

#3
Wow, bad idea. You are so right. Even with my modifications, it really was a bad idea. The logical change was simple, sorry I missed it.

Being able to sailing upwind does not mean that you can sail downwind while upside down, you just end up sinking very fast.

Thanks for taking the time to look at it.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).