can someone explain the divergence abit more
7 replies
Count-Roy
11 years ago #113412
so how does the EA look for Divergence, would that be, if set to 5, 1 back and the 5th back or 1 back against any the previous upto and including 5th back.
and if not the latter, than how would I go about asking to look for divergence between 1 and 10 back?
0
Mark Fric
11 years ago #129131
Have you checked the Bearish Divergence example (in the Home screen) ?
With the new Indicator Highest/Lowest functions it is simple.
Indicator Highest(…) returns the highest value of given indicator in the given lookback period and compares it with the very last value.
If for example
MACD(…)[1] > IndicatorHighest(10, MACD(…))[2]
this means that the last MACD value is higher than any MACD value in the previous 10 bars, so the indicator is going up.
Make another condition where you’ll check another indicator going wown and if both conditions are true (one goes up another goes down) this means it is a divergence.
Mark
StrategyQuant architect
0
Count-Roy
11 years ago #129195
okay, but does it also mean that there can be fluctuation in the past 10 bars. say the lows don’t get constantly lower for 10 bars straight, will it still count them in the 10 bars?
pffff. I must say for a newbie like myself it is very complex 🙁 even though I see the simplicity in which things can be thrown together.
0
Mark Fric
11 years ago #129279
it is actually quite difficult to recognize what is a divergence, there is no just one fixed way to recognize it.
yes, as you said it can also be fluctuations in data, the condition will be true also if not every low is lower.
Mark
StrategyQuant architect
0
whatscritical
11 years ago #130932
Mark – as a newbie where are the commands for IndicatorHighest / IndicatorLowest in EAW? Thx
0
Tomas Matejka
11 years ago #130981
Hello,
look at Functions – Indicator Highest/Lowest Value
0
whatscritical
11 years ago #130985
Tomas – thx but under the Functions section the software is only showing two indicator based functions:
Indicator Angle
Indicator Average
I am using version 2.01
Matt
0
Tomas Matejka
11 years ago #130998
It seems you don’t have the latest update installed but the EA Wizard should ask you to update to get these functions working. This could be a source of the problem since I experience the same problem. I will check that and let you know.
0
Viewing 7 replies - 1 through 7 (of 7 total)