TREND HEDGE SYSTEM

MQL4 Experts Libraries

Specification

TREND HEDGE SYSTEM

1.       The first goal is to determine the MAJOR TREND and enter a position in its direction the moment ALL conditions are met. To explain the system, lets assume the major trend is BUY

2.       The next goal is to scale in more entries if price moves against the initial position by a specified number of pips, say 30pips. The lot size of new positions are the same as the initial position.

3.       If price keeps moving against the major trend and the conditions for a MINOR TREND is met, a HEDGE position double the total number of major trend trend positions is initiated. For example if we already had a total of 0.5 lots size buying with the major trend, a sell position with 1.0 lot size will be initiated in the direction of the minor trend.

4.       If price moves say an additional 30pips (as we have already chosen above)from the entry of the hedge position, the sell position,  and the exit condition for the minor trend/hedge  has not been met, a new position of 0.5 lots size is initiated(total lots size of major trend). We’ll therefore have a total of 1.5 lots size sell positions and 0.5lots buy position. More 0.5 lot size sell positions will be initiated as price keeps moving 30pips in the direction of the minor trend/ hedge provided exit conditions for the minor trend has not been met.

5.       When ALL the conditions required to close the HEDGE POSITIONS is achieved, all positions are closed(major and minor trends)

6.       If after closing all trades and the 4hr swing low on the wave from where we determined the major trend has not been violated, the major trend is still ACTIVE.

7.       A buy position will be initiated when RE-ENTRY MAJOR TREND CONDITION is achieved.

8.       A new hedge position will be initiated if the need arises and the cycle continues.

9.       If after closing all trades and the 4hr swing low on the wave where we determined the major trend has been violated, it means the major trend ceases to be a major trend. It will now be called the MINOR TREND.

10.   Following the above scenario of this example, RE-ENTRY MAJOR TREND CONDITIONS when achieved will cause a SELL position to be taken.

11.   A hedge position(buy)  will be initiated if the need arises and the cycle continues.

 

MAJOR TREND

Bullish Entry Conditions

RSI on H4 must be above 50

MACD histogram must be above its signal line on H1

Candle must have closed above downtrend line on H1

Exit Condition

Close when Stochastic and its signal line intercept above the 80 level ( or when their values are the same)

 

 

Bearish Entry conditions

RSI on H4 must be below 50

MACD histogram must be below its signal line on H1

Candle must have closed below uptrend line on H1

Exit Condition

Close when Stochastic and its signal line intersect below the 20 level ( or when their values are the same)

 

MINOR TREND

Bullish Entry Conditions

MACD histogram must be above its signal line on H1

Candle must have closed above downtrend line on H1

Exit Condition

Close when RSI on H4 falls below 50

Bearish Entry Conditions

MACD histogram must be below its signal line on H1

Candle must have closed below uptrend line on H1

Exit Condition

Close when RSI on H4 moves above 50

HEDGE MAJOR BULLISH TREND WHEN

Macd histogram is below its signal line and histogram is below the zero line on H1

RSI is below 50 on H4

HEDGE MAJOR BEARISH TREND WHEN

Macd histogram is above its signal line and histogram is above the zero line on H1

RSI is above 50 on H4

HEDGE MINOR BEARISH TREND WHEN

Macd histogram is above its signal line on H1

RSI is above 50 on H4

Candle close above down trendline on H1

HEDGE MINOR BULLISH TREND WHEN

Macd histogram is below its signal line on H1

RSI is below 50 on H4

Candle close below uptrendline on H1

 

NOTE:

1.       Stochastic intersection is NOT THE CROSSOVER. Once the two lines touch and they are both above or below the 80 or 20 line, action should be taken

2.       There should be visual representation of the different trends when attached to a chart so that we can easily follow up .

E.g Major trend : Bullish, Minor trend :bearish.

 

3.       The trendlines are key to the success of this system.

 

Files:

Responded

1
Developer 1
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
2
Developer 2
Rating
(258)
Projects
396
28%
Arbitration
70
19% / 49%
Overdue
121
31%
Free
3
Developer 3
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
4
Developer 4
Rating
(89)
Projects
137
24%
Arbitration
35
9% / 40%
Overdue
52
38%
Free
5
Developer 5
Rating
(91)
Projects
144
38%
Arbitration
67
15% / 48%
Overdue
55
38%
Free
6
Developer 6
Rating
(2)
Projects
2
0%
Arbitration
13
8% / 92%
Overdue
1
50%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
9
Developer 9
Rating
(1)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
Published: 6 codes
Similar orders
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Hello, I would like to create a trading robot based on the Moving Average indicator. Here are the technical specifications: 1. Indicator Settings: - Moving Average Period: 50 (Exponential - EMA). - Applied to: Close price. 2. Buy Signal (Long): - Enter a Buy order when the price crosses and closes above the 50 EMA. 3. Sell Signal (Short): - Enter a Sell order when the price crosses and closes below the 50 EMA. 4
Hello, I am looking for an MQL5 developer to create a simple custom Expert Advisor for MetaTrader 5 based on my manual trading strategy. Strategy requirements: Instrument: NASDAQ index (broker-dependent symbol, e.g. NAS100 or USTEC). Timeframe: M1 (1-minute chart). Trading session: 16:00–21:00 Slovenia local time, with daylight saving time handled correctly. Strategy: Bull Coach / Bear Coach price-action setup based
buy stop sell stop with multiple orders send trail file and performance chart to test.....Backtesting results and verified trading history, source code availability. Existing bots are welcome...fully automatic.. no martingale. note- i need expiry and account number in source code... fixed budget...don't bargain please...read well then confirm job please
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello. I have some custom chartbooks/studies that run on ACSIL C++ in Sierra Charts trading platform. I need them put into pinescript to be able to be used in trading view and look similar to the charts we are giving you. also need it to be able to work on ninja trader NinjaScript (C#)/java, and MQL4 and MQL5 for metatrader 4 and 5. You would have to assist with testing. Let me know if you can help with this task
Hello I want some that can help with my strategy signal I have the video that you are going to watch if you know you can help me with kindly do well to bid and let discussed it an urgent project and also if you can not work before you get paid please don bid thanks

Project information

Budget
10 - 50 USD
Deadline
from 1 to 4 day(s)