Published article Automatic search for divergences and convergences:
Author: Dmitry Fedoseev
How your indicator is better than others, can you explain ?
I am trying to understand your indicator. It does not work with OsMA. Can you please tell me why and how I can connect my custom indicator?
OsMA works, you need to set the correct parameters - variables: Period1, Period2, Period3, for starters you can set 12, 26, 9.
To connect your own indicator you need to modify the class in the CUniOsc.mqh file.
Hello,
I am currently testing your indicator with IoSma 12,26,9.
I have a problem with the alerts, they do not work, yet it's simple.
I tried to add notifications as below but it does not working either.
if(buf_buy[rates_total-Alerts]!=EMPTY_VALUE &&
tm0!=time[rates_total-1]
){
tm0=time[rates_total-1];
mes=mes+" buy";
SendNotification("achat divergence"); //MODIFICATION
}
if(buf_sell[rates_total-Alerts]!=EMPTY_VALUE &&
tm1!=time[rates_total-1]
){
tm1=time[rates_total-1];
mes=mes+" sell";
SendNotification("vendre divergence");//MODIFICATION
I may not be well understood when alerts appear, one arrow= one alert?
Regards.
Hello,
Indicator not working, "can't load indicator".
Anyone, any ideas?
Thnx
Hi,
I'm French sorry I don't speak Russian.
Can you explain how your alert because I can't do it.
I tried not to add "sendNotification" no result but I arrows that appear.
I also tried to add "sendNotification" to "CuniDiverExtremums" after "check = true" but I get constant alerts.
You can check if the alerts are on the workstation, in the default configuration.
Thanks.
Hi,
I'm French sorry I don't speak Russian.
Can you explain how your alert because I can't do it.
I tried not to add "sendNotification" no result but I arrows that appear.
I also tried to add "sendNotification" to "CuniDiverExtremums" after "check = true" but I get constant alerts.
You can check if the alerts are on the workstation, in the default configuration.
Thanks.
Pas clairement. Écrire en français ou en anglais.
Bonjour,
Je suis désolé de ne pas parler russe.
Pouvez-vous expliquer comment votre alerte fonctionne?
Chez moi ça ne fonctionne pas.
Par contre les flèches sont bien affichées.
J'ai essayé d'ajouter'sendNotification' mais sans résultat.
if(lcnt>m_ccnt){
if(m_lower[lcnt-1].SignalBar==i){
bool check=true;
SendNotification("buy");
for(int j=0;j<m_ccnt;j++){
bool result=m_conditions[j].CheckBuy
J'ai essayé d'ajouter 'sendNotification' dans 'CuniDiverExtremums' après 'check = true', mais je reçois des fausses notifications.
Pouvez vous vérifier si les alertes fonctionnent bien pour vous.
Merci.
Bonjour,
Je suis désolé de ne pas parler russe.
Pouvez-vous expliquer comment votre alerte fonctionne?
Chez moi ça ne fonctionne pas.
Par contre les flèches sont bien affichées.
J'ai essayé d'ajouter'sendNotification' mais sans résultat.
if(lcnt>m_ccnt){
if(m_lower[lcnt-1].SignalBar==i){
bool check=true;
SendNotification("buy");
for(int j=0;j<m_ccnt;j++){
bool result=m_conditions[j].CheckBuy
J'ai essayé d'ajouter 'sendNotification' dans 'CuniDiverExtremums' après 'check = true', mais je reçois des fausses notifications.
Pouvez vous vérifier si les alertes fonctionnent bien pour vous.
Merci.
Ce n'est pas le bon endroit pour la fonction SendNotification(). À chaque exécution de la condition dans l'historique du graphique, il y aura un appel de fonction.
Recherchez la fonction CheckAlerts () dans le code. Dans cette fonction, il y a un appel à la fonction Alert(). Ajoutez l'appel de fonction SendNotification() à la même fonction:
if(mes!=""){ Alert(MQLInfoString(MQL_PROGRAM_NAME)+"("+Symbol()+","+IntegerToString(PeriodSeconds()/60)+"):"+mes); SendNotificatin(.......); }
Pour tester la fonction de SendNitification (), écrivez un script avec un seul appel à cette fonction, alors vous serez sûr que la fonction est appelée et vous verrez si la notification vient. Quelque chose de clair?
Oui, j'ai déja essayé il y a 15 jours, mais ça ne fonctionne pas, pourtant dans d'autre EA la fonction SendNotification est ok.
J'avais écrit:
Alert(MQLInfoString(MQL_PROGRAM_NAME)+"("+Symbol()+","+IntegerToString(PeriodSeconds()/60)+"):"+mes); SendNotification(MQLInfoString(MQL_PROGRAM_NAME)+"("+Symbol()+","+IntegerToString(PeriodSeconds()/60)+"):"+mes);
Mais je vais écrire un script ce soir par exemple:
int bit0;//in the init if(mes!="" && bit0){ SendNotification(MQLInfoString(MQL_PROGRAM_NAME)+"("+Symbol()+","+IntegerToString(PeriodSeconds()/60)+"):"+mes); bit0=true; }MERCI
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Auto search for divergences and convergences has been published:
The article considers all kinds of divergence: simple, hidden, extended, triple, quadruple, convergence, as well as divergences of A, B and C classes. A universal indicator for their search and display on the chart is developed.
Fig. 15 displays the chart with the indicator attached to it (in the subwindow) with the enabled display of arrows on the price chart and lines plotted between the tops.
Fig. 15. The divergence indicator on the price chart with the arrows displayed on the price chart and the line connecting the extreme points
Author: Dmitry Fedoseev