Open Trading Postion

MQL5 エキスパート

指定

This is a really simple job. The first part I can do myself, but I am not having much fun with the second part. I want a function written that performs the following actions: 

Opens a trade of TRADE_ACTION_DEAL type;
Magic = EA_Magic;
Symbol= Symbol();
Volume = 0.1 (I will read from variable at some point);
Request Type = ORDER_TYPE_BUY (I will write a condition IF statement another time);
Request Stop Loss = -100 points from current tick (I'll change this to a variable at a later date);
Request Take Profit = +100 points from current tick (I'll change this to a variable at a later date);
Send Order.

Now the bit I am struggling with.

Open the order and modify the stop loss and take profit to a tighter value.

Modify Stop Loss = Order Opening Price - 20 points (I'll change this to a variable at a later date);
Modify Take Profit = Order Opening Price + 20 points (I'll change this to a variable at a later date);

And to trade on the side of caution:

If the above stop loss or take profit has already been reached, close out the order. 

I can write a full specification if required. The important part is the two later parts, which must work flawlessly.

Only stipulation is that code is heavily commented in English.




 

応答済み

1
開発者 1
評価
(1235)
プロジェクト
2820
80%
仲裁
156
22% / 43%
期限切れ
488
17%
2
開発者 2
評価
(82)
プロジェクト
150
29%
仲裁
9
44% / 11%
期限切れ
46
31%
3
開発者 3
評価
(62)
プロジェクト
140
46%
仲裁
19
42% / 16%
期限切れ
32
23%
4
開発者 4
評価
(490)
プロジェクト
1016
58%
仲裁
29
28% / 24%
期限切れ
132
13%
5
開発者 5
評価
(18)
プロジェクト
37
43%
仲裁
6
17% / 50%
期限切れ
17
46%
6
開発者 6
評価
(4)
プロジェクト
6
0%
仲裁
2
50% / 50%
期限切れ
0
7
開発者 7
評価
(63)
プロジェクト
80
28%
仲裁
17
12% / 76%
期限切れ
48
60%
8
開発者 8
評価
(466)
プロジェクト
697
56%
仲裁
43
30% / 33%
期限切れ
113
16%
仕事中
9
開発者 9
評価
(9)
プロジェクト
18
22%
仲裁
3
67% / 33%
期限切れ
4
22%
10
開発者 10
評価
(71)
プロジェクト
254
53%
仲裁
16
50% / 38%
期限切れ
83
33%
11
開発者 11
評価
(111)
プロジェクト
327
55%
仲裁
17
12% / 47%
期限切れ
104
32%
12
開発者 12
評価
(215)
プロジェクト
302
79%
仲裁
4
25% / 0%
期限切れ
62
21%
13
開発者 13
評価
プロジェクト
2
50%
仲裁
0
期限切れ
0
類似した注文
I want to convert a small script from mql5 to pinescript of tradingview. The final script must work fine in tradingview, i will test it first if its ok i pay the developper. Script wil be send to developper in private because i cant post it here. If you have question you can ask me. Tnaks
MT4 EA Trade one zigzags 100 - 150 USD
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
I need A Ea For Parabolic SAR With Default Settings And That Ea Including Take Profit And Stoploss Levels. Take profit : 50 points Stop loss : 50 points I have been seen that ea in Mql5 Market I tested it but that ea stop loss and take profits not activated that's why I came here I need a demo for testing process if you gave demo 1st and I will set you as a person to create a ea
Modifying an expert advisor written in mql5 and adding new indicators to it. The result must work both on strategy testing and on live, with no compilation errors and no warnings
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link
I'm seeking assistance in developing a sophisticated trading robot with the following features: Core strategy: Harmonic pattern recognition Supply and demand analysis Fibonacci zigzag for trade optimization Additional components: News filter Dashboard for easy monitoring Customizable settings: Lot size Trailing stop Trading session parameters Maximum number of orders Option to use market or limit orders Resources
1. Add Feature For (SPREAD) Normal trading Hours Spread or User set trading Hours Spread True or false Set to true or False When set to true EA will only create or develop a trade if spread is in this window allowing it to and EA will follow a window in which it can trade based on spread so if spread is to high and outside of this window it will not create a trade It
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link
Hi, I have a working MQ4 EA (With a few warnings but works fine), I need the warnings cleared and converted to MQ5. But I would also like a few improvements first. Firstly: Fix warnings in MT4 code (return value of 'OrderSelect'/'OrderModify' should be checked). Add following features: Magic number modifiable variable (It's currently hard coded) Is it possible to have a stop loss dollar amount instead of lots if

プロジェクト情報

予算
10 - 100 USD
開発者用
9 - 90 USD
締め切り
最低 1 最高 14 日