Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

Get Nth Closed Trade from the end in MT5 - MetaTrader 5 için Uzman Danışman

Görüntülemeler:
2944
Derecelendirme:
(4)
Yayınlandı:
2024.05.05 12:46
Güncellendi:
2024.05.06 03:38
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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.

Click on the market chart to create a price alert Click on the market chart to create a price alert

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts.