Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

Get Nth Closed Trade from the end in MT5 - expert pour MetaTrader 5

Vues:
2442
Note:
(4)
Publié:
2024.05.05 12:46
Mise à jour:
2024.05.06 03:38
MQL5 Freelance 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 closed 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.


Get Nth Active Trade from the end in MT5 Get Nth Active Trade from the end in MT5

This EA will scan all the open trades and then print the nth trade from the end

Geometric Moving Average Geometric Moving Average

MQL5 version of geometric moving average.

Count consecutive no. of bull or bear bars Count consecutive no. of bull or bear bars

Sample code to count consecutive no. of bull or bear bars.

Lession 1_ Bullish and Bearllish Candle Tick Lession 1_ Bullish and Bearllish Candle Tick

This is a lesson on how to create a Bullish - Bearllish reversal trading method based on the Japanese candlestick pattern. Now we will refer to detail introduct about method: