An Expert Advisor based on MACD AND MAE

Specification

Trading Bot Strategy Overview:

 

I want to build a STRICT trading bot that operates according to specific rules. The bot will use two indicators – MACD and MA – combined with PRICE ACTON STRATEGY to determine when to enter and exit the market. IN TRADING VIEW.

Indicators Used:

  1. MACD:
    • Fast Length: 12
    • Slow Length: 26
    • Source: Close
    • Signal Smoothing: 9
  2. MA (Moving Average):
    • Length: 100
    • Source: Close
    • Offset: 0

Entry and Exit Signals:

  • Buy Signal:
    • MACD line crosses below the zero line.
    • Current price is above the 100-day moving average.
    • Confirm bullish divergence: Price makes lower lows, but MACD makes higher lows.
    • Additional confirmation: Look for candlestick patterns or breakouts.
  • Sell Signal:
    • MACD line crosses above the zero line.
    • Current price is below the 100-day moving average.
    • Confirm bearish divergence: Price makes higher highs, but MACD makes lower highs.
    • Additional confirmation: Look for candlestick patterns or breakouts.

Risk Management:

  • Risk-Reward Ratio: 1:5
  • Set stop-loss to limit potential losses.
  • Set take-profit level to secure profits.

Divergence Analysis:

  • Bullish Divergence (Buy Signal): Lower lows in price, higher lows in MACD.
  • Bearish Divergence (Sell Signal): Higher highs in price, lower highs in MACD.

Timeframe Considerations:

  • Higher Timeframes: Daily (1D) and Weekly (1W) for divergence signals.
  • Lower Timeframes: 15 minutes (15M) and 1 hour (1H) for intraday analysis.
  • Check for divergence signals on multiple timeframes for a broader view.

Sideways Market Strategy:

  1. Identify Key Support and Resistance Levels.
  2. Use MACD for Momentum Confirmation within the range.
  3. Wait for Price Action Signals near support/resistance.
  4. Confirm with Volume Analysis.
  5. Implement Range-Bound Strategies.
  6. Use Multiple Timeframes for a comprehensive view.

General Considerations:

  • Avoid trading in sideways markets.
  • Do not trade based on false signals generated by MACD.
  • Wait for confirmation from other indicators and price action.

This strategy incorporates a mix of trend-following elements (MACD and MA) and price action analysis. It also addresses different market conditions, including ranging or sideways market.


Responded

1
Developer 1
Rating
(2676)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
2
Developer 2
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
3
Developer 3
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
4
Developer 4
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(398)
Projects
515
23%
Arbitration
60
57% / 25%
Overdue
60
12%
Working
6
Developer 6
Rating
(37)
Projects
59
27%
Arbitration
26
19% / 54%
Overdue
10
17%
Working
Published: 1 code
7
Developer 7
Rating
(455)
Projects
721
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
8
Developer 8
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
9
Developer 9
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
10
Developer 10
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
11
Developer 11
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
Overdue
8
6%
Free
12
Developer 12
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(152)
Projects
228
80%
Arbitration
22
27% / 50%
Overdue
11
5%
Free
Published: 24 articles, 1882 codes
14
Developer 14
Rating
(19)
Projects
33
55%
Arbitration
5
80% / 20%
Overdue
3
9%
Free
15
Developer 15
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
16
Developer 16
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
17
Developer 17
Rating
(70)
Projects
91
25%
Arbitration
26
19% / 54%
Overdue
25
27%
Free
Similar orders
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
Investor Account (Read-Only Access) ‎ ‎📌 Platform: MT5 ‎📌 Broker: Fusion Markets Pty Ltd ‎📌 Server: Fusion Markets Demo ‎📌 Login: 422204 ‎📌 Investor Password: Gen@2026 please check this demo account, which strategy added here and understand how to work this robot. i need this kind trading robot. only expert developer needed. no need apply new developer. I will test robot in demo account, when we see bot
Poverty 30+ USD
Develop the EA according to my provided trading strategy and rules. The EA must open and close trades automatically according to the specified conditions. Include configurable Stop Loss, Take Profit, lot size and risk-management settings. Include an option for fixed lot size or percentage-based risk. Include Magic Number and trade-comment settings. The EA must work correctly on the requested MT4/MT5 platform and
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also

Project information

Budget
50+ USD
Deadline
from 10 to 20 day(s)