Trend line pullback indicator

仕事が完了した

実行時間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%
仕事中
類似した注文
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
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need a custom technical indicator that generates an equidistant channel with two specific structural features: 1. Vertical Multi-Intervals: The ability to plot more than 5 parallel, able to allow me to put intervals 2. Horizontal Angle Input: The ability to manually input geometric angle to strictly define the horizontal slope of the channel or allow me to pick two points manually. i am looking for something like
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
I'm looking for an experienced NinjaTrader 8 (C#) developer to build a fully automated futures trading strategy. Please apply only if you have proven experience developing and testing NinjaTrader strategies. Project Overview Develop a fully automated NinjaTrader 8 strategy. Designed for Apex funded and evaluation accounts. Primary instruments: NQ/MNQ Futures (with flexibility to support other futures later). Trading

プロジェクト情報

予算
10 - 30 USD
締め切り
最低 1 最高 4 日