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.
Size:
Color:
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.
Size:
Color:
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.
Size:
Color: