|
CPTX81
 New User
Posts: 1
Joined: 1/5/2015
User Profile |
Hello everyone!
I am looking for help, creating a system/strategy that will base entry and exit points off divergence- particularly in reference to the indexes.
For example, I am trying to make a "buy signal" happen when the S&P index ($SPX) breaks away from the price movement that a symbol is doing, like the ETF for the iShares Russell 2000 - IWM.
The attached chart (using the "Typical Price Indicator" overlaying "$SPX"....) with this post, has 1 example of this. Beginning early June 2014, both the IWM and $SPX began very similar price movement. Once the price movement changed about a week into the month, the $SPX began to decline in value- yet IWM went up.
If I can use these large "breaks" or departure in price as an entry condition/filter, it could help me out a great deal.
Thank you so much for your help!!!
Best Regards,
CP
Attached file : IWMExampleDivergence.png (45KB - 375 downloads)
|
|
Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
Unfortunately that divergence is an "optical illusion". The scale of the candles is auto-adjusted based in the time period in view, and the scale of the orange line is also auto-adjusted, independently of the candle scale.
To see this, I suspect that if you adjust the view (using the sliders not by dragging the edges of the chart with the mouse) so that Oct is on the far right, and May is on the far left (ie panned right and zoomed), then the Orange line will appear to shift upwards and accordion out vertically, relative to the candles.
That is, OT determines the highest and lowest values of the candles within the desired date view range, then sets the price axis to just barely contain that high low range. It does the same thing independently for the Orange line (without showing the Orange line scale).
So, the relative positioning of the candles vs the line will vary depending on the date range selected. What you are seeing is an effect of auto-scaling.
[Edited by Jim Dean on 1/5/2015 1:29 PM]
|
|
Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
However, it's possible to mathematically determine when the candles are moving faster or slower than the line, in a given direction, relative to historical values for those two independent data streams. This can be done in several different ways.
But - it won't match what you've shown in your snapshot (except by coincidence).
|