Simple MT5 Expert Advisor action based on the previous candle

MQL5 전문가 C++ Forex

작업 종료됨

실행 시간 3 일
고객의 피드백
Very fast and responsive coder. 5 stars!
피고용인의 피드백
Dear customer, Thank you for the interesting order! I wish you happiness and good luck!

명시

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.


응답함

1
개발자 1
등급
(162)
프로젝트
218
30%
중재
4
50% / 25%
기한 초과
5
2%
무료
게재됨: 1 코드
2
개발자 2
등급
(38)
프로젝트
50
10%
중재
1
0% / 0%
기한 초과
8
16%
무료
3
개발자 3
등급
(2279)
프로젝트
2873
63%
중재
121
45% / 26%
기한 초과
429
15%
무료
4
개발자 4
등급
(132)
프로젝트
178
39%
중재
4
25% / 50%
기한 초과
14
8%
무료
5
개발자 5
등급
(1156)
프로젝트
1462
63%
중재
21
57% / 10%
기한 초과
43
3%
무료
6
개발자 6
등급
(208)
프로젝트
297
54%
중재
0
기한 초과
1
0%
무료
게재됨: 6 코드
7
개발자 7
등급
(7)
프로젝트
12
42%
중재
1
0% / 100%
기한 초과
2
17%
무료
8
개발자 8
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
9
개발자 9
등급
(137)
프로젝트
167
35%
중재
11
91% / 0%
기한 초과
0
무료
10
개발자 10
등급
(69)
프로젝트
146
34%
중재
13
8% / 62%
기한 초과
26
18%
무료
게재됨: 6 코드
11
개발자 11
등급
(87)
프로젝트
114
26%
중재
7
29% / 57%
기한 초과
5
4%
무료
비슷한 주문
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project

프로젝트 정보

예산
30+ USD
기한
에서 3  10 일