I would like to create an order to buy or sell when a candlestick closes above or below a certain price.

MQL4 Experts

Job finished

Execution time 8 minutes
Feedback from employee
Very nice person and great employee. Would like to work for him again.
Feedback from customer
Very good coder , very fast. It is allways there to help you when you need. His is a very nice person to work with.

Specification

I would like to create an order to buy or sell when a candlestick closes above or below a certain price.

The order is given when a candlestick closes above or below a certain price to give order to buy or sell respectively. Along with this order I want to be able to set up a stop loss. The stop loss has to be placed when a candlestick closes beyond a certain price in the opposite direction.

I have made an example for you: it has been attached below


1.      1.    At the first arrow we decide to give our order, in our case we are between 1,1300 and 1,1275, so if a candlestick closes above 1,1300 then open a long position and if a candlestick closes below 1,1275 then open  a sort position.

2.     2.     At the second arrow a candlestick closed above that certain price (1,1300) so we have a long position opened.

 

3.      3.    The third arrow is the stop loss. Once we open the long position we set up our stop loss.  The stop loss is going to be placed when a candlestick closes below a certain price (in our case is 1,275).

I would like as well to be able to change the way it works. So far we said that the position opens when a candlestick closes above or below a certain price, I would like to be able to change that and to open the position when the price just goes below or above a certain price. So I want to have ability to change the settings when I need.



1.   

Responded

1
Developer 1
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
217
15%
Free
Published: 1 code
2
Developer 2
Rating
(349)
Projects
463
51%
Arbitration
41
24% / 49%
Overdue
149
32%
Free
3
Developer 3
Rating
(430)
Projects
606
55%
Arbitration
48
23% / 56%
Overdue
176
29%
Free
4
Developer 4
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
5
Developer 5
Rating
(12)
Projects
12
0%
Arbitration
0
Overdue
1
8%
Free
6
Developer 6
Rating
(73)
Projects
85
44%
Arbitration
10
40% / 50%
Overdue
9
11%
Free
7
Developer 7
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
8
Developer 8
Rating
(2349)
Projects
2955
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
9
Developer 9
Rating
(2676)
Projects
3416
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
11
Developer 11
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
12
Developer 12
Rating
(251)
Projects
400
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
Published: 2 codes
13
Developer 13
Rating
(13)
Projects
36
58%
Arbitration
3
33% / 33%
Overdue
6
17%
Free
14
Developer 14
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
15
Developer 15
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
16
Developer 16
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
VENOM EA 35 - 50 USD
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
Je cherche un développeur MQL4 / MQL5 expérimenté pour créer un robot de trading automatique (Expert Advisor) performant et sécurisé. Validation de comptes Prop Firm capable de trader sur le forex et les matière première
XAUUSD Digger 50 - 300 USD
I want you to create a strategy that fits for my funded account conditions like winrate of 60%+ with good risk reward ratio min 1:2 and max drawdown per day is 2% or 3% and overall should be less then 10% with less consecutive losses should be able to finish the funded stage in of phase 1 8% target and phase 2 of 10% target in a month with good number of trades in a month need journal of all the back tested data and
I need a simple Expert Advisor for MT5 that trades based on RSI overbought/oversold levels. - Entry: Buy when RSI(14) < 30, Sell when RSI(14) > 70 - Exit: Take Profit and Stop Loss as adjustable input parameters (default 50/25 pips) - Position sizing: Risk 1% of account balance per trade, auto-calculated from stop-loss distance - Timeframe and currency pair: adjustable inputs, not hardcoded - Should include basic
1. Trading Instruments: - The robot should trade exclusively on the following currency pairs: - NZD/CHF - NZD/USD - GBP/USD 2. Trading Style: - The robot should implement a day trading strategy, focusing on short-term trades. 3. Risk Management: - Maximum drawdown percentage: 10%. - Stop loss settings: Adjustable based on volatility (suggested default: 30 pips). - Take profit settings: Adjustable
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck
Zwivhuya 100+ USD
I would like to be part of this trade because i want to help my family out of the hopeless life we are living now . i thoughts going to school will help me get better job but no i am still sitting for us to eat at home i have to sell my body to someone and get pay with that small money i can buy bread and cooldrink for my family that we can not sleep with emyter stomach
I need an Expert Advisor that trades by signal of ADX and Moving Average indicators. It must check and correctly process possible errors in trading operations. The main criteria of opening and closing positions , direction of Moving Average, Price of last bar . Set the number of lots to trade as an input parameter
I need a new custom MT5 Expert Advisor for XAUUSD.sc on my Vantage cent account. I do not have a ready trading strategy. Please propose simple, specific entry, exit and risk rules first. I will approve the rules before development starts. The EA must open and close trades automatically, place a stop loss on every trade, and have adjustable lot size and maximum loss settings. I do not want martingale or increasing lot

Project information

Budget
50+ USD