FX5_Divergence

0
(0)
姓名:
FX5_Divergence
作者: FX5 (2007.06.05 13:54)
評分: 48
已下載: 20547
下載:
FX5_Divergence 1
FX5_Divergence_V2.0.mq4 (12.2 KB) 看法
FX5_Divergence 1 FX5_Divergence_v1.5.mq4 (14.6 KB) 看法
FX5_Divergence 1 FX5_Divergence_v1.1.mq4 (12.6 KB) 看法
FX5_Divergence 1 FX5_Divergence_V2.1.mq4 (11.3 KB) 看法
Divergence is a powerful tool for detecting price reversal points from support and resistance zones. It usually gives us a relatively early signals compared to those given by moving average indicators. It can be successfully applied to many technical indicators and end up with good results.
This indicator will plot divergence lines between the price and OsMA indicator. It will give buy/sell signal according to the type of divergence that was detected. The indicator also is capable of drawing divergence lines for the whole history prices located within a specific chart.
FX5_Divergence 5

Bullish divergence will be plotted with green lines on both price and OsMA idicator windows.

FX5_Divergence 6

Bearish divergence will be plotted with red lines on both price and OsMA idicator windows.

 

I hope this indicator prove to be a useful tool.

Changes to Version 1.5:

  • A bug was fixed in updating divergence lines as the live quotes flow;
  • A sound Alert feature was added to the indicator and can be enabled or disabled from indicator settings;
  • Classical divergence is plotted in Solid Style (continues) 線條, while hidden divergence is plotted in Dot Style (interuppted) 線條.

Changes to version 2.0:

  • The code was rebuilt from scratch to make the indicator runs much faster.
  • The indicator now doesn't repaint any of its signals.
  • Some improvements in the signal identification algorithms.

版本 2.1:

  • I attached the last file by mistake. This is the one I wanted to attach. It is the last version. I am designating it version 2.1.

 

38 評論: 1 2 3 4 發表新評論, 請 登錄 或者 登記

Thank you very much for these excellent divergence indicators. Could you make one that draws regular an hidden divergences for Schaff Trend Cycle?
08.11.2013 00:32 grayghost

How to detect that arrow?

I want to use for ea

和, is there anyone have version 3 at mq4 format?

thank you

[email protected]

13.05.2012 23:14 raden.batman

we need divers only if line up above price and line down lower price

and needs bar's color depend of previous bar - if previous bar of indi bigger, lower or 平等的

22.01.2010 14:15 eddy

FX5_Divergence 7

 

I modified the code to work with the internal indicators.

 

03.09.2009 19:55 TheRumpledOne

你好, FX5.

I can suggest some cosmetic code changes. I think, this may make code a little more readable.

1. In deinit()

改變

       如果(StringSubstr(標籤, 0, 14) != "DivergenceLine")
           continue;
       ObjectDelete(標籤);

       如果(StringSubstr(標籤, 0, 14) == "DivergenceLine")
           ObjectDelete(標籤);

 

2. In IsIndicatorPeak()

改變

           如果(OsMA[我] > OsMA[轉移])
              break;

           如果(OsMA[我] > OsMA[轉移])
              return(錯誤的);

(and so in IsIndicatorTrough()). 

14.08.2008 12:57 Sajan

HI FX5

Nice and very good Indicator. can you make the same idea for Indicators Stochastic 勢頭 and Rsi ?

it will be very powerful maybe in one window?

any way

thank for this one

10.07.2008 20:38 StarLight

Can you make the arrow appear in real time? not like the last bar behind it.
28.05.2008 12:03 Togu

I have questions. I've installed the latest fx5 divergence indicators one that repaints and one that doesn't but I happen to miss the signal all the time. Does the arrow appear after one bar has already closed?

i wanted to SELL on one signal but it appears it only showed just after openning another bar I've been monitoring last couple of hours and now I see the arrow. It seems like I'm very late at least one bar or two. Does any1 misses the arrow? Because I've been thinking to sell on a signal right after the arrow bar closes.

28.05.2008 12:02 Togu

FX5,

 

Could you possibly help by putting the Sendmail function into the indicator for when there is a signal? I tried but my coding ability is less than optimal !! Great indicator....using it to make nice $$$ in futures markets!!!! Maybe a quick explanation of how/when this indicator works? Thanks for sharing your work!!

Daniel

26.03.2008 19:59 forexman05

is there a chance you could create a code that gives the arrow on the close of the divergence candle. I find when using this with other indicators it creates some great opportunities

這篇文章有多有用?

點擊一顆星即可對其進行評分!

平均評分 0 / 5. 計票數: 0

目前還沒有投票! 成為第一個評價這篇文章的人.

很抱歉這篇文章對您沒有用!

讓我們改進這篇文章!

告訴我們如何改進這篇文章?



作者: 外匯維基團隊
我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.