malbacho1 1 posts msg #46115 - Ignore malbacho1 |
7/30/2006 7:33:22 PM
I am trying to program a screen that finds divergence(angulation) between the price and DMA(13,6).
When price crosses the DMA(13,8), I want the slopes between the two to be greater the 45 degrees, and the price should not be close to the DMA line( the further away, the better).
Also, signal the counter trend with a Bullish or Bearish Divergent Bar.
I realize that I need two separate screens for this.
So far, I have written this for Bearish Screen:
Price crosses above DMA(13,8)
And Slope between 5 day Price and 5 day DMA(13,8) is 45
And Close < Open
It does'nt work too well, any suggestions?
|