Trend line pullback indicator

MQL4 指标 专家

工作已完成

执行时间5 天
客户反馈
great work , very professional .
员工反馈
great customer, he guide your works very good.

指定

 Can should should show lines and arrows when conditions meet .

The goal of the Trend Line Theory strategy is to find out if a breakout is valid by evaluating:


a)    The trend
b)    The number of pullback - swings
c)    The relative swing length
d)    The swing retracement percentage


To do that, let’s see how we can use trendlines to target the end of a retracement and enter in the direction of the larger trend.


The basic logic in price action analysis is that the stronger a move is the more likely the price will continue to move in that direction.


The same holds true of pullbacks during a trend.


The stronger a pullback is the more likely it is that it will turn into a full blown reversal at the end. And, conversely, the weaker a pullback is the more likely it will be just a retracement and the more likely that the original trend will resume.


And this is where John Hill’s Trend Line Theory will help us, namely in determining the strength or weakness of a pullback.


Note that in order to use this strategy there needs to be what John calls a complex pullback, which is just a pullback with at least 3 swings in it.


In essence, the strategy consists of drawing two trendlines and then analyzing how they interact with each other and with price.
Those 2 trendlines are the 0-2 and the 0-4 line, as John calls them.


•    Point 0 is always the starting point of the pullback. So, that would be the high in an uptrend and the low in a downtrend.
•    Point 1 is the ending point of the first swing inside of the pullback.
•    Point 2 is the ending point of the second swing inside of the pullback.
•    Point 3 is the ending point of the third swing inside of the pullback.
•    Point 4 is the ending point of the fourth swing inside of the pullback.


Now, to get the 0-2 and 0-4 line all we need to do is connect the respective points inside of the pullback. It doesn’t matter which swing point is higher or lower, just connect the 0-2 and the 0-4 points.


So, after drawing the two lines we can get a sense of the strength of the pullback by analyzing the trendlines.


If line 0-4 is steeper then the pullback has momentum and may turn into a complete reversal of the larger trend. Don’t enter on the breakout of line 0-4.


If line 0-2 is steeper then the pullback is weak and the larger trend is more likely to resume. Enter on the breakout of the 0-4 line in the direction of the larger trend.


Let’s look at a few examples so that you can better understand this strategy. First an example of the trendline theory in a downtrend on the EUR/USD pair.


To determine the trend on this chart, we are using a 50-period simple moving average represented with the blue line. The price is clearly below of the MA for most of the time and the MA is sloping down indicating strength of the larger trend.

 

•    The start of the pullback is the swing low of the initial down move on the left and it’s marked with the number 0 on the chart.
•    In line with John Hill’s trend line theory, the first swing high inside of the pullback is marked with number 1 on the chart
•    The first swing low inside of the pullback is marked with number 2 on the chart
•    The second swing high inside of the pullback is marked with number 3 on the chart
•    The second swing low inside of the pullback is marked with number 4 on the chart

 trend line

 

trend line 

反馈

1
开发者 1
等级
项目
1
100%
仲裁
1
0% / 100%
逾期
1
100%
空闲
2
开发者 2
等级
(258)
项目
396
28%
仲裁
69
19% / 49%
逾期
121
31%
工作中
相似订单
Looking for an MQL5 developer for ongoing work EAs + TradingView indicators (Gold, Silver, BTCUSD) Hey, I'm a trading content creator/influencer with an active community, and I need EAs I can offer to my audience. Not a one off gig looking to build a long-term working relationship with someone who's actually solid at this. What I need: Automated trading EAs (scalp or intraday style) for Gold, Silver, and BTCUSD
I'm a ninja trader day trader and I have worked with a company called Legendary Trader and use their indicated and automated strategies to trade. I rencenly have been playing with a free indicator I was able to download that uses CCI & ATR calculations to define the market being in an up or down trend. I have found in reviewing historical data that taking a trade when the signal flips from bull to bear sentiment or
Hi, do you have a proven EA for MT5, suitable for live accounts and prop firms, including the Brazilian market? I’m looking for ready, tested EAs. Can you send a backtest or demo? Please if you do have and can send me nacktest or demo you should Message me
need an EA or indicator done , based on any strategy but with the following specific risk management parameters ; were i am able to do at least 2RR(standard reward-risk ratio for every trade) , fair win rate that is at leat 50% , EA should be able to generate at least 2 trades and above per week , favourable sharpe ratio . total drawdown of not more than 8% any given month and not over 3% any given day , would
Mamba EA Scalper 30 - 40 USD
Hi, i need a aggressive mobile trading bot which supports both IOS and Android versions, the bot will use stochastic oscillator indicator %K period:15 , while % D period:9 and slowing :9 ,price field should be Low/High while it's method should be simple , Levels: 20,80 and time frames: all . The styles should have a main line which should be green and signal line which should be red . The bot should be able to trade
a one min scalper which will scalp on a one minute timeframe and can trade a low account to a big one and is more effective in mt4 and mt5 for a very short period of time yeah
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding

项目信息

预算
10 - 30 USD
截止日期
 1  4 天