2 independet strategies in one EA with MT5

MQL5 EA

작업 종료됨

실행 시간 35 일

명시

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.

응답함

1
개발자 1
등급
(253)
프로젝트
358
49%
중재
24
25% / 50%
기한 초과
80
22%
무료
2
개발자 2
등급
(620)
프로젝트
680
57%
중재
25
16% / 60%
기한 초과
228
34%
무료
3
개발자 3
등급
(589)
프로젝트
1070
50%
중재
39
28% / 41%
기한 초과
49
5%
무료
게재됨: 1 기고글, 8 코드
4
개발자 4
등급
(3)
프로젝트
8
13%
중재
10
10% / 70%
기한 초과
2
25%
무료
5
개발자 5
등급
(44)
프로젝트
100
39%
중재
17
29% / 47%
기한 초과
32
32%
무료
6
개발자 6
등급
(46)
프로젝트
73
16%
중재
13
8% / 92%
기한 초과
37
51%
무료
7
개발자 7
등급
(145)
프로젝트
169
50%
중재
22
14% / 55%
기한 초과
22
13%
무료
8
개발자 8
등급
(16)
프로젝트
24
42%
중재
2
50% / 50%
기한 초과
10
42%
무료
9
개발자 9
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
10
개발자 10
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
게재됨: 349 기고글, 1 코드
비슷한 주문
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 =
Hello, I’d like to develop an AI-powered analysis dashboard for , with a clear, easy-to-use design that works on mobile and web, or on the platform we agree on. I’d like it to include: Main dashboard: Show the market status, the latest data update, and the current signal, if available, including direction, entry price, stop loss, targets, and risk-to-reward ratio. AI signal explanations: Explain in clear language why
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is

프로젝트 정보

예산
150 USD