Already posted here https://www.prorealcode.com/topic/mq4-divergence-indicator-to-be-ported-to-prt/ with no luck, so I am posting this thread again hoping that Nicolas he can convert it.
All credits go to http://advancetools.net which is a russian site
Here http://advancetools.net/index.php/instrumenty/divergentsiya they talk about divergences and “classes of divergence” (use Bing translation to understand)
Some months ago I downloaded this mq4 indicator (attached) that should be translated into PRT code, and I don’t know why
At first sight it seems very complete, because I see you can choose which kind of indicator is to be scanned to look for divergences, but I might be wrong
Thanks in advance
Some MT4 indicators use a lof of functions to avoid codes replication. It is not possible to do that in ProBuilder. Typically, to find divergences the way this indicator is doing, we need to store a lot of variables in memory, and in mql4 it is done with variables arrays, which are not available in prorealtime programming language. I’m sorry but I can’t help converting this one 🙁
A lot of divergences indicators are available, you can try to find them yourself through forums by using the search functionality of the website.
Here are links of some of them:
RSI Divergences finder
Screener Divergence MACD
Indicateur Divergences RSI
etc..