Topic: Divergence
Is anyone able and willing to convert this indicator?
Thanks,
Create and Test Forex Strategies
You are not logged in. Please login or register.
Forex Software → Technical Indicators → Divergence
Is anyone able and willing to convert this indicator?
Thanks,
Just a note - ex4 is machine readable only. Source code is vital.
Just a note - ex4 is machine readable only. Source code is vital.
Please find the indicator enclosed.
I have a question - why the indicator uses low prices for finding both bullish and bearish divergence? Using low prices for bullish and high prices for bearish divergence makes more sense to me.
I have a question - why the indicator uses low prices for finding both bullish and bearish divergence? Using low prices for bullish and high prices for bearish divergence makes more sense to me.
To be perfectly honest I haven't investigated the exact method for calculating both divergences. For some reason its performance is better than satisfactory.
I am attaching another similar indicator so you may compare them.
For some reason its performance is better than satisfactory.
You tell it from a backtest or a manual trading result?
Manual trading only in this case.
Besides this indicator I would like to introduce a complete trading system with a proven track record but its much more difficult to implement as it involves pair trading and arbitrage. Is it possible to program arbitrage strategy in FSB?
Can you confirm 2 bar lag in the CCI indi until signal arrow appears?
For multipair trading, we need to wait until December, then some very interesting stuff should appear.
Yes, I confirm that such lag exists.
I played around with the code, turned out to be tough for me, but I got one half of the indi working. There's one major issue though - my version complies with the logic found in the source, that is if there was a trough 2 bars back, it finds the trough before that, then gets respective price values, compares the whole lot and gives the signal if necessary. Turns out my indi gives more signals than the MT version. To my observations MT indi should set more signals as well, but I can't say MT indi is the faulty one...
I think I'll finish the other half, whether it's worth posting later is up to you to say, really.
Thanks!
Well-well-well, finished up the second half, signals matched, so I edited the first half, and now everything seems to be in order. Find the indi below.
Footon, thank you for the indicator.
I have tested it and in my view this idea has some potential.
However, in order to be succesfull it needs to be combined with other indicators such as price action patterns and maybe some momentum indicators.
I attach the strategy for EURUSD 1H.
Market: EURUSD 1 Hour
Spread in pips: 20.00
Swap Long in pips: 2.00
Swap Short in pips: -2.00
Commission per lot at opening and closing in pips: 0.00
Slippage in pips: 0
Maximum open lots: 1.00
Entry lots: 1.00
Intrabar scanning: Accomplished
Interpolation method: Pessimistic scenario
Ambiguous bars: 0
Tested bars: 13978
Balance: 16604 pips (26604.00 USD)
Minimum account: -536 pips (9464.00 USD)
Maximum drawdown: 3872 pips (3872.00 USD)
Time in position: 19 %
[Strategy Properties]
A same direction signal - Does nothing
An opposite direction signal - Does nothing
Permanent Stop Loss - 500
Permanent Take Profit - 1100
Break Even - None
[Opening Point of the Position]
Bar Opening
Enter the market at the beginning of the bar
Base price - Open
[Opening Logic Condition]
CCI Divergence
[ A ] Long if bullish divergence
Smoothing method - Exponential
Base price - Open
CCI period - 8
Use previous bar value - No
[Opening Logic Condition]
Accumulation Distribution
[ A ] The AD rises
Use previous bar value - Yes
[Opening Logic Condition]
Vidya Moving Average
[ A ] The Vidya Moving Average rises
Base price - Close
Period - 2
Smooth - 5
Use previous bar value - Yes
[Closing Point of the Position]
Fractal
Exit long at an Up Fractal
Visibility - The fractal is visible
Vertical shift - 0
Footon, after numerous backtests and demo trading I may say that the concept is worth further investigation.
Would you be able to have another look at the second indicator (Divergence Petr) ?
Its main strenght against the CCI Divergence is its ability to plot a line which lasts for a couple of bars. It enables to mimic real-time divergence trading more realisticly.
Thanks,
I have found this video today. It explains the divergence concept for those who are not yet familiar with it.
Divergence Petr indi is able to mimimc this style of trading quite reasonably.
http://www.youtube.com/watch?v=4fcstUyhOZg
It would be great to think about taking this concept to another level and design Multi-timeframe (WTF) divergence indicator.
I tried that strategy with my data and EURUSD parameters and got this. Very different!
hello footon
iam trying to modify your CCI Divergence to work with candle code but not working , it always failed in compiling , the problem that i cannot inherit from custom indicator
attached here my trial to modify your code
How to fix it
Thanks in advance
Very tricky, I have no idea at the moment, sorry.
You cannot inherit a class that is not a part of FSB Assembly. This is due to .NET design.
Hello
i try to build the cc divergence by merging cci divergence and candlecode indicator into one but not working
any help to fix the code!!!
regards
by the way footon
when i looked inside cci divergence in calculation part , i found
double[] bullishDivergence = new double[Bars];
double[] bearishDivergence = new double[Bars];
double[] bearishDivergence1 = new double[Bars];
and there is no bullishDivergence1 !!! is that ok or the indicator missing some bullish divergence setups?
Regards
by the way footon
when i looked inside cci divergence in calculation part , i founddouble[] bullishDivergence = new double[Bars];
double[] bearishDivergence = new double[Bars];
double[] bearishDivergence1 = new double[Bars];and there is no bullishDivergence1 !!! is that ok or the indicator missing some bullish divergence setups?
Regards
You need to compare it source to figure that out.
Hello
i try to build the cc divergence by merging cci divergence and candlecode indicator into one but not workingany help to fix the code!!!
regards
40 Downloads for not working indicator !!!!!
Here is RSI Divergence "Footon original code" i only made the copy and past job
Thanks a lot for this indicator!
It has been showing up consistently in the generator. It's a good sign. I was write when I asked some time ago for more divergence indicators
Forex Software → Technical Indicators → Divergence
Powered by PunBB, supported by Informer Technologies, Inc.