2 independet strategies in one EA with MT5

MQL5 Experts

Trabalho concluído

Tempo de execução 35 dias

Termos de Referência

GENERAL
- The system will trande only 1 symbol and is intended to run at FXPRO, "German30".
- Separation of different strategies (if possible in different files)
- possible to set Trading-Time for example from 8 am to 22 pm
- Possibility to chose when to run the logic (for example at new bar)
- All Ea-logic-functions depends on parameter tf=timeframe (for example: get_sign( int tf )
- Standard methods for open/close wich are used from each strategy: Minimum demand: Close means close all. Open has a parameter "int lots".
- The EA consists of more strategies. Each strategy trades independent of the others and can open/close separately from others (in mql4 there was for such purpose "magic-Number").
- Some methods for controll positions: like get_count_open(), get_sum_win/loss etc

EA LOGIC DETAILS:
STRATEGY1: Open buy when at positive* Trenline its "cheap" and vice versa:
Bases on some method like "trendline(tf, xBars)" and a draw_line(tf, xBars) function.

Average Highs = +100%
Average=Trendline = 0%
Average Lows = -100%

Condition Open Buy: close<=-100%
Condition Open Sell:close>=+100%

*positive means the slope is positive, but not too extremely rising... define something i will test it out later what is a good value. I just need a parameter here.
slope of two points (of a line): slope = (y0-y1)/(x0-x1)


STRATEGY2 is just playing around that there is a seconed strategy which also buy / sell someting.
Provide little example with useage of MACD
For example: when macd is negative <-10 but begins to rise (was -11). than open buy. Someting like this. Not important. Need just a nice example to get it how to do.

Respondido

1
Desenvolvedor 1
Classificação
(253)
Projetos
358
49%
Arbitragem
24
25% / 50%
Expirado
80
22%
Livre
2
Desenvolvedor 2
Classificação
(620)
Projetos
680
57%
Arbitragem
25
16% / 60%
Expirado
228
34%
Livre
3
Desenvolvedor 3
Classificação
(589)
Projetos
1070
50%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
Publicou: 1 artigo, 8 códigos
4
Desenvolvedor 4
Classificação
(3)
Projetos
8
13%
Arbitragem
10
10% / 70%
Expirado
2
25%
Livre
5
Desenvolvedor 5
Classificação
(44)
Projetos
100
39%
Arbitragem
17
29% / 47%
Expirado
32
32%
Livre
6
Desenvolvedor 6
Classificação
(46)
Projetos
73
16%
Arbitragem
13
8% / 92%
Expirado
37
51%
Livre
7
Desenvolvedor 7
Classificação
(145)
Projetos
169
50%
Arbitragem
22
14% / 55%
Expirado
22
13%
Livre
8
Desenvolvedor 8
Classificação
(16)
Projetos
24
42%
Arbitragem
2
50% / 50%
Expirado
10
42%
Livre
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
Publicou: 349 artigos, 1 código
Pedidos semelhantes
Hi All developers, I am looking for a EA which makes minimum 1:5 risk reward ratio with buy stop and sell stop orders placed based on candle open based or candle high low based or any other strategy .... If any having please share it for TEST, After proper TESTING only I will confirm the job... Please read this and respond
I’m looking for an experienced Pine Script developer to build a custom H1 price-action indicator. Requirements: Calculate levels using H1 candles only. Use New York RTH (9:30 AM–4:00 PM), excluding extended hours. Create horizontal levels when candle direction changes; dojis break the sequence. Invalidate levels only when an H1 candle body crosses them, not wicks. Confirm levels after the RTH session closes to
MT5 Trading EA — EMA/RSI Strategy with Risk Management and Trade Protection Hello, I'm looking for an experienced MQL5 developer to build a reliable Expert Advisor for MetaTrader 5 based on a simple trend-following strategy. My main priority is not adding as many features as possible. I want a clean, dependable EA that follows the specified rules consistently in both Strategy Tester and live/demo trading. 1. Trading
MT5 to DxTrade, MT5 to NinjaTrader 8, MT5 to Tradovate - Does anyone have a working copy trading system for this - like already existing system for any of this platforms, don’t want dev saying they will build one, I want copier already working - MT5 to DxTrade (Good), To Tradovate and NT8 might be complex as they are future based. That is why I asked for working system and code. Deliver demo - with a week limit if
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Mt5 35+ USD
//+------------------------------------------------------------------+ //| HedgingBasket_EA.mq5 | //| Copyright 2026, Trading Bot | //+------------------------------------------------------------------+ #property copyright "Trading Assistant" #property version "1.00" #include <Trade\Trade.mqh> CTrade trade; //--- Input parameters input group "=== Hedging Settings ===" input double InpLotSize = 0.01; // Lot Size for
Hi All, I am looking for a EA which makes good profit, If any having please share it for TEST, After proper TESTING only I will make the payment, no cheating no fraud, Please do not waste the time also
Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
Mt5 to mt5 copier 30 - 50 USD
Hi Team i am looking for the copier, to copy trades to and mt5 broker where the EA Trading is Disabled. when we setup a market trade copiers, it alerts EA Trading is Disabled by the broker. can we develop the copy trading EA which and operate in this environment
Nayan4602 30+ USD
""" Market entry on EUR/USD with 0.01 lot, using the account that is ALREADY logged in inside the running MetaTrader 5 terminal. """ import MetaTrader5 as mt5 # ---------------- Config ---------------- SYMBOL = "EURUSD" LOT = 0.01 SIDE = "BUY" # "BUY" or "SELL" DEVIATION = 20 # max slippage in points MAGIC = 234000 SL_POINTS = 0 # 0 = no stop loss, 200 = 20 pips on a 5-digit feed TP_POINTS = 0 # 0 =

Informações sobre o projeto

Orçamento
150 USD