Trend line pullback indicator

MQL4 Indicators Experts

Job finished

Execution time 5 days
Feedback from customer
great work , very professional .
Feedback from employee
great customer, he guide your works very good.

Specification

 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 

Responded

1
Developer 1
Rating
Projects
1
100%
Arbitration
1
0% / 100%
Overdue
1
100%
Free
2
Developer 2
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Working
Similar orders
Sira 30+ USD
I want 90% accuracy fast and reliable indicate signals able to read risk and profit to keep a good trade notify when trade is going down or when it will be a loss
Hello! I am searching skilled CTRADE programmer to fix my Expert Advisor. Details will be showed for selected programmer. I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from
preciso de um programa paracido com o CAP channel com botao de refresh e opcaos de alterar o periodo. utilizava um muito bom, mas o vendedor acredito ter sido excluido da comunidade, sumiu. e o que tinha parou de funcionar
Hello I need a Person who write for me a EA on MT5 on renko charts, refreshed time 10s (optionally other timeframes 5s, 15s, 30s, 1min etc). EA will base on The bollinger band modified indicator, the source code is from Tradingwiev. I will share it. Rules: EA will open positions when price close above/under some band from indicator, always on closed brick (EA must wait to close timeframe, SL or Trailing stop will
Krushan 30+ USD
#property copyright "Krishh yadav" #property link "https://krishhautomationfx.in" #property version "1.07" #property strict #include <Trade\Trade.mqh> #include <Trade\AccountInfo.mqh> #include <Trade/PositionInfo.mqh> CTrade trade; CPositionInfo posinfo; CPositionInfo pos; enum LotMode { FixedLot = 0, RiskLot = 1, EquityLot = 2, }; enum ENUM_HOUR { h00=0, h01=1, h02=2, h03=3, h04=4, h05=5, h06=6, h07=7
I want to convert an MT4 Fractal Breakout EA to MT5. This EA places pending stop order to capture the fractal breakout and trail it. No complex indicator or rules. Enable only Buy or Only Sell or Both Buy Sell option in any indices. MT4 backtest should match Mt5 to some extent
Hello! Is there any person who can teach me Forex. I prefer high time frame strategies Like H4, D1, but I am open for your propositions. Have a nice day
SNIPER X AI 30 - 200 USD
I really need a developer Who can help me to create my SNIPER X AI - Elite AI Trading System Overview SNIPER X AI BOT is an AI-assisted trading system for Forex, Crypto, Stocks, Indices, and Gold. Currency: USD,RAND,KWD, POUND,EURO Core Features AI Scalping, Sniper Entries, Auto Buy/Sell, Smart Risk Management, Telegram Alerts, Mobile Monitoring, VPS Deployment. Supported Platforms MetaTrader 4, MetaTrader 5, Exness
I am looking for a professional developer to create an automated trading bot for Synthetic Derivative Indices. The bot should be designed for efficiency, precision, and stability, with the ability to execute trades automatically based on predefined strategies and market conditions. and synthetic indices trading is essential for this project
Existing EA needed Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesnt have to be super profitable but will need to have the number of trades on going in order to earn IB commission. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it

Project information

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