Function To Get Position of Stop Loss on Current Open Trade

MQL5 Autre Design

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Very happy with the work code provided. Thank you.
Commentaires de l'employé
Excellent customer! Very thanks for order!

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(1131)
Projets
1433
62%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
2
Développeur 2
Évaluation
(73)
Projets
85
44%
Arbitrage
10
40% / 50%
En retard
9
11%
Gratuit
3
Développeur 3
Évaluation
(225)
Projets
284
42%
Arbitrage
15
13% / 47%
En retard
67
24%
Gratuit
4
Développeur 4
Évaluation
(55)
Projets
74
45%
Arbitrage
21
14% / 67%
En retard
8
11%
Gratuit
5
Développeur 5
Évaluation
(2429)
Projets
3060
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Travail
6
Développeur 6
Évaluation
(135)
Projets
163
40%
Arbitrage
11
27% / 73%
En retard
25
15%
Gratuit
7
Développeur 7
Évaluation
(440)
Projets
546
25%
Arbitrage
21
38% / 38%
En retard
83
15%
Gratuit
8
Développeur 8
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
9
Développeur 9
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
10
Développeur 10
Évaluation
(563)
Projets
932
47%
Arbitrage
302
59% / 25%
En retard
124
13%
Occupé
11
Développeur 11
Évaluation
(66)
Projets
143
34%
Arbitrage
10
10% / 60%
En retard
26
18%
Gratuit
12
Développeur 12
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
13
Développeur 13
Évaluation
(257)
Projets
419
38%
Arbitrage
86
44% / 19%
En retard
71
17%
Occupé
Commandes similaires
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

Informations sur le projet

Budget
30 - 50 USD
TVA (23%): 6.9 - 11.5 USD
Total: 36.9 - 61.5 USD
Pour le développeur
27 - 45 USD
Délais
de 1 à 2 jour(s)