Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 1218
- Note:
- Publié:
- 2024.05.05 09:37
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
This particular expert advisor contains a very useful code which is often required by the developers. Most of the time , we need the last active trade. But in this EA you can search a trade with any index.
By active trade ,I mean market orders not pending orders
if you pass 0 then it will fetch the most recent active trade
If you pass 1 then it will fetch the trade before that and so on.
We can filter the trades based on symbol and magic number.
![Geometric Moving Average](https://c.mql5.com/i/code/indicator.png)
MQL5 version of geometric moving average.
![Custom Bollinger Bands](https://c.mql5.com/i/code/indicator.png)
Standard Bollinger Bands indicator with averaging features added
![Get Nth Closed Trade from the end in MT5](https://c.mql5.com/i/code/expert.png)
This EA will scan all the closed trades and then print the nth trade from the end
![Count consecutive no. of bull or bear bars](https://c.mql5.com/i/code/script.png)
Sample code to count consecutive no. of bull or bear bars.