Help on how to plot diversion trendlines on this indicator

Back to topics list To post a new topic, please log in or register
avatar
14
doktorfx 2015.05.02 00:04
 

Dear 'Forumites',

I've been backtesting this indicator called Symphonie_Extreme_Cycle_Indikator2 or Cycle identifier. And I noticed a very unique form of diversion that happens very rarely.

I wonder if someone out there could help to modify the indicator so that it draws trendlines at these diversion points. Yes I've tried and failed woefully..... Not much of a coder am I.

Anyway I've enclosed two screenshots of what this unique diversion looks like and of course one version of the indicator. 

                                                           

 

                                                   Diversion example 1 

 

   

                                                    Diversion example 2

 


 THe indicator is supposed to identify Major Peaks and troughs with the red and skyblue colors.

In the first example, there  appears a major low(skyblue) and then a minor low(gray down spike). But Price makes a lower low at the point of the supposed minor low.

In example 2, The red spike marks a Major High but price makes a new high after that and the indicator does not.

I hope someone understands my explanation.

THANKS 

 

 

 

 

 

Attached files:
  symphonie_extreme_cycle_indikator2.mq4  (12.50 KB)
avatar
13008
WHRoeder 2015.05.02 14:27 #
 
doktorfx: I wonder if someone out there could help to modify the indicator .. Yes I've tried
  1. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. You drew lines on the indicator, but the indicator only has +1/0/-1 values. Those lines are not on the indicator value. Until you can write the description of in concrete terms, no one can code it.
avatar
14
doktorfx 2015.05.04 00:01 #
 
WHRoeder:
doktorfx: I wonder if someone out there could help to modify the indicator .. Yes I've tried
  1. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. You drew lines on the indicator, but the indicator only has +1/0/-1 values. Those lines are not on the indicator value. Until you can write the description of in concrete terms, no one can code it.

Truth is I'm not a coder, I can tweak codes if I have a reference. I've tweaked a version of MACD to plot trendlines using a peak and trough technique I found online.

But this indicator is so different, I barely understand it......?

If I could afford it, I would pay but I can't; hence my request for assistance.

Yes I drew the trendlines in an attempt to convey a picture of where the trendlines should be plotted by the indicator. 

From what I understand, I need a way (arrays...? ) to identify/ differentiate between the last Major peak/trough and the current minor peak/trough....?

If I had that, I could probably tweak my way through. 

Like I said I'm not a coder so my explanation may not be very coherent.. 

avatar
14
doktorfx 2015.05.04 00:11 #
 

 

 I hope this is a better description of what I'm trying to achieve

 
The conditions for a bearish diversion are as follows:

1.A major high (red spike) is plotted as price makes a new high.
2.A minor low is plotted.
3.A minor high is plotted as price makes a new high, higher than the last major high =  This is a Diversion because a Major High (red spike) should be plotted not a minor high (gray spike).
 

 diversion 1

 

 

The conditions for a bullish diversion are as follows:
1.A major low (skyblue spike) is plotted as price makes a new low.
2.A minor high is plotted.

3.A minor low is plotted as price makes a new low, lower than the last major low. = This is a Diversion because a Major low (red spike) should be plotted not a minor low (gray spike). 

 

 

 diversion 2

 

Let me know if this clarifies the concept.

Once again, the trendlines were drawn in by myself to indicate the respective divergence points. 

Back to topics list  

To add comments, please log in or register