MQL5 open and close funtion not works in IC Market

MQL5 Other

Job finished

Execution time 2 hours
Feedback from customer
Very fast identify the problem and solved it. Great job. Very satisfied.
Feedback from employee
Nice to work with you, Thanks.

Specification

I have a little challenge. When I for example use OctaFX or MT5 from this website does my code works. But in IC Market does this code not work.

trade.PositionClose

Type of account is hedging. The code error is 4756

Also if I open an order with 

#include<Trade\Trade.mqh>

trade.Buy(0.1)

I can not use default settings as ORDER_FILLING_RETURN but need to use ORDER_FILLING_IOC before it will open an order. 

I would like to pay for this little advise how to make it works at IC Market. Maybe settings problems.

Responded

1
Developer 1
Rating
(169)
Projects
218
50%
Arbitration
6
17% / 67%
Overdue
11
5%
Free
2
Developer 2
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
3
Developer 3
Rating
(253)
Projects
358
49%
Arbitration
24
25% / 50%
Overdue
80
22%
Free
4
Developer 4
Rating
(27)
Projects
28
54%
Arbitration
4
0% / 50%
Overdue
5
18%
Free
5
Developer 5
Rating
(53)
Projects
79
18%
Arbitration
13
15% / 54%
Overdue
5
6%
Free
6
Developer 6
Rating
(54)
Projects
64
42%
Arbitration
5
20% / 60%
Overdue
4
6%
Free
7
Developer 7
Rating
(2422)
Projects
3042
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
Similar orders
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
In summary 1) The bot will only take Firm Buy and Firm Sell Signals . 2) The bot will use the SL and TP based on the indicator . 3) the risk to reward is 2:1 but when the price reaches 1:1 set SL to Breakeven 4) the bot will take Firm Buy and Firm sell after the candle closes with a firm buy or firm sell 5) make sure to give an option for number of contracts to be traded . 6) Bot will close all the trades EOD
Hello, I'd like to get a developer for converting tradingview indicator script to NT8 indicator. I have attached rough c# code and working pine script. indicator is nothing but just 7 horizontal lines drawn with 3 types of colors, 3 lines for support level, 3 lines for resistance level and 1 mid line. Purpose of the indicator is to draw colored horizontal lines with labels when a text is pasted with predefined
The Bot will use 2 Indicators and should follow these rules: Trade Entry: You must always enter the trade EXACTLY at the close of the current candle, with the expiry time set to the end of the next candle. It will only work if you click BUY or SELL EXACTLY in the last second of the current candle. I don't need to mention that you need a good internet connection and obviously should use the trading platform app. DO
I have choch indicator I want to use it for my strategy but the ea will have two options the second option will base on manual example I will do my analysis of a pair then decide if buy or sell before putting those pairs in the ea base on the direction I choose for it but first option will make use of the indicator. Will explain better on video screen pls check my attachments below for better communication
Hi, I need someone who have an idea of IG Market I am running into a problem I need to have at least 50pips between my order and stoploss. Can you check with me where it goes wrong
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
Hello! Will you be able to program an MT4 EA, running on an offline renko charts? Based on attached indicators signals? An EA that generates the renko charts is also attached. If yes come to dm now
Hello, do you have a service that can send messages directly to individual channel members rather than to the entire group? If so, please contact me via direct message immediately. This is urgent

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
to 1 day(s)