Function To Get Position of Stop Loss on Current Open Trade

MQL5 Other Design

Job finished

Execution time 2 days
Feedback from customer
Very happy with the work code provided. Thank you.
Feedback from employee
Excellent customer! Very thanks for order!

Specification

Hi,


I need someone to write a basic function for MQL5.

This function will return a 1 or a zero

The function will get the open price and the current price of the stop loss from the most recent active trade.

if ( trade is a buy trade and the current stop loss price is >= the open price) return 1 else return 0

if ( trade is a sell trade and the current stop loss price is <= the open price) return 1 else return 0

If interested in coding this function, please let me know.

Responded

1
Developer 1
Rating
(1134)
Projects
1436
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
2
Developer 2
Rating
(73)
Projects
85
44%
Arbitration
10
40% / 50%
Overdue
9
11%
Free
3
Developer 3
Rating
(225)
Projects
284
42%
Arbitration
15
13% / 47%
Overdue
67
24%
Free
4
Developer 4
Rating
(55)
Projects
74
45%
Arbitration
21
14% / 67%
Overdue
8
11%
Free
5
Developer 5
Rating
(2440)
Projects
3075
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
6
Developer 6
Rating
(135)
Projects
163
40%
Arbitration
11
27% / 73%
Overdue
25
15%
Free
7
Developer 7
Rating
(440)
Projects
546
25%
Arbitration
21
38% / 38%
Overdue
83
15%
Working
8
Developer 8
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
9
Developer 9
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
10
Developer 10
Rating
(564)
Projects
933
47%
Arbitration
302
59% / 25%
Overdue
125
13%
Loaded
11
Developer 11
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
12
Developer 12
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
13
Developer 13
Rating
(260)
Projects
422
38%
Arbitration
86
44% / 19%
Overdue
70
17%
Busy
Similar orders
Hi, I'm looking to replicate or create a tradingview indicator for quantower and I want to know how much it will cost me. You can access the indicator through this link
hello, I need quick help with ninjatrader tool, market replay is not updating candles on chart, even though time is updating on playback window. I need someone who can help remotely to see what is issue. are you available
I am looking for an experienced programmer who can convert my existing MetaTrader 4 (MT4) Expert Advisor (EA) into a fully functional version compatible with the TradeLocker platform. The goal is to maintain the EA's performance and functionality while ensuring full compatibility with the TradeLocker API and environment
I want a profitable NIJATRADER 8 (NT8) BOT with a proven results and test results. Demo and strategy is also an advantage if available. kindly message me if it you have one. thanks
hi, I have a strategy coded in Python on Jupiter but I have trouble converting it to Quantconnect. Could you do that? The strategy is based on trading with 10 most liquid crypto coins on Binance rebalanced each month and tracking when the price break 20 day high or low plus some other indicators
To create a cbot for Ctrader using the macd. When the macd crosses the stated oversold area / undersold area and the macd line crosses back over the the oversold / undersold line then a trade is triggered at close of the current renko block. Ability to trade between certain times. I'm trading renko blocks , so the ability to choose renko blocks and the choose the size of the renko block. Ability to choose all forex
Hello, I have a strategy in Tradingview that I would like to automate. About the strategy: At the opening of the trade, two fractals are to be waited for. One long, one short. As soon as these are formed, everything else is calculated with the corresponding price. A range is calculated from the two prices and adjusted with an offset. Fractal long price minus fractal short price + offset = range. Take profit is x
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have
Hello, How are you doing? I need a developer who can help me with crypto api because i need a crypto aPi. Kindly bid if this is what you can do Thanks
Hi, I am looking for somebody who can develop a Tradingview indicator that sends notifications based on a simple rule as follows: - When the same Moving Average (for example the 100 SMA) trades around the same price (within a range of 10 pips or so) on at least 2 different timeframes AND Price moves to that range then a notification should be sent. - The Moving averages, the timeframes and the price range where the

Project information

Budget
30 - 50 USD
VAT (23%): 6.9 - 11.5 USD
Total: 36.9 - 61.5 USD
For the developer
27 - 45 USD
Deadline
from 1 to 2 day(s)