Simple MT5 Expert Advisor action based on the previous candle

MQL5 Experts C++ Forex

Job finished

Execution time 3 days
Feedback from customer
Very fast and responsive coder. 5 stars!
Feedback from employee
Dear customer, Thank you for the interesting order! I wish you happiness and good luck!

Specification

Hi,

I would like simple EA- robot for MT5 platform.

 

On the selected time frame and currency pair I would like for the positions to open regarding the last candle. Meaning if the last candle was red, then at the beginning of the new candle we open SELL position and if the candle at the end of the time frame is green, then the buy is executed at the beginning of the new candle at selected time frame.

So in theory if we use robot on H1 time frame of the selected currency pair, robot would open max 24 trade positions in a day.

 

Opened position is closed :

At take profit –OR-

Trailing stop –OR-

Stop loss –OR-

At the end of the traded candle (selected time frame);

 

Double down strategy

If the closed trade was in loss at the closing the next position that opens doubles the size of lots for the next trade. For example we opened sell position (0,01 LOT) and it hit the selected stop loss. Then on the next position opening we would trade with 0,02 LOT and if that lost again we open at next candle 0,04 LOT, and so on until the opening position is a winner and then the new trade will again use the minimum LOT selected in the EA settings.

 

EA settings:

Lot - Fix lot

Double down strategy on/off

Time to Start Hour - Start hour to open trades

Time to Finish Hour - End hour to open trades

Magic - Magic number

Trailing On Off - Trailing stop on/off

Trailing Start - Trailing start in points

Trailing From - Trailing from in points

Trailing Step  - Trailing step in points

TakeProfit - Take Profit in points

StopLoss - Stop Loss in points

 

Please deliver nicely structured and well commented code, as this is first phase of the robot.

 

Supply also the source code.

 

Thank you for your time.


Responded

1
Developer 1
Rating
(162)
Projects
218
30%
Arbitration
4
50% / 25%
Overdue
5
2%
Free
Published: 1 code
2
Developer 2
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
3
Developer 3
Rating
(2328)
Projects
2932
63%
Arbitration
124
44% / 26%
Overdue
429
15%
Working
4
Developer 4
Rating
(132)
Projects
178
39%
Arbitration
4
25% / 50%
Overdue
14
8%
Free
5
Developer 5
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
6
Developer 6
Rating
(208)
Projects
297
54%
Arbitration
0
Overdue
1
0%
Free
Published: 6 codes
7
Developer 7
Rating
(7)
Projects
12
42%
Arbitration
1
0% / 100%
Overdue
2
17%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
10
Developer 10
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
11
Developer 11
Rating
(87)
Projects
114
26%
Arbitration
7
29% / 57%
Overdue
5
4%
Free
Similar orders
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 . The EA performs consistently and profitably on demo accounts , but when I run it on an IC Markets Raw and standard live account , it begins generating losses under what appear to be the same trading conditions. if needed i can provide Full EA source code (.mq4 and/or .mq5) and Set file. I need an experienced MQL4/MQL5 developer to thoroughly
I have a live MT5 account with Myfxbook verified track record (88% return, 17% DD, 100K+ trades). Trade copier is ready. I need a sales system to attract copy traders. You decide the approach — landing page, email, or any strategy you think works best
I am looking for an experienced developer to create a custom MT4 Expert Advisor (EA) / trading robot. Requirements: Fully automated trading system for MetaTrader 4 Clear entry and exit strategy (can be based on indicators, price action, or a custom logic) Risk management features (lot size control, stop loss, take profit, trailing stop) Ability to run on multiple currency pairs Option to adjust settings (risk %
I am a forex trader I want to help to all the other traders with translating and online cources so which is interested buy this package and join us thank you
Kenyan Editor 30+ USD
1.a specific robot to earn for a quick and reasonable trade all over. The Idear of being specific makes me perfect, I want this to be clear that make me a high luxurious person will describe me and I will promise to advertise the market both internally and externally
i need the EA same working on trading view Hikin Ashi chart with same specifications and rules on mt5 Rules as per in script is available when applied on chart need to check on Hikin Ashi chart 1. Buy trade when purple candle closed above last any black candle high on Hikin Ashi & avoid long abnormal candle & if market makes more than 20-30 candles without changing the color 2. Buy when purple candle close above its
I have my own strategy in 1min. I want it convert to a bot. Please reach me only coding experts. I dont want bit makers from Ai. Demo version should be provided for confirmation
Siraj Durrani 30 - 50 USD
Title: Need MT4 Expert Advisor for XAUUSD (SMC/ICT Strategy) Requirements: I need a professional MT4 Expert Advisor (EA) for XAUUSD based on Smart Money Concepts (SMC) / ICT strategy. Features: - Platform: MetaTrader 4 (MT4) - Symbol: XAUUSD - Automatic Buy and Sell trades. - Detect market trend automatically. - Use Break of Structure (BOS) and Change of Character (CHoCH) for trend confirmation. - Enter trades only
Xauusd to gold 35+ USD
The EA must be fully automated , backtest-friendly , prop-firm-safe , and built with a clean modular architecture . Core Strategy Requirements 1. Higher Timeframe Bias Use D1 and H4 . Use 200 EMA as trend filter: If price is above 200 EMA on both D1 and H4 -> allow BUY only If price is below 200 EMA on both D1 and H4 -> allow SELL only If D1 and H4 are not aligned -> no trade 2. Market Structure Module Detect and
Eagoldcent 30 - 200 USD
I need an MT4 & MT5 Expert Advisor for ALL pair support Cent Account. Features: Platform: MT4 & MT5 Pair: All Pair Account Type: Cent Account Buy and Sell Fixed Lot Start (user input) Lot Exponent / Multiplier (user input) PipStep / Grid Distance (user input) Take Profit (user input) Maximum Trades (user input) Magic Number (user input) Inputs: Start Lot = 0.01 Take Profit = 40 Lot Exponent = 1.50 PipStep = 40 Max

Project information

Budget
30+ USD
Deadline
from 3 to 10 day(s)