거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Get Nth Active Trade from the end in MT5 - MetaTrader 5용 expert

조회수:
977
평가:
(2)
게시됨:
2024.05.05 09:37
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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 Geometric Moving Average

MQL5 version of geometric moving average.

Custom Bollinger Bands Custom Bollinger Bands

Standard Bollinger Bands indicator with averaging features added

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

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 Count consecutive no. of bull or bear bars

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