Function To Get Position of Stop Loss on Current Open Trade

MQL5 Lo demás Diseño

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
Very happy with the work code provided. Thank you.
Comentario del Ejecutor
Excellent customer! Very thanks for order!

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(1131)
Proyectos
1433
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
2
Desarrollador 2
Evaluación
(73)
Proyectos
85
44%
Arbitraje
10
40% / 50%
Caducado
9
11%
Libre
3
Desarrollador 3
Evaluación
(225)
Proyectos
284
42%
Arbitraje
15
13% / 47%
Caducado
67
24%
Libre
4
Desarrollador 4
Evaluación
(55)
Proyectos
74
45%
Arbitraje
21
14% / 67%
Caducado
8
11%
Libre
5
Desarrollador 5
Evaluación
(2429)
Proyectos
3060
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
6
Desarrollador 6
Evaluación
(135)
Proyectos
163
40%
Arbitraje
11
27% / 73%
Caducado
25
15%
Libre
7
Desarrollador 7
Evaluación
(440)
Proyectos
546
25%
Arbitraje
21
38% / 38%
Caducado
83
15%
Libre
8
Desarrollador 8
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
9
Desarrollador 9
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
10
Desarrollador 10
Evaluación
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Ocupado
11
Desarrollador 11
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
12
Desarrollador 12
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
13
Desarrollador 13
Evaluación
(257)
Proyectos
419
38%
Arbitraje
86
44% / 19%
Caducado
71
17%
Ocupado
Solicitudes similares
I have attached the rules for the strategy. I have a mt4 EA version but now I want the bot on my Ctrader platform. I have never used an EA on Ctrader but I think after the EXE file is made, I just click on it to install in the Ctrader platform, correct? Anyway, if you could do this, that would be great. It's based on only one indicator, the RSI. I don't know how adjustments are made in Ctrader but I just need to be
Hello, I need a cBot for cTrader for my trading system. However, this bot should not be based on timeframes. I trade exclusively with Renko Blocks. Could you implement this for me? Here are the rough requirements: 1. an EMA200 should simply serve as an entry point. If the current price is above it, a long position is opened, if the price is below it, we open a short position. 2. i must be able to set how many pips my
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
I am looking for a developer to create an automated ATM strategy for NinjaTrader. The strategy should operate as follows: Trade Entry : Manual entry based on a bullish or bearish engulfing pattern. Stop Loss : Set at the low of the previous candle for long trades and at the high of the previous candle for short trades, covering the entire candle body and wicks. Take Profit : Set at twice the size of the stop loss
Hey all, im looking for a desktop app to be made which ''integrates'' with mt5. The aim here is youll open the desktop app, link it to the mt5 you have downloaded which will then allow you to auto test on that mt5 with the click of a button. i want to basically load an opt file which has already been created with the desired input combinations, input dates you want etc... and then start the test. once the test is
Dear Colleagues, I am currently seeking the assistance of an experienced professional who can help me integrate my TradingView alerts with Interactive Brokers in order to execute live trades automatically. If you have the expertise in setting up such an automation or know someone who does, I would greatly appreciate your support. Please feel free to reach out to me if you can assist with this project or if you need
I am in search of a driven and results-oriented individual to promote my forex trading signals under the "Elevated Tradinghub" brand. The perfect candidate will have a strong background in digital marketing, particularly within the finance and trading sectors. Your main goal will be to expand my follower base by effectively promoting my signals across a variety of platforms, such as social media, trading forums, and
Connect from Mt4 via binary derive account api. I have a bot. You need to convert the bot to an indicator. After converting I need to connect with my binary deriv through api. I want to trade my derivative binary account through mt4. If anyone can setup via API then contact me
I need a way of viewing Renko Charts in MT5. Only apply if you have experience with Renko Charts. And how you would tackle this project. Timeline is less than 5 days
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed

Información sobre el proyecto

Presupuesto
30 - 50 USD
IVA (23%): 6.9 - 11.5 USD
Total: 36.9 - 61.5 USD
Para el ejecutor
27 - 45 USD
Plazo límite de ejecución
de 1 a 2 día(s)