TP & SL & Trailing Stop for individual order or a basket

MQL4 エキスパート

仕事が完了した

実行時間5 日
依頼者からのフィードバック
Very good developer, polite and patient. I recommend his services and would rework with him again for sure.
開発者からのフィードバック
good job with great customer. Thank you !

指定

Hello,

   

I need to get code snippets as functions:

 

Function 1: to place a takeprofit and a stoploss at price thresholds in pips or in currency (we can use one of the other choice) on one or more orders at the same time (case of basket of orders).

Example:

If only one order is open, and I call the function to place a takeprofit at $ 10 (account currency) and stoploss at $ 30 (account currency), then the function will automatically place the TP and SL on the corresponding price levels depending on the position size and the instrument traded.

If several orders are open, the principle must be the same: place in each order the price levels of the corresponding takeprofit and stoploss so that the entire basket closes at $ 10 in profit and at $ 30 in loss. It doesn't matter how many orders there are and whether they are mixed up (buy and sell orders).

When calling the function, you can choose whether you want a gain / loss in account currency or in points / pips.

The calculated takeprofit and stoploss price levels should be included in each order.

 

Function 2: trailing stop for 1 or more orders with price thresholds in pips or in currency (we can use one of the other choice) on one or more orders at the same time (case of basket of orders).

Example:

This is a classic trailing stop, but the stoploss must activate and then move (trailing stop step size) with thresholds expressed in pips or in the account currency (as desired).

The stoploss price threshold should be placed in each order if more than one order is open. The trailing stop will act globally on the basket of orders (if several orders are open) and not individually for each order.

The calculated takeprofit and stoploss price levels should be included in each order.

 


応答済み

1
開発者 1
評価
(1235)
プロジェクト
2820
80%
仲裁
156
22% / 43%
期限切れ
488
17%
2
開発者 2
評価
(248)
プロジェクト
444
34%
仲裁
56
36% / 38%
期限切れ
163
37%
取り込み中
3
開発者 3
評価
(45)
プロジェクト
58
33%
仲裁
12
42% / 42%
期限切れ
7
12%
4
開発者 4
評価
(261)
プロジェクト
425
38%
仲裁
86
44% / 19%
期限切れ
71
17%
取り込み中
5
開発者 5
評価
(409)
プロジェクト
537
75%
仲裁
9
44% / 0%
期限切れ
24
4%
6
開発者 6
評価
(65)
プロジェクト
71
30%
仲裁
8
0% / 88%
期限切れ
5
7%
7
開発者 7
評価
(158)
プロジェクト
175
43%
仲裁
6
0% / 67%
期限切れ
8
5%
8
開発者 8
評価
(39)
プロジェクト
55
13%
仲裁
5
20% / 20%
期限切れ
6
11%
9
開発者 9
評価
(169)
プロジェクト
204
30%
仲裁
25
40% / 44%
期限切れ
12
6%
類似した注文
Zzz 30+ USD
// กำหนดค่าตัวแปรพื้นฐาน input double lotSize = 0.1; // ขนาดล็อตที่ต้องการ input int takeProfit = 50; // ระยะ Take Profit (จุด) input int stopLoss = 50; // ระยะ Stop Loss (จุด) input int magicNumber = 123456; // หมายเลข Magic Number input int smaPeriod = 14; // ช่วงเวลา Simple Moving Average (SMA) // เวลาที่ออเดอร์ล่าสุดถูกเปิด datetime lastOrderTime = 0; // ฟังก์ชั่นหลักของ EA void OnTick() { //
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market

プロジェクト情報

予算
30 - 50 USD
開発者用
27 - 45 USD