I wanted to describe something I have been trying to do in hopes that some others could describe some terms for this that may help me find more information about it. I'm trying to treat indicators as if they report a magnitude, rather than a crisp signal. Chaos ensues.
I am trying to develop a strategy that is mostly automated in picking and ranking equities to trade, leaving for now to execute the orders. For a start, I intended just to run it every night, and queues orders to execute on market open. Since I'm doing this in the evening, I figured I'd have some time to crunch a whole lot of data before some picks would plop out the other end. To that extent, I've written a lot of code.
Everything I've found so far on indicators has talked about solid buy/sell signals, and nothing about the shades in between. And here I am, running these formulas on every stock, with some intention of ranking them. So instead of calculating a solid buy signal, I'm trying to rank them by how much potential gain I could realize. Then after doing all my crunching, I sort by the highest scoring picks and go for them.
I'll contribute something more concrete here since I personally hate it when people keep their cards too close to themselves. I spent a bunch of time implementing something based off of this MACD strategy:
http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_average_conve
This mentions three strategies for both buying and selling, and implies different magnitudes for each on how reliable they are the gains/losses one could realize with them. To try to rate the triggers, I'd estimate a percentage gain based on the slope of the fast EMA, and multiply it by 3, 2, or 1 based on the purported returns of each rule. The end result is a score, not a projected gain. However, the general idea is that the higher the score, the "better" it is.
Most wouldn't be surprised in backtesting that I'm not doing too well, as that's fairly usual. What would be surprising is if I apply this to individual stocks, I do come out fair; sometimes I lose, but so far I'm winning more than losing. When I open it up to all of NYSE, NASDAQ, AMEX, and ETFs, I get bled out. Most of the time, I trigger a 2% stop.
I noticed that the condition I applied the 3x multipler to wasn't doing well. IMO I don't think I am implementing that rule very well:
Generally if my macd crosses the reference line while the slope of the slow EMA is negative, then I was trying to trigger there. It just didn't look right when I studied individual charts. Anyways, after stripping that, I still don't do well scanning the whole market.
The rules I'm using to apply some magnitude to the indicator as basically coming out of my butt, so I hoped to find help in terms or links to stuff that are trying to do the same thing so I can do this all a lot better.
I am trying to develop a strategy that is mostly automated in picking and ranking equities to trade, leaving for now to execute the orders. For a start, I intended just to run it every night, and queues orders to execute on market open. Since I'm doing this in the evening, I figured I'd have some time to crunch a whole lot of data before some picks would plop out the other end. To that extent, I've written a lot of code.
Everything I've found so far on indicators has talked about solid buy/sell signals, and nothing about the shades in between. And here I am, running these formulas on every stock, with some intention of ranking them. So instead of calculating a solid buy signal, I'm trying to rank them by how much potential gain I could realize. Then after doing all my crunching, I sort by the highest scoring picks and go for them.
I'll contribute something more concrete here since I personally hate it when people keep their cards too close to themselves. I spent a bunch of time implementing something based off of this MACD strategy:
http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_average_conve
This mentions three strategies for both buying and selling, and implies different magnitudes for each on how reliable they are the gains/losses one could realize with them. To try to rate the triggers, I'd estimate a percentage gain based on the slope of the fast EMA, and multiply it by 3, 2, or 1 based on the purported returns of each rule. The end result is a score, not a projected gain. However, the general idea is that the higher the score, the "better" it is.
Most wouldn't be surprised in backtesting that I'm not doing too well, as that's fairly usual. What would be surprising is if I apply this to individual stocks, I do come out fair; sometimes I lose, but so far I'm winning more than losing. When I open it up to all of NYSE, NASDAQ, AMEX, and ETFs, I get bled out. Most of the time, I trigger a 2% stop.
I noticed that the condition I applied the 3x multipler to wasn't doing well. IMO I don't think I am implementing that rule very well:
A Positive Divergence occurs when MACD begins to advance and the security is still in a downtrend and makes a lower reaction low. MACD can either form as a series of higher Lows or a second Low that is higher than the previous Low. Positive Divergences are probably the least common of the three signals, but are usually the most reliable, and lead to the biggest moves.
Generally if my macd crosses the reference line while the slope of the slow EMA is negative, then I was trying to trigger there. It just didn't look right when I studied individual charts. Anyways, after stripping that, I still don't do well scanning the whole market.
The rules I'm using to apply some magnitude to the indicator as basically coming out of my butt, so I hoped to find help in terms or links to stuff that are trying to do the same thing so I can do this all a lot better.
