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

Simple check open orders filter boolean function for Expert Advisors - MetaTrader 4용 expert

조회수:
9816
평가:
(5)
게시됨:
2023.06.12 16:14
업데이트됨:
2023.06.12 16:19
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

It is common for novice developers to face the challenge of making the Expert Advisor able to detect if there are open orders independently, without using the OrdersTotal() function, as this does not recognize if an order was opened by an EA or if it was opened manually, since it returns the total amount of open orders.

With that in mind, I decided to share this very simple code. In it, I use the Comment() function as a way to demonstrate the Check_Open_Orders function in real time.

The code is extensively explanatory with descriptive notes. I hope it is useful.

Ma Price Cross (Custom Time) Ma Price Cross (Custom Time)

Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.

Strongest Pair Indicator Strongest Pair Indicator

This will return the pair with the most growth in the user input start time and end time

KA-Gold Bot KA-Gold Bot

KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.

Grid Trading Algo Grid Trading Algo

This is a grid trading algorithm idea.