Hello BestTraderEv,
I need your help another time ....
many years ago, a programmer friend of mine named GIO translated my divergence code for Metastock into MT5. I had thought about forming divergences by counting the number of bars up to a maximum of 9, but the best divergences form between 3, 4, and 5 bars.
Now, after so many years, I would like to make the following changes:
1) add the condition that, for a positive divergence, the Stochastic is ABOVE its 9 simple moving average, and that for a negative divergence, the Stochastic is BELOW its 9 simple moving average.
2) I would like a push notification to occur when this particular divergence appears.
3) I would like a push notification to occur when the bar following the divergence is inside (in this case, the movement is even more violent).
4) The cusp must also appear on the inside bar.
My Metastock code for divergence followed by an inside bar is on lines 159 and 163.
To be honest, I also asked for help on another forum but, after the initial compliments for this particular indicator, in the end no one made the requested changes so I trust in you.
thank's in advance
I need your help another time ....
many years ago, a programmer friend of mine named GIO translated my divergence code for Metastock into MT5. I had thought about forming divergences by counting the number of bars up to a maximum of 9, but the best divergences form between 3, 4, and 5 bars.
Now, after so many years, I would like to make the following changes:
1) add the condition that, for a positive divergence, the Stochastic is ABOVE its 9 simple moving average, and that for a negative divergence, the Stochastic is BELOW its 9 simple moving average.
2) I would like a push notification to occur when this particular divergence appears.
3) I would like a push notification to occur when the bar following the divergence is inside (in this case, the movement is even more violent).
4) The cusp must also appear on the inside bar.
My Metastock code for divergence followed by an inside bar is on lines 159 and 163.
To be honest, I also asked for help on another forum but, after the initial compliments for this particular indicator, in the end no one made the requested changes so I trust in you.
thank's in advance
Attached File(s)
1